acrn-hypervisor/hypervisor/common
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
..
hv_main.c hv: add hardware_detect_support to detect which hardware we support 2018-05-15 17:25:56 +08:00
hypercall.c ptdev: change remapping entry from virtual to physical based 2018-05-15 17:25:57 +08:00
schedule.c retpoline: replace indirect jmp in switch_to function 2018-05-15 17:19:36 +08:00
stack_protector.c initial import 2018-05-11 14:44:28 +08:00
trusty_hypercall.c trusty: implement hypercall to initialize trusty 2018-05-15 17:19:39 +08:00
vm_load.c vm load: add SOS cmdline option for hugetlb 2018-05-15 17:25:56 +08:00