Project ACRN hypervisor
Go to file
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
devicemodel DM: hotfix for loop initial declaration in acpi_pm 2018-05-15 17:25:25 +08:00
doc getting_started: update dependency for Fedora 27 2018-05-15 17:19:37 +08:00
hypervisor trusty: initialize tsc_offset to zero 2018-05-15 17:25:25 +08:00