[PATCH v6 4/5] iommu/mediatek: Add mt8173 IOMMU driver

Joerg Roedel joro at 8bytes.org
Wed Dec 16 07:15:15 PST 2015


On Tue, Dec 15, 2015 at 12:37:34PM +0000, Robin Murphy wrote:
> The potential issue I *do* see, looking more closely, is that
> iommu_group_get_for_dev() is setting group->domain but not calling
> the attach_dev callback, which looks wrong...

Attaching the device happens from iommu_group_add_device(), which is
called from iommu_group_get_for_dev() right after the domains are
allocated/initialized.


	Joerg




More information about the linux-arm-kernel mailing list