diff options
author | Yi Liu <yi.l.liu@intel.com> | 2022-09-26 21:15:27 +0800 |
---|---|---|
committer | Joerg Roedel <jroedel@suse.de> | 2022-09-26 15:52:25 +0200 |
commit | b722cb32f0a558409fa5def9aaf0b82d9b553686 (patch) | |
tree | 9b3f3ba9451ddd418db99f1512b7a33d01decd44 /drivers/iommu/intel/pasid.c | |
parent | 4759858726e4b4a9dac740ec16f07612c90b4663 (diff) | |
download | linux-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/pasid.c')
-rw-r--r-- | drivers/iommu/intel/pasid.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/iommu/intel/pasid.c b/drivers/iommu/intel/pasid.c index ccaf32949254..c30ddac40ee5 100644 --- a/drivers/iommu/intel/pasid.c +++ b/drivers/iommu/intel/pasid.c @@ -519,7 +519,7 @@ int intel_pasid_setup_first_level(struct intel_iommu *iommu, } } - if ((flags & PASID_FLAG_FL5LP) && !cap_5lp_support(iommu->cap)) { + if ((flags & PASID_FLAG_FL5LP) && !cap_fl5lp_support(iommu->cap)) { pr_err("No 5-level paging support for first-level on %s\n", iommu->name); return -EINVAL; |