Re: [PATCH v2] iommu/amd: Set AMD iommu callbacks for platform bus driver

From: Joerg Roedel
Date: Wed Jun 15 2016 - 06:03:02 EST


On Tue, May 10, 2016 at 09:21:01AM -0400, Wan Zongshun wrote:
> From: Wan Zongshun <Vincent.Wan@xxxxxxx>
>
> AMD has more drivers will use ACPI to platform bus driver later,
> all those devices need iommu support, for example: eMMC driver.
>
> For latest AMD eMMC controller, it will utilize sdhci-acpi.c driver,
> which will rely on platform bus to match device and driver, where we
> will set 'dev' of struct platform_device as map_sg parameter passing
> to iommu driver for DMA request, so the iommu-ops are needed on the
> platform bus.
>
> Signed-off-by: Wan Zongshun <Vincent.Wan@xxxxxxx>

Applied, thanks.