acrn-hypervisor/hypervisor/arch/x86
Shuo A Liu 112f02851c hv: Disable XSAVE-managed CET state of guest VM
To hide CET feature from guest VM completely, the MSR IA32_MSR_XSS also
need to be intercepted because it comprises CET_U and CET_S feature bits
of xsave/xstors operations. Mask these two bits in IA32_MSR_XSS writing.

With IA32_MSR_XSS interception, member 'xss' of 'struct ext_context' can
be removed because it is duplicated with the MSR store array
'vcpu->arch.guest_msrs[]'.

Tracked-On: #5074
Signed-off-by: Shuo A Liu <shuo.a.liu@intel.com>
Reviewed-by: Jason Chen CJ <jason.cj.chen@intel.com>
2020-07-23 20:15:57 +08:00
..
boot Revert "hv: Let trampoline execution use 1GB pages" 2020-06-15 15:16:34 +08:00
configs hv: vapci: add tpm2 support for pre-launched vm 2020-07-23 20:13:20 +08:00
guest hv: Disable XSAVE-managed CET state of guest VM 2020-07-23 20:15:57 +08:00
lib HV: rewrite memcpy_s to be iso c11 compliant 2020-06-08 13:30:04 +08:00
seed HV: rename append_seed_arg to fill_seed_arg 2020-06-08 13:30:04 +08:00
Kconfig kconfig: extend the max msix table number to 64 2020-07-10 19:39:11 +08:00
cpu.c HV: Fix split-locked access detection is disabled by default 2020-06-19 09:22:58 +08:00
cpu_caps.c hv: fix possible SSE region mismatch issue 2020-07-22 14:19:21 +08:00
cpu_state_tbl.c HV: add board specific cpu state table to support Px Cx 2019-07-29 20:25:16 +08:00
e820.c hv: Reserve space for VMs' EPT 4k pages after boot 2020-04-01 21:13:37 +08:00
gdt.c
idt.S HV: Install a NMI handler in acrn IDT 2019-12-13 10:13:09 +08:00
init.c HV: split sanitize_multiboot_info api 2020-06-08 13:30:04 +08:00
ioapic.c hv:unify spin_lock initialization 2020-07-02 09:40:29 +08:00
irq.c cleanup spin lock in irq.c 2020-06-19 16:13:20 +08:00
lapic.c hv: use SELF IPI Register for self IPI in X2APIC mode 2020-06-28 10:33:22 +08:00
mmu.c hv: Hypervisor access to PCI devices with 64-bit MMIO BARs 2020-04-13 16:52:18 +08:00
notify.c hv: maintain a per-pCPU array of vCPUs and handle posted interrupt IRQs 2020-04-15 13:47:22 +08:00
page.c hv: mmu: release 1GB cpu side support constrain 2020-06-15 15:16:34 +08:00
pagetable.c hv: mmu: release 1GB cpu side support constrain 2020-06-15 15:16:34 +08:00
platform_caps.c hv: add function to check if using posted interrupt is possible for vm 2020-04-15 13:47:22 +08:00
pm.c pm: S5: update the system shutdown logical in ACRN 2019-12-23 15:15:09 +08:00
rdt.c HV: RDT: add CDP support in ACRN 2020-05-08 08:50:13 +08:00
sched.S hv: sched: rename schedule related structs and vars 2019-10-16 10:25:53 +08:00
security.c hv: config: add an option to disable mce on psc workaround 2019-12-03 09:17:04 +08:00
sgx.c hv: sgx: add basic support to init sgx resource for vm 2019-05-29 11:24:13 +08:00
timer.c hv: list: rename list_entry to container_of 2020-03-31 10:57:47 +08:00
trampoline.c Revert "hv: Let trampoline execution use 1GB pages" 2020-06-15 15:16:34 +08:00
vmx.c hv:fix "no prototype for non-static function" 2019-07-09 10:36:03 +08:00
vtd.c cleanup spin lock in vtd.c 2020-06-19 16:13:20 +08:00
wakeup.S hv: pm: correct the function name 2019-09-11 17:30:24 +08:00