diff options
author | Jacob Pan <jacob.jun.pan@linux.intel.com> | 2023-04-13 06:06:38 +0200 |
---|---|---|
committer | Joerg Roedel <jroedel@suse.de> | 2023-04-13 12:05:50 +0200 |
commit | 113a031becc8a1b904d7fd873fb3d329f203d2f0 (patch) | |
tree | 22b2e0df43976f46e7b9b59cb4b823a1b30f4b06 /drivers/iommu/intel/pasid.h | |
parent | iommu/vt-d: Use non-privileged mode for all PASIDs (diff) | |
download | linux-113a031becc8a1b904d7fd873fb3d329f203d2f0.tar.xz linux-113a031becc8a1b904d7fd873fb3d329f203d2f0.zip |
iommu/vt-d: Remove PASID supervisor request support
There's no more usage, remove PASID supervisor support.
Suggested-by: Lu Baolu <baolu.lu@linux.intel.com>
Reviewed-by: Lu Baolu <baolu.lu@linux.intel.com>
Signed-off-by: Jacob Pan <jacob.jun.pan@linux.intel.com>
Link: https://lore.kernel.org/r/20230331231137.1947675-3-jacob.jun.pan@linux.intel.com
Signed-off-by: Lu Baolu <baolu.lu@linux.intel.com>
Signed-off-by: Joerg Roedel <jroedel@suse.de>
Diffstat (limited to 'drivers/iommu/intel/pasid.h')
-rw-r--r-- | drivers/iommu/intel/pasid.h | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/drivers/iommu/intel/pasid.h b/drivers/iommu/intel/pasid.h index 20c54e50f533..d6b7d21244b1 100644 --- a/drivers/iommu/intel/pasid.h +++ b/drivers/iommu/intel/pasid.h @@ -41,13 +41,6 @@ #define FLPT_DEFAULT_DID 1 #define NUM_RESERVED_DID 2 -/* - * The SUPERVISOR_MODE flag indicates a first level translation which - * can be used for access to kernel addresses. It is valid only for - * access to the kernel's static 1:1 mapping of physical memory — not - * to vmalloc or even module mappings. - */ -#define PASID_FLAG_SUPERVISOR_MODE BIT(0) #define PASID_FLAG_NESTED BIT(1) #define PASID_FLAG_PAGE_SNOOP BIT(2) |