cloud-hypervisor/arch/src
Henry Wang ca9a42ece8 aarch64: fdt: Create multiple PCI nodes based on PciSpaceInfo
This commit rewrites the `create_pci_node` in the FDT creator to
create multiple PCI nodes based on the vector of `PciSpaceInfo`,
and each PCI node in FDT reflects a PCI segment.

- The PCI MMIO config space, 32 bits PCI device space and 64 bits
PCI device space is re-calculated based on the `PciSpaceInfo` for
each PCI segment.
- A new FDT property `linux,pci-domain` is added.
- The virtio-iommu node is only created for the first PCI segment.

Signed-off-by: Henry Wang <Henry.Wang@arm.com>
2021-12-06 09:29:49 +00:00
..
aarch64 aarch64: fdt: Create multiple PCI nodes based on PciSpaceInfo 2021-12-06 09:29:49 +00:00
x86_64 vmm: Rename PCI_MMIO_CONFIG_SIZE and move it to arch 2021-12-06 09:29:49 +00:00
lib.rs aarch64: Introduce struct PciSpaceInfo for FDT 2021-12-06 09:29:49 +00:00