Re: [PATCH v3 4/5] iommu/ioasid: Rename INVALID_IOASID
From: Jason Gunthorpe
Date: Thu Feb 16 2023 - 19:00:00 EST
On Thu, Feb 16, 2023 at 03:59:50PM -0800, Jacob Pan wrote:
> INVALID_IOASID and IOMMU_PASID_INVALID are duplicated. Rename
> INVALID_IOASID and consolidate since we are moving away from IOASID
> infrastructure.
>
> Signed-off-by: Jacob Pan <jacob.jun.pan@xxxxxxxxxxxxxxx>
> ---
> Documentation/x86/sva.rst | 2 +-
> arch/x86/kernel/traps.c | 5 ++++-
> drivers/dma/idxd/device.c | 8 ++++----
> drivers/dma/idxd/idxd.h | 1 +
> drivers/dma/idxd/init.c | 2 +-
> drivers/dma/idxd/irq.c | 2 +-
> drivers/iommu/intel/dmar.c | 4 ++--
> drivers/iommu/intel/iommu.c | 2 +-
> drivers/iommu/intel/svm.c | 2 +-
> drivers/iommu/iommu-sva.c | 2 +-
> include/linux/ioasid.h | 4 ----
> include/linux/iommu.h | 6 +++++-
> mm/init-mm.c | 4 ++--
> 13 files changed, 24 insertions(+), 20 deletions(-)
Reviewed-by: Jason Gunthorpe <jgg@xxxxxxxxxx>
Jason