iommu: Tidy up window attributes
authorRobin Murphy <robin.murphy@arm.com>
Wed, 19 Sep 2018 10:12:57 +0000 (11:12 +0100)
committerJoerg Roedel <jroedel@suse.de>
Tue, 25 Sep 2018 12:54:53 +0000 (14:54 +0200)
commit701d8a624a2d5aa7d7efd38800c7c6ab4a4c453c
treeb14b7ae29159bde7c621580fd71fcb5914330ce7
parent7adb562c3e90f87b0da196c372afe251ad4ec62e
iommu: Tidy up window attributes

The external interface to get/set window attributes is already
abstracted behind iommu_domain_{get,set}_attr(), so there's no real
reason for the internal interface to be different. Since we only have
one window-based driver anyway, clean up the core code by just moving
the DOMAIN_ATTR_WINDOWS handling directly into the PAMU driver.

Signed-off-by: Robin Murphy <robin.murphy@arm.com>
Signed-off-by: Joerg Roedel <jroedel@suse.de>
drivers/iommu/fsl_pamu_domain.c
drivers/iommu/iommu.c