projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0faa19a
)
iommu/vt-d: Remove pasid_set_eafe()
author
Lu Baolu
<baolu.lu@linux.intel.com>
Mon, 26 Sep 2022 13:15:26 +0000
(21:15 +0800)
committer
Joerg Roedel
<jroedel@suse.de>
Mon, 26 Sep 2022 13:52:24 +0000
(15:52 +0200)
It is not used anywhere in the tree. Remove it to avoid dead code.
No functional change intended.
Signed-off-by: Lu Baolu <baolu.lu@linux.intel.com>
Reviewed-by: Kevin Tian <kevin.tian@intel.com>
Link:
https://lore.kernel.org/r/20220915081645.1834555-1-baolu.lu@linux.intel.com
Signed-off-by: Joerg Roedel <jroedel@suse.de>
drivers/iommu/intel/pasid.c
patch
|
blob
|
history
diff --git
a/drivers/iommu/intel/pasid.c
b/drivers/iommu/intel/pasid.c
index c5e7e8b020a5727f5168d7837d2847e99a6d8b37..ccaf329492542d8313091849a062c0609b389a3e 100644
(file)
--- 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)