acrn-hypervisor/hypervisor/include
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
..
arch/x86 hv: vmx: add vpid support 2018-06-04 17:11:15 +08:00
common license: Replace license text with SPDX tag 2018-06-01 10:43:06 +08:00
debug license: Replace license text with SPDX tag 2018-06-01 10:43:06 +08:00
lib license: Replace license text with SPDX tag 2018-06-01 10:43:06 +08:00
public license: Replace license text with SPDX tag 2018-06-01 10:43:06 +08:00
hv_debug.h license: Replace license text with SPDX tag 2018-06-01 10:43:06 +08:00
hv_lib.h license: Replace license text with SPDX tag 2018-06-01 10:43:06 +08:00
hypervisor.h license: Replace license text with SPDX tag 2018-06-01 10:43:06 +08:00