[PATCH 1/2] PCI: Introduce PCI_FIXUP_IOMMU
gregkh at linuxfoundation.org
Wed May 27 09:01:42 UTC 2020
On Tue, May 26, 2020 at 11:09:57PM +0800, Zhangfei Gao wrote:
> Hi, Christoph
> On 2020/5/26 下午10:46, Christoph Hellwig wrote:
> > On Tue, May 26, 2020 at 07:49:08PM +0800, Zhangfei Gao wrote:
> > > Some platform devices appear as PCI but are actually on the AMBA bus,
> > > and they need fixup in drivers/pci/quirks.c handling iommu_fwnode.
> > > Here introducing PCI_FIXUP_IOMMU, which is called after iommu_fwnode
> > > is allocated, instead of reusing PCI_FIXUP_FINAL since it will slow
> > > down iommu probing as all devices in fixup final list will be
> > > reprocessed.
> > Who is going to use this? I don't see a single user in the series.
> We will add iommu fixup in drivers/pci/quirks.c, handling
> fwspec->can_stall, which is introduced in
> Unfortunately, the patch does not catch v5.8, so we have to wait.
> And we want to check whether this is a right method to solve this issue.
We can't take new apis without a real user, so please submit them all at
More information about the iommu