acrn-hypervisor/hypervisor/include
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
..
arch/x86 hv: Add split-lock emulation for xchg 2020-12-31 11:12:33 +08:00
common hv: rename hypercall for hv-emulated device management 2020-12-07 16:25:17 +08:00
debug hv: debug: Enable MMIO UART support 2020-08-27 13:31:17 +08:00
dm HV: pci-vuart support create vdev hcall 2020-10-30 20:41:34 +08:00
hw HV: pci-vuart: pci based vuart emulation 2020-10-30 20:41:34 +08:00
lib hv: add functions to initialize vmsix capability 2020-10-26 08:44:13 +08:00
public hv: rename hypercall for hv-emulated device management 2020-12-07 16:25:17 +08:00