acrn-hypervisor/hypervisor/include
Alexander Merritt ef2d43d544 HV: add DRHD index to pci_pdev
We add new member pci_pdev.drhd_idx associating the DRHD
(IOMMU) with this pdev, and a method to convert a pbdf of a device to
this index by searching the pdev list.

Partial patch: drhd_index initialization handled in subsequent patch.

v3->v2
        Renamed drhd_idx to drhd_index in pci_pdev struct
	Introduced a macro INVALID_DRHD_INDEX set to 0xFFFFFFFFU

v2-> v1
	Remove (index == -1U) from loop control expression
	to follow MISRA-C

Tracked-On: #4134
Signed-off-by: Alexander Merritt <alex.merritt@intel.com>
Signed-off-by: Sainath Grandhi <sainath.grandhi@intel.com>
2019-12-10 09:52:17 +08:00
..
arch/x86 HV: add DRHD index to pci_pdev 2019-12-10 09:52:17 +08:00
common hv: sched: add kick_thread to support notification 2019-10-25 13:00:21 +08:00
debug SEP/SOCWATCH change variable names 2019-09-16 15:54:34 +08:00
dm hv[v2]: remove registration of default port IO and MMIO handlers 2019-10-24 13:21:19 +08:00
hw HV: add DRHD index to pci_pdev 2019-12-10 09:52:17 +08:00
lib hv: add ACPI support for pre-launched VMs 2019-08-29 10:12:25 +08:00
public hv: make hypercall HC_CREATE_VCPU empty 2019-09-24 11:58:45 +08:00