acrn-hypervisor/arch/x86
Qi Yadong 4c8c7cc8d1 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-04-09 12:37:02 +08:00
..
guest HV: trap and validate px request 2018-04-08 16:54:42 +08:00
assign.c ptdev: fix ptdev_hv_owned_intx under release version 2018-03-28 16:05:51 +08:00
cpu_primary.S UEFI: change the efi_ctx passing method 2018-03-30 19:48:46 +08:00
cpu_secondary.S initial import 2018-03-07 21:05:38 +08:00
cpu_state_tbl.c HV: add px data of bxt j3455 SOC 2018-04-08 16:54:42 +08:00
cpu.c HV: load cpu px data in boot 2018-04-08 16:54:42 +08:00
cpuid.c hv: pass-through xsave feature to guests 2018-04-03 17:50:27 +08:00
ept.c ept: change eptp to PA 2018-04-09 12:36:09 +08:00
gdt.c initial import 2018-03-07 21:05:38 +08:00
idt.S initial import 2018-03-07 21:05:38 +08:00
interrupt.c mmu: refine functions for invept 2018-04-08 16:50:02 +08:00
intr_lapic.c hv: lapic: export write_lapic_reg32 2018-03-28 10:46:32 +08:00
intr_main.c uefi: init vlapic according to native lapic 2018-03-21 12:14:01 +08:00
io.c io: remove pio emulation restriction 2018-03-29 14:54:23 +08:00
ioapic.c initial import 2018-03-07 21:05:38 +08:00
irq.c uefi: remove old interrupt injection method 2018-03-21 12:14:01 +08:00
mmu.c ept: change eptp to PA 2018-04-09 12:36:09 +08:00
notify.c initial import 2018-03-07 21:05:38 +08:00
retpoline-thunk.S retpoline: add indirect thunk support 2018-03-15 16:25:53 +08:00
softirq.c initial import 2018-03-07 21:05:38 +08:00
timer.c hv: lapic: export write_lapic_reg32 2018-03-28 10:46:32 +08:00
trusty.c trusty: initialize tsc_offset to zero 2018-04-09 12:37:02 +08:00
vmexit.c hv: pass-through xsave feature to guests 2018-04-03 17:50:27 +08:00
vmx_asm.S Jmp to vm_exit directly to avoid calling vmlaunch again if vm-entry fails in vmresume 2018-03-20 14:36:41 +08:00
vmx.c ept: change eptp to PA 2018-04-09 12:36:09 +08:00
vtd.c ept: change eptp to PA 2018-04-09 12:36:09 +08:00