On Tue, Jun 16, 2026 at 09:47:55AM +0100, Peter Maydell wrote: > On Wed, 3 Jun 2026 at 13:44, Eric Auger <[email protected]> wrote: > > > > Currently it is possible to attach several arm-smmuv3 devices to the > > same bus although it is a wrong setup. > > > > Change the prototype of pci_setup_iommu_per_bus to pass an error > > handle. This latter is set when iommu_per_bus is already set and > > used by the single caller (smmu_base_realize) to report a useful > > error to the end-user. > > > > While at it document pci_setup_iommu_per_bus callback in the header. > > > > Fixes: 66d2f665e163 ("hw/arm/virt: Allow user-creatable SMMUv3 dev > > instantiation") > > Signed-off-by: Eric Auger <[email protected]> > > Tested-by: Nathan Chen <[email protected]> > > Reviewed-by: Shameer Kolothum <[email protected]> > > Reviewed-by: Nicolin Chen <[email protected]> > > I'll take this into target-arm.next as it's a fix for a function > that's only used by the arm SMMU. > > thanks > -- PMM
Pls do. Acked-by: Michael S. Tsirkin <[email protected]> -- MST
