qemu-cr16/hw/pci-bridge
Shameer Kolothum d9e6b8424f hw/arm/smmu-common: Check SMMU has PCIe Root Complex association
We only allow default PCIe Root Complex(pcie.0) or pxb-pcie based extra
root complexes to be associated with SMMU.

Although this change does not affect functionality at present, it is
required when we add support for user-creatable SMMUv3 devices in
future patches.

Note: Added a specific check to identify pxb-pcie to avoid matching
pxb-cxl host bridges, which are also of type PCI_HOST_BRIDGE. This
restriction can be relaxed once support for CXL devices on arm/virt
is added and validated with SMMUv3.

Reviewed-by: Jonathan Cameron <jonathan.cameron@huawei.com>
Reviewed-by: Eric Auger <eric.auger@redhat.com>
Tested-by: Nathan Chen <nathanc@nvidia.com>
Tested-by: Eric Auger <eric.auger@redhat.com>
Reviewed-by: Nicolin Chen <nicolinc@nvidia.com>
Tested-by: Nicolin Chen <nicolinc@nvidia.com>
Signed-off-by: Shameer Kolothum <shameerali.kolothum.thodi@huawei.com>
Signed-off-by: Shameer Kolothum <skolothumtho@nvidia.com>
Reviewed-by: Donald Dutile <ddutile@redhat.com>
Message-id: 20250829082543.7680-2-skolothumtho@nvidia.com
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
2025-09-16 17:31:54 +01:00
..
cxl_downstream.c qom: Make InterfaceInfo[] uses const 2025-04-25 17:00:41 +02:00
cxl_root_port.c qom: Make InterfaceInfo[] uses const 2025-04-25 17:00:41 +02:00
cxl_upstream.c qom: Make InterfaceInfo[] uses const 2025-04-25 17:00:41 +02:00
gen_pcie_root_port.c qom: Have class_init() take a const data argument 2025-04-25 17:00:41 +02:00
i82801b11.c qom: Make InterfaceInfo[] uses const 2025-04-25 17:00:41 +02:00
ioh3420.c qom: Have class_init() take a const data argument 2025-04-25 17:00:41 +02:00
Kconfig hw/pci-bridge: Add a Kconfig switch for the normal PCI bridge 2024-10-21 13:25:12 +02:00
meson.build hw/pci-bridge: Add a Kconfig switch for the normal PCI bridge 2024-10-21 13:25:12 +02:00
pci_bridge_dev.c qom: Make InterfaceInfo[] uses const 2025-04-25 17:00:41 +02:00
pci_expander_bridge.c hw/arm/smmu-common: Check SMMU has PCIe Root Complex association 2025-09-16 17:31:54 +01:00
pci_expander_bridge_stubs.c pci/pci_expander_bridge: For CXL HB delay the HB register memory region setup. 2022-06-09 19:32:49 -04:00
pcie_pci_bridge.c qom: Make InterfaceInfo[] uses const 2025-04-25 17:00:41 +02:00
pcie_root_port.c qom: Make InterfaceInfo[] uses const 2025-04-25 17:00:41 +02:00
simba.c qom: Make InterfaceInfo[] uses const 2025-04-25 17:00:41 +02:00
xio3130_downstream.c qom: Make InterfaceInfo[] uses const 2025-04-25 17:00:41 +02:00
xio3130_upstream.c qom: Make InterfaceInfo[] uses const 2025-04-25 17:00:41 +02:00