summaryrefslogtreecommitdiffstats
path: root/drivers/iommu/intel/svm.c
diff options
context:
space:
mode:
authorYi Liu <yi.l.liu@intel.com>2022-09-26 21:15:27 +0800
committerJoerg Roedel <jroedel@suse.de>2022-09-26 15:52:25 +0200
commitb722cb32f0a558409fa5def9aaf0b82d9b553686 (patch)
tree9b3f3ba9451ddd418db99f1512b7a33d01decd44 /drivers/iommu/intel/svm.c
parent4759858726e4b4a9dac740ec16f07612c90b4663 (diff)
downloadlinux-stable-b722cb32f0a558409fa5def9aaf0b82d9b553686.tar.gz
linux-stable-b722cb32f0a558409fa5def9aaf0b82d9b553686.tar.bz2
linux-stable-b722cb32f0a558409fa5def9aaf0b82d9b553686.zip
iommu/vt-d: Rename cap_5lp_support to cap_fl5lp_support
This renaming better describes it is for first level page table (a.k.a first stage page table since VT-d spec 3.4). Signed-off-by: Yi Liu <yi.l.liu@intel.com> Reviewed-by: Kevin Tian <kevin.tian@intel.com> Link: https://lore.kernel.org/r/20220916071326.2223901-1-yi.l.liu@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/svm.c')
-rw-r--r--drivers/iommu/intel/svm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/iommu/intel/svm.c b/drivers/iommu/intel/svm.c
index d1cab931dcb0..7d08eb034f2d 100644
--- a/drivers/iommu/intel/svm.c
+++ b/drivers/iommu/intel/svm.c
@@ -164,7 +164,7 @@ void intel_svm_check(struct intel_iommu *iommu)
}
if (cpu_feature_enabled(X86_FEATURE_LA57) &&
- !cap_5lp_support(iommu->cap)) {
+ !cap_fl5lp_support(iommu->cap)) {
pr_err("%s SVM disabled, incompatible paging mode\n",
iommu->name);
return;