Thread (25 messages) 25 messages, 6 authors, 2018-04-20

[PATCH 01/12] iommu-common: move to arch/sparc

From: davem@davemloft.net (David Miller)
Date: 2018-04-16 13:58:48
Also in: linux-block, linux-ide, linux-iommu, linux-mips, linux-mm, linux-pci, sparclinux

From: Anshuman Khandual <redacted>
Date: Mon, 16 Apr 2018 14:26:07 +0530
On 04/15/2018 08:29 PM, Christoph Hellwig wrote:
quoted
This code is only used by sparc, and all new iommu drivers should use the
drivers/iommu/ framework.  Also remove the unused exports.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Right, these functions are used only from SPARC architecture. Simple
git grep confirms it as well. Hence it makes sense to move them into
arch code instead.
Well, we put these into a common location and used type friendly for
powerpc because we hoped powerpc would convert over to using this
common piece of code as well.

But nobody did the powerpc work.

If you look at the powerpc iommu support, it's the same code basically
for entry allocation.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help