acrn-hypervisor/hypervisor/arch/x86
Yin Fengwei 7dde0dfa4b hv: add GVA validation for MOVS
Unlike the other instructions we emulated, MOVS has two operands
both are memory.

So we need to check whether the operand is valid GVA. With VMX
enabled, the src operand is always checked first by VMX. Which
means if src operand is not valid GVA, it will trigger fault
in guest before trigger EPT. So we don't need to check src
operand. Only need to check dst operand here.

Signed-off-by: Yin Fengwei <fengwei.yin@intel.com>
Acked-by: Anthony Xu <anthony.xu@intel.com>
2018-08-23 11:13:48 +08:00
..
configs HV: config: add Kconfig and defconfigs for sbl & uefi 2018-06-08 17:21:13 +08:00
guest hv: add GVA validation for MOVS 2018-08-23 11:13:48 +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 license: Replace license text with SPDX tag 2018-06-01 10:43:06 +08:00
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 HV:treewide:Replace HOST_GDT_RING0_CODE/DATA_SEL with constant 2018-07-18 12:31:42 +08:00
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:Changed several APIs to void type 2018-08-23 08:54:54 +08:00
wakeup.S pm: use cpu_context for s3 save/restore 2018-08-07 09:55:13 +08:00