acrn-hypervisor/hypervisor/arch/x86
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
..
configs
guest hv: vtd: use EPT as translation table for PTDev in SOS 2018-08-23 11:46:57 +08:00
assign.c hv: ptdev: simplify struct ptdev_msi_info 2018-08-23 11:10:04 +08:00
cpu_primary.S hv: init: save boot context from bootloader/bios 2018-08-09 16:43:58 +08:00
cpu_save_boot_ctx.S hv: move boot_ctx offset definitions 2018-08-14 13:05:06 +08:00
cpu_state_tbl.c HV: Add const qualifiers where required 2018-08-17 10:02:12 +08:00
cpu.c hv: apicv: change the name of vapic to apicv 2018-08-23 08:55:30 +08:00
cpuid.c hv: vcpuid: disable some features in cpuid 2018-08-23 08:54:27 +08:00
ept.c hv: ept: refine ept_mr_add base on mmu_add 2018-08-23 11:10:26 +08:00
gdt.c HV:treewide:fix value outside range of underlying type 2018-08-06 16:07:41 +08:00
idt.S hv: Interrupt handling in ACRN partition mode 2018-08-10 10:26:00 +08:00
io.c hv: Build fix for Partition mode 2018-08-16 09:43:34 +08:00
ioapic.c hv: pirq: change the order of functions within irq.c 2018-08-17 14:25:52 +08:00
irq.c hv: pirq: use a bitmap to maintain irq use status 2018-08-22 12:52:43 +08:00
Kconfig hv: debug: add the hypervisor NPK log 2018-08-23 11:09:25 +08:00
lapic.c hv:fixed MISRA-C return value violations 2018-08-21 09:54:45 +08:00
mmu.c hv: mmu: remove old map_mem 2018-08-23 11:10:26 +08:00
mtrr.c hv:cleanup vmid related code 2018-08-06 12:27:53 +08:00
notify.c hv:Changed several APIs to void type 2018-08-23 08:54:54 +08:00
pagetable.c hv: ept: refine ept_mr_add base on mmu_add 2018-08-23 11:10:26 +08:00
pm.c pm: use cpu_context for s3 save/restore 2018-08-07 09:55:13 +08:00
retpoline-thunk.S
static_checks.c hv: add compile time assert for static checks 2018-08-14 13:05:06 +08:00
timer.c hv:Changed several APIs to void type 2018-08-23 08:54:54 +08:00
trampoline.S
trusty.c hv: trusty: use ept_mr_add to add memory region 2018-08-23 11:10:26 +08:00
virq.c hv: apicv: change the name of vapic to apicv 2018-08-23 08:55:30 +08:00
vmexit.c hv:Changed several APIs to void type 2018-08-23 08:54:54 +08:00
vmx_asm.S fix spec_ctrl msr save/restore 2018-08-16 16:24:13 +08:00
vmx.c hv: apicv: change the name of vapic to apicv 2018-08-23 08:55:30 +08:00
vtd.c hv: vtd: use EPT as translation table for PTDev in SOS 2018-08-23 11:46:57 +08:00
wakeup.S pm: use cpu_context for s3 save/restore 2018-08-07 09:55:13 +08:00