Thread (55 messages) 55 messages, 9 authors, 2023-11-14

Re: [PATCH RFC 01/17] iommu: Remove struct iommu_ops *iommu from arch_setup_dma_ops()

From: Christoph Hellwig <hch@lst.de>
Date: 2023-11-06 07:17:41
Also in: asahi, linux-acpi, linux-arm-kernel, linux-devicetree, linux-iommu, linux-mips, linux-riscv, linux-tegra, virtualization

On Fri, Nov 03, 2023 at 01:44:46PM -0300, Jason Gunthorpe wrote:
This is not being used to pass ops, it is just a way to tell if an
iommu driver was probed. These days this can be detected directly via
device_iommu_mapped(). Call device_iommu_mapped() in the two places that
need to check it and remove the iommu parameter everywhere.
Yes, that's much better than exposing the iommu ops to a place that
should not care about them:

Acked-by: Christoph Hellwig <hch@lst.de>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help