acrn-hypervisor/hypervisor/include/arch/x86
Jie Deng 977e862192 hv: Add split-lock emulation for xchg
xchg may also cause the #AC for split-lock check.
This patch adds this emulation.

 1. Kick other vcpus of the guest to stop execution
    if the guest has more than one vcpu.

 2. Emulate the xchg instruction.

 3. Notify other vcpus (if any) to restart execution.

Tracked-On: #5605
Signed-off-by: Jie Deng <jie.deng@intel.com>
Acked-by: Eddie Dong <eddie.dong@intel.com>
2020-12-31 11:12:33 +08:00
..
boot hv: don't need to save boot context 2020-10-29 10:05:05 +08:00
guest hv: Add split-lock emulation for xchg 2020-12-31 11:12:33 +08:00
lib
apicreg.h
board.h acrn-config: code refactoring for CAT/MBA 2020-08-28 16:44:06 +08:00
cpu_caps.h hv: Add split-lock emulation for LOCK prefix instruction 2020-12-31 11:12:33 +08:00
cpu.h hv: check the availability of guest CR4 features 2020-12-18 11:21:22 +08:00
cpufeatures.h
cpuid.h hv: check the availability of guest CR4 features 2020-12-18 11:21:22 +08:00
default_acpi_info.h
e820.h
gdt.h
host_pm.h
idt.h hv: irq: minor refine about structure idt_64_descriptor 2020-04-26 10:48:49 +08:00
init.h
io.h remove dead code in io.h 2020-06-19 16:13:20 +08:00
ioapic.h
irq.h hv: Add split-lock emulation for LOCK prefix instruction 2020-12-31 11:12:33 +08:00
lapic.h HV: Fix MP Init sequence hang by adding a delay 2020-05-27 13:34:59 +08:00
mmu.h hv: mmu: rename hv_access_memory_region_update to ppt_clear_user_bit 2020-11-02 10:29:43 +08:00
msr.h hv: Disable XSAVE-managed CET state of guest VM 2020-07-23 20:15:57 +08:00
page.h HV: nuc7i7dnb example of new VM configuratons layout 2020-07-24 16:16:06 +08:00
pci_dev.h hv: pci: check whether a PCI device is host bridge or not by class 2020-06-03 22:00:43 +08:00
per_cpu.h hv: pm: support shutting down multiple VMs when pCPUs are shared 2020-11-04 10:33:31 +08:00
pgtable.h
platform_caps.h
ptcm.h hv: pSRAM: add PTCT parsing code 2020-11-02 10:29:43 +08:00
ptct.h hv: pSRAM: add PTCT parsing code 2020-11-02 10:29:43 +08:00
rdt.h HV: RDT: add CDP support in ACRN 2020-05-08 08:50:13 +08:00
security.h
seed.h HV: rename append_seed_arg to fill_seed_arg 2020-06-08 13:30:04 +08:00
sgx.h
timer.h
trampoline.h
vm_config.h HV: decouple legacy vuart interface from acrn_vuart layer 2020-10-30 20:41:34 +08:00
vmx.h hv: refine virtualization flow for cr0 and cr4 2020-12-18 11:21:22 +08:00
vtd.h hv: vtd: add an API to reserve continuous irtes 2020-06-16 08:52:56 +08:00
zeropage.h