acrn-hypervisor/hypervisor/arch/x86
Zide Chen eed7309472 hv: update EPT when guests change MTRRs
MTRRs have no effect on the memory type used for an access to GPA.
This patch updates the EPT MT field according to the memory type
selected by MTRRs, which combines with the PAT, PCD and PWT bits
from the guest paging structures to determine the effective memory type

Signed-off-by: bliu11 <baohong.liu@intel.com>
Signed-off-by: Zide Chen <zide.chen@intel.com>
Reviewed-by: Jason Chen CJ <jason.cj.chen@intel.com>
Acked-by: Eddie Dong <eddie.dong@intel.com>
2018-06-08 12:06:15 +08:00
..
debug HV: further cleanup of header inclusions 2018-05-25 10:45:56 +08:00
guest hv: add API to get the vcpu mapped to specific pcpu. 2018-06-07 15:36:46 +08:00
assign.c license: Replace license text with SPDX tag 2018-06-01 10:43:06 +08:00
cpu_primary.S license: Replace license text with SPDX tag 2018-06-01 10:43:06 +08:00
cpu_secondary.S license: Replace license text with SPDX tag 2018-06-01 10:43:06 +08:00
cpu_state_tbl.c license: Replace license text with SPDX tag 2018-06-01 10:43:06 +08:00
cpu.c hv: prepare for down/up APs dynamically. 2018-06-07 15:36:46 +08:00
cpuid.c license: Replace license text with SPDX tag 2018-06-01 10:43:06 +08:00
ept.c hv: add APIs to allow updating EPT mem type 2018-06-08 12:06:15 +08:00
gdt.c HV:treewide:C99-friendly per_cpu implementation change the per_cpu method 2018-06-05 17:09:00 +08:00
idt.S license: Replace license text with SPDX tag 2018-06-01 10:43:06 +08:00
interrupt.c hv: vmx: add vpid support 2018-06-04 17:11:15 +08:00
intr_lapic.c license: Replace license text with SPDX tag 2018-06-01 10:43:06 +08:00
intr_main.c license: Replace license text with SPDX tag 2018-06-01 10:43:06 +08:00
io.c license: Replace license text with SPDX tag 2018-06-01 10:43:06 +08:00
ioapic.c license: Replace license text with SPDX tag 2018-06-01 10:43:06 +08:00
irq.c HV:treewide:C99-friendly per_cpu implementation change the per_cpu method 2018-06-05 17:09:00 +08:00
mmu.c hv: add APIs to allow updating EPT mem type 2018-06-08 12:06:15 +08:00
mtrr.c hv: update EPT when guests change MTRRs 2018-06-08 12:06:15 +08:00
notify.c license: Replace license text with SPDX tag 2018-06-01 10:43:06 +08:00
retpoline-thunk.S license: Replace license text with SPDX tag 2018-06-01 10:43:06 +08:00
softirq.c HV:treewide:C99-friendly per_cpu implementation change the per_cpu method 2018-06-05 17:09:00 +08:00
timer.c HV:treewide:C99-friendly per_cpu implementation change the per_cpu method 2018-06-05 17:09:00 +08:00
trusty.c trusty: invept should go through all vcpus 2018-06-07 12:28:18 +08:00
vmexit.c vm: remove current_vcpu from vm structure 2018-06-07 12:28:18 +08:00
vmx_asm.S license: Replace license text with SPDX tag 2018-06-01 10:43:06 +08:00
vmx.c hv: use vmx_write_cr<#> to init control register of uefi platform 2018-06-08 12:05:02 +08:00
vtd.c license: Replace license text with SPDX tag 2018-06-01 10:43:06 +08:00