acrn-hypervisor/hypervisor/arch/x86/guest
Binbin Wu f95d07dc43 hv: vtd: use EPT as translation table for PTDev in SOS
In current code, the address translation type for passthrough devices
in SOS is passthrough type, which means the device in SOS can access
the whole physcial memory.
This patch uses SOS EPT to translate address for passthrough
devices. So that the memory of VMM or trusty can be protected from
SOS PTDev.

Signed-off-by: Binbin Wu <binbin.wu@intel.com>
Reviewed-by: Li, Fei1 <fei1.li@intel.com>
Acked-by: Eddie Dong <eddie.dong@intel.com>
2018-08-23 11:46:57 +08:00
..
guest.c hv: ept: refine ept_mr_add base on mmu_add 2018-08-23 11:10:26 +08:00
instr_emul.c hv: add gva check for the case gva is from instruction decode 2018-08-23 11:13:48 +08:00
instr_emul.h HV: instr_emul: Remove dead code 2018-08-07 12:09:22 +08:00
mptable.c hv: fix size issue in mptable guest copy - ACRN partition mode 2018-08-17 10:06:38 +08:00
pm.c HV: Logical conjunction needs brackets under /arch/x86/guest 2018-08-14 09:53:32 +08:00
ucode.c hv: get correct fault address for copy_to/from_gva 2018-08-09 14:46:13 +08:00
vcpu.c hv:Changed several APIs to void type 2018-08-23 08:54:54 +08:00
vlapic_priv.h HV: remove callbacks registration for APICv functions 2018-08-23 11:11:21 +08:00
vlapic.c HV: remove callbacks registration for APICv functions 2018-08-23 11:11:21 +08:00
vm.c hv: vtd: use EPT as translation table for PTDev in SOS 2018-08-23 11:46:57 +08:00
vmcall.c hv: add a hypercall for the hypervisor NPK log 2018-08-23 11:09:25 +08:00
vmsr.c hv: code clean up regarding to % and / operations 2018-08-22 15:37:53 +08:00