Files
acrn-hypervisor/hypervisor/arch/x86
Qi Yadong 7430074a12 trusty: initialize tsc_offset to zero
Per trusty design, trusty requires a monotonic increasing
secure tick(TSC) at run time. This secure tick will used
to mitigate password/pin force attack, control key expiration,
etc.

Currently, the TSC_OFFSET is enabled. And guest will got
(host_tsc + tsc_offset) when execute rdtsc/rdtscp/rdmsr to
aquire tsc value. The host_tsc is always keeping increasing
during the runtime.

So initialize tsc_offset of trusty to 0 will ensure the
secure tick feature.

Signed-off-by: Qi Yadong <yadong.qi@intel.com>
Acked-by: Eddie Dong <eddie.dong@intel.com>
2018-05-15 17:25:25 +08:00
..
2018-05-15 17:25:25 +08:00
2018-05-11 14:44:28 +08:00
2018-05-15 17:25:25 +08:00
2018-05-15 17:25:25 +08:00
2018-05-11 14:44:28 +08:00
2018-05-11 14:44:28 +08:00
2018-05-15 17:25:25 +08:00
2018-05-15 17:19:39 +08:00
2018-05-11 14:44:28 +08:00
2018-05-15 17:25:25 +08:00
2018-05-11 14:44:28 +08:00
2018-05-11 14:44:28 +08:00
2018-05-15 17:19:38 +08:00
2018-05-15 17:25:25 +08:00
2018-05-15 17:25:25 +08:00
2018-05-15 17:25:25 +08:00