diff options
| author | Jacob Pan <[email protected]> | 2023-03-22 20:08:02 +0000 |
|---|---|---|
| committer | Joerg Roedel <[email protected]> | 2023-03-31 08:03:27 +0000 |
| commit | fffaed1e24b8d114e958d180cb4a8aed3febbb5a (patch) | |
| tree | 24c9be450c8ebd165e27d72820b0f1e62628336c /drivers/iommu/intel/iommu.c | |
| parent | iommu/sva: Use GFP_KERNEL for pasid allocation (diff) | |
| download | kernel-fffaed1e24b8d114e958d180cb4a8aed3febbb5a.tar.gz kernel-fffaed1e24b8d114e958d180cb4a8aed3febbb5a.zip | |
iommu/ioasid: Rename INVALID_IOASID
INVALID_IOASID and IOMMU_PASID_INVALID are duplicated. Rename
INVALID_IOASID and consolidate since we are moving away from IOASID
infrastructure.
Reviewed-by: Dave Jiang <[email protected]>
Reviewed-by: Jason Gunthorpe <[email protected]>
Reviewed-by: Kevin Tian <[email protected]>
Reviewed-by: Lu Baolu <[email protected]>
Signed-off-by: Jacob Pan <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Joerg Roedel <[email protected]>
Diffstat (limited to 'drivers/iommu/intel/iommu.c')
| -rw-r--r-- | drivers/iommu/intel/iommu.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/iommu/intel/iommu.c b/drivers/iommu/intel/iommu.c index 6c2d1ffb5b0a..350c33605fd3 100644 --- a/drivers/iommu/intel/iommu.c +++ b/drivers/iommu/intel/iommu.c @@ -876,7 +876,7 @@ void dmar_fault_dump_ptes(struct intel_iommu *iommu, u16 source_id, return; } /* For request-without-pasid, get the pasid from context entry */ - if (intel_iommu_sm && pasid == INVALID_IOASID) + if (intel_iommu_sm && pasid == IOMMU_PASID_INVALID) pasid = PASID_RID2PASID; dir_index = pasid >> PASID_PDE_SHIFT; |
