projectacrn / acrn-hypervisor

Project ACRN hypervisor
BSD 3-Clause "New" or "Revised" License
1.12k stars 513 forks source link

Map PCI device to the corresponding DRHD/IOMMU index during enumeration #4134

Open sainath14 opened 4 years ago

sainath14 commented 4 years ago

Server platforms have Device scope of type "PCI Sub-hierarchy" which means the device in the device scope and all its down stream devices should be mapped to the corresponding IOMMU. ACRN maps only the device in the device scope and maps the down stream devices to DRHD with "INCLUDE_PCI_ALL" flag set, if exists, or do not map the down stream devices to any DRHD.

sainath14 commented 4 years ago

[External_System_ID] ACRN-5739