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<j...@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...@linux.intel.com>
Best regards,
baolu