On Fri, Mar 18, 2016 at 02:07:25PM +0700, Suravee Suthikulpanit wrote:
Actually the exposed APIs (in both files) are from the AMD IOMMU driver,
which is not necessary x86-specific. They mostly use struct pci_dev, which
is also arch-agnostic. It is correct that the current IOMMU IP is only
available in x86 systems. However, if AMD plans to use the IOMMU IP in the
ARM-based processors in the future, putting these into
include/linux/amd-iommu.h would work better.
Let's wait until AMD does that then. Moving the header is the easiest part.