acrn-hypervisor/hypervisor/include/arch/x86
Li, Fei1 84f4cf3c1d hv: vmx: add vpid support
Enable VMX vpid ctrl and assign an unique vpid to each vcpu
so that VMX transitions are not required to invalidate any
linear mappings or combined mappings.

SDM Vol 3 - 28.3.3.3
If EPT is in use, the logical processor associates all mappings
it creates with the value of bits 51:12 of current EPTP.
If a VMM uses different EPTP values for different guests, it may
use the same VPID for those guests. Doing so cannot result in one
guest using translations that pertain to the other.

In our UOS, the trusty world and normal world are using different
EPTP. So we can use the same VPID for it.

Signed-off-by: Li, Fei1 <fei1.li@intel.com>
Acked-by: Eddie Dong <eddie.dong@intel.com>
2018-06-04 17:11:15 +08:00
..
guest hv: vmx: add vpid support 2018-06-04 17:11:15 +08:00
apicreg.h lapic: continuous LVT registers as an array 2018-05-30 13:52:11 +08:00
assign.h license: Replace license text with SPDX tag 2018-06-01 10:43:06 +08:00
cpu.h exception: add vcpu_queue_exception function 2018-05-30 13:51:49 +08:00
cpufeatures.h license: Replace license text with SPDX tag 2018-06-01 10:43:06 +08:00
cpuid.h license: Replace license text with SPDX tag 2018-06-01 10:43:06 +08:00
gdt.h license: Replace license text with SPDX tag 2018-06-01 10:43:06 +08:00
hv_arch.h license: Replace license text with SPDX tag 2018-06-01 10:43:06 +08:00
idt.h license: Replace license text with SPDX tag 2018-06-01 10:43:06 +08:00
io.h license: Replace license text with SPDX tag 2018-06-01 10:43:06 +08:00
ioapic.h license: Replace license text with SPDX tag 2018-06-01 10:43:06 +08:00
irq.h license: Replace license text with SPDX tag 2018-06-01 10:43:06 +08:00
lapic.h license: Replace license text with SPDX tag 2018-06-01 10:43:06 +08:00
mmu.h hv: vmx: add vpid support 2018-06-04 17:11:15 +08:00
msr.h license: Replace license text with SPDX tag 2018-06-01 10:43:06 +08:00
multiboot.h license: Replace license text with SPDX tag 2018-06-01 10:43:06 +08:00
reboot.h hv: Add reboot shell command 2018-05-18 16:38:40 +08:00
softirq.h license: Replace license text with SPDX tag 2018-06-01 10:43:06 +08:00
timer.h license: Replace license text with SPDX tag 2018-06-01 10:43:06 +08:00
trusty.h fix "ISO C99 does not support '_Static_assert'" 2018-06-01 16:39:28 +08:00
vmexit.h license: Replace license text with SPDX tag 2018-06-01 10:43:06 +08:00
vmx.h hv: vmx: add vpid support 2018-06-04 17:11:15 +08:00
vtd.h license: Replace license text with SPDX tag 2018-06-01 10:43:06 +08:00
zeropage.h license: Replace license text with SPDX tag 2018-06-01 10:43:06 +08:00