Thread (33 messages) 33 messages, 7 authors, 2020-12-17

Re: [PATCH 1/2] PCI: Introduce PCI_FIXUP_IOMMU

From: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Date: 2020-05-27 09:01:46
Also in: linux-acpi, linux-arm-kernel, linux-iommu, linux-pci, lkml

On Tue, May 26, 2020 at 11:09:57PM +0800, Zhangfei Gao wrote:
Hi, Christoph

On 2020/5/26 下午10:46, Christoph Hellwig wrote:
quoted
On Tue, May 26, 2020 at 07:49:08PM +0800, Zhangfei Gao wrote:
quoted
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

https://www.spinics.net/lists/linux-pci/msg94559.html

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
once.

thanks,

greg k-h
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help