[PATCH 1/2] iommu: Tidy up window attributes
Joerg Roedel
joro at 8bytes.org
Tue Sep 25 22:55:23 AEST 2018
On Wed, Sep 19, 2018 at 11:12:57AM +0100, Robin Murphy wrote:
> 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 at arm.com>
> ---
>
> Just a cleanup opportunity I spotted whilst poking around in the area.
>
> drivers/iommu/fsl_pamu_domain.c | 20 ++++++++++++++++++++
> drivers/iommu/iommu.c | 20 --------------------
> 2 files changed, 20 insertions(+), 20 deletions(-)
Nice cleanup, applied both patches, thanks Robin.
More information about the Linuxppc-dev
mailing list