diff options
author | Zhenzhong Duan <zhenzhong.duan@intel.com> | 2025-09-28 23:42:06 -0400 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2025-10-05 16:13:02 -0400 |
commit | 5c1ded52ac04ee818f642766e3f3b69c78fa160f (patch) | |
tree | c1bd504046284fff5716803605bbe7d9a99ac75d /scripts/lib/kdoc/kdoc_parser.py | |
parent | 3cda33e06e72412512c0f376a5261e0ff6ebe73f (diff) | |
download | qemu-5c1ded52ac04ee818f642766e3f3b69c78fa160f.zip qemu-5c1ded52ac04ee818f642766e3f3b69c78fa160f.tar.gz qemu-5c1ded52ac04ee818f642766e3f3b69c78fa160f.tar.bz2 |
pci: Fix wrong parameter passing to pci_device_get_iommu_bus_devfn()
The 2nd parameter of pci_device_get_iommu_bus_devfn() about root PCIBus
backed by an IOMMU for the PCI device, the 3rd is about aliased PCIBus
of the PCI device.
Meanwhile the 3rd and 4th parameters are optional, pass NULL if they
are not needed.
Reviewed-by: Clément Mathieu--Drif <clement.mathieu--drif@eviden.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Message-ID: <20250929034206.439266-4-zhenzhong.duan@intel.com>
Fixes: a849ff5d6f ("pci: Add a pci-level initialization function for IOMMU notifiers")
Fixes: f0f37daf8e ("pci: Add a PCI-level API for PRI")
Fixes: e9b457500a ("pci: Add a pci-level API for ATS")
Fixes: 042cbc9aec ("pci: Add an API to get IOMMU's min page size and virtual address width")
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'scripts/lib/kdoc/kdoc_parser.py')
0 files changed, 0 insertions, 0 deletions