Thread (20 messages) 20 messages, 4 authors, 2023-09-27

Re: [PATCH 1/8] iommu: Move IOMMU_DOMAIN_BLOCKED global statics to ops->blocked_domain

From: Baolu Lu <baolu.lu@linux.intel.com>
Date: 2023-09-25 02:30:48
Also in: asahi, linux-arm-kernel, linux-iommu

On 9/23/23 1:07 AM, Jason Gunthorpe wrote:
Following the pattern of identity domains, just assign the BLOCKED domain
global statics to a value in ops. Update the core code to use the global
static directly.

Update powerpc to use the new scheme and remove its empty domain_alloc
callback.

Signed-off-by: Jason Gunthorpe<jgg@nvidia.com>
---
  arch/powerpc/kernel/iommu.c | 9 +--------
  drivers/iommu/iommu.c       | 2 ++
  include/linux/iommu.h       | 3 +++
  3 files changed, 6 insertions(+), 8 deletions(-)
Reviewed-by: Lu Baolu <baolu.lu@linux.intel.com>

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