acrn-hypervisor/hypervisor/include/arch/x86
Jason Chen CJ c0d4b90415 ptdev: change remapping entry from virtual to physical based
currently, pass-thru devices are managed by per-vm's remapping entries
which is virtual based:
- MSI entry is identified by virt_bdf+msix_index
- INTx entry is identified by virt_pin+vpin_src
it works but it's not a good design for physical resource management, for
example a physical IOAPIC pin could belong to different vm's INTx entries,
the Device Model then must make sure there is no resource conflict from
application's level.

This patch change the design from virtual to physical based:
- MSI entry is identified by phys_bdf+msix_index
- INTx entry is identified by phys_pin
The physical resource is directly managed in hypervisor, a miss adding
entry will be found by hypervisor and return error message with failure.

Signed-off-by: Jason Chen CJ <jason.cj.chen@intel.com>
Acked-by: Xu, Anthony <anthony.xu@intel.com>
2018-05-15 17:25:57 +08:00
..
guest HV: code cleanup for cpu state 2018-05-15 17:25:56 +08:00
apicreg.h Fix compiler warnings when building for UEFI 2018-05-15 17:19:38 +08:00
assign.h ptdev: change remapping entry from virtual to physical based 2018-05-15 17:25:57 +08:00
cpu.h hv: timer: add calibrate tsc hz by cpuid 0x15 2018-05-15 17:25:56 +08:00
cpufeatures.h hv: add hardware_detect_support to detect which hardware we support 2018-05-15 17:25:56 +08:00
cpuid.h HV: add cpu model name 2018-05-15 17:25:25 +08:00
gdt.h initial import 2018-05-11 14:44:28 +08:00
hv_arch.h HV: code cleanup for cpu state 2018-05-15 17:25:56 +08:00
idt.h initial import 2018-05-11 14:44:28 +08:00
intr_ctx.h initial import 2018-05-11 14:44:28 +08:00
io.h HV: Add the volatile to avoid optimization for mmio_read/write access 2018-05-15 17:25:55 +08:00
ioapic.h ptdev: change remapping entry from virtual to physical based 2018-05-15 17:25:57 +08:00
irq.h rename vmexit handlers 2018-05-15 17:25:55 +08:00
lapic.h refine: remove redundant data type definition 2018-05-15 17:25:54 +08:00
mmu.h hv: add hardware_detect_support to detect which hardware we support 2018-05-15 17:25:56 +08:00
msr.h hv: vmx_capability: add cpu_has_vmx_ept/vpid_cap API 2018-05-15 17:25:55 +08:00
multiboot.h UEFI: change the efi_ctx passing method 2018-05-15 17:19:39 +08:00
softirq.h initial import 2018-05-11 14:44:28 +08:00
timer.h hv: timer: add periodic timer setup support 2018-05-15 17:25:56 +08:00
trusty.h mmu:create temporary page tables for guest at run time 2018-05-15 17:25:26 +08:00
vmexit.h rename vmexit handlers 2018-05-15 17:25:55 +08:00
vmx.h check validity of 'VM-exit Int-Info' before extracting vector 2018-05-15 17:25:55 +08:00
vtd.h ept: change eptp to PA 2018-05-15 17:25:25 +08:00
zeropage.h vm load: fix bug in loading kernel 2018-05-15 17:19:37 +08:00