Thread (3 messages) 3 messages, 2 authors, 2018-09-25

Re: [PATCH 1/2] iommu: Tidy up window attributes

From: Joerg Roedel <joro@8bytes.org>
Date: 2018-09-25 12:55:28
Also in: linux-iommu

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@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.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help