diff options
author | Lu Baolu <[email protected]> | 2022-09-26 21:15:26 +0800 |
---|---|---|
committer | Joerg Roedel <[email protected]> | 2022-09-26 15:52:24 +0200 |
commit | 4759858726e4b4a9dac740ec16f07612c90b4663 (patch) | |
tree | f8517ff2cd7a1c1026baf27ce0a35fa550eeb76b | |
parent | 0faa19a1515f8b04e9251b38ba522529906aeda7 (diff) |
iommu/vt-d: Remove pasid_set_eafe()
It is not used anywhere in the tree. Remove it to avoid dead code.
No functional change intended.
Signed-off-by: Lu Baolu <[email protected]>
Reviewed-by: Kevin Tian <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Joerg Roedel <[email protected]>
-rw-r--r-- | drivers/iommu/intel/pasid.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/drivers/iommu/intel/pasid.c b/drivers/iommu/intel/pasid.c index c5e7e8b020a5..ccaf32949254 100644 --- a/drivers/iommu/intel/pasid.c +++ b/drivers/iommu/intel/pasid.c @@ -392,16 +392,6 @@ pasid_set_flpm(struct pasid_entry *pe, u64 value) pasid_set_bits(&pe->val[2], GENMASK_ULL(3, 2), value << 2); } -/* - * Setup the Extended Access Flag Enable (EAFE) field (Bit 135) - * of a scalable mode PASID entry. - */ -static inline void -pasid_set_eafe(struct pasid_entry *pe) -{ - pasid_set_bits(&pe->val[2], 1 << 7, 1 << 7); -} - static void pasid_cache_invalidation_with_pasid(struct intel_iommu *iommu, u16 did, u32 pasid) |