[PATCH 1/8] iommu: Move IOMMU_DOMAIN_BLOCKED global statics to ops->blocked_domain
Baolu Lu
baolu.lu at linux.intel.com
Mon Sep 25 12:26:54 AEST 2023
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 at 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 at linux.intel.com>
Best regards,
baolu
More information about the Linuxppc-dev
mailing list