Thread (51 messages) 51 messages, 3 authors, 2021-04-01

Re: [PATCH 10/18] iommu/fsl_pamu: enable the liodn when attaching a device

From: Will Deacon <will@kernel.org>
Date: 2021-03-30 12:55:02
Also in: dri-devel, kvm, linux-arm-kernel, linux-arm-msm, linux-iommu, linuxppc-dev, virtualization

On Tue, Mar 16, 2021 at 04:38:16PM +0100, Christoph Hellwig wrote:
Instead of a separate call to enable all devices from the list, just
enablde the liodn one the device is attached to the iommu domain.
(typos: "enablde" and "one" probably needs to be "once"?)
This also remove the DOMAIN_ATTR_FSL_PAMU_ENABLE iommu_attr.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Acked-by: Li Yang <redacted>
---
 drivers/iommu/fsl_pamu_domain.c     | 47 ++---------------------------
 drivers/iommu/fsl_pamu_domain.h     | 10 ------
 drivers/soc/fsl/qbman/qman_portal.c | 11 -------
 include/linux/iommu.h               |  1 -
 4 files changed, 3 insertions(+), 66 deletions(-)
Acked-by: Will Deacon <will@kernel.org>

Will
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help