acrn-hypervisor/hypervisor/include
Minggui Cao b37008d74e HV: check secure/normal world for EPTP in gpa2hpa
for secure and normal world has different EPTP, in secure world,
it could trap to hypervisor and call gpa2hpa function. So it need
check if it is in normal or secure world for EPTP selection.

Detailed explanation from Yadong Qi <yadong.qi@intel.com>:
Currently, trusty OS does not handle interrupt, so when an interrupt
is delivering in trusty, trusty will set it to LAPIC IRR register by
inject self_ipi() and then call world_switch to switch to Android,
So android will receive/handle the interrupt properly.Since the
vLAPIC is enabled in ACRN, so when trusty try to inject self_ipi(),
APIC-ACCESS vmexit will happen. Then ACRN will do instruction
decode/emulation, so the GPA2HPA will fail since page walk is using
nworld_eptp. It is probability an issue.

Signed-off-by: Minggui Cao <minggui.cao@intel.com>
Acked-by: Eddie Dong <eddie.dong@intel.com>
2018-08-17 14:31:43 +08:00
..
arch/x86 HV: check secure/normal world for EPTP in gpa2hpa 2018-08-17 14:31:43 +08:00
common hv: pirq: clean up irq handlers 2018-08-17 14:25:52 +08:00
debug hv: vuart: fix the data type violations 2018-08-17 11:19:45 +08:00
dm/vpci HV: Adding hostbridge vdev device support for partition hypervisor 2018-08-10 10:09:00 +08:00
lib hv: lib: add ffz64_ex 2018-08-17 14:27:12 +08:00
public HV: io: drop REQ_STATE_FAILED 2018-08-15 12:04:12 +08:00
hv_debug.h HV: Merge hypervisor debug header files 2018-08-14 09:54:48 +08:00
hv_lib.h license: Replace license text with SPDX tag 2018-06-01 10:43:06 +08:00
hypervisor.h hv: mmu: revisit mmu modify page table attributes 2018-07-19 11:11:32 +08:00