]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
iommu/amd: Rename amd_iommu_v2_supported() as amd_iommu_pasid_supported()
authorVasant Hegde <vasant.hegde@amd.com>
Thu, 18 Apr 2024 10:33:46 +0000 (10:33 +0000)
committerJoerg Roedel <jroedel@suse.de>
Fri, 26 Apr 2024 10:15:55 +0000 (12:15 +0200)
To reflect its usage. No functional changes intended.

Signed-off-by: Vasant Hegde <vasant.hegde@amd.com>
Reviewed-by: Jason Gunthorpe <jgg@nvidia.com>
Link: https://lore.kernel.org/r/20240418103400.6229-2-vasant.hegde@amd.com
Signed-off-by: Joerg Roedel <jroedel@suse.de>
drivers/iommu/amd/amd_iommu.h
drivers/iommu/amd/init.c

index f482aab420f7873bb12da67684c5cc23a0cda05a..d77660551f2a6e7487259961371377cd757974ac 100644 (file)
@@ -38,7 +38,7 @@ extern int amd_iommu_guest_ir;
 extern enum io_pgtable_fmt amd_iommu_pgtable;
 extern int amd_iommu_gpt_level;
 
-bool amd_iommu_v2_supported(void);
+bool amd_iommu_pasid_supported(void);
 
 /* Device capabilities */
 int amd_iommu_pdev_enable_cap_pri(struct pci_dev *pdev);
index ac6754a85f3507ee88bd3847359a53292a14dc9f..5687c19825d72a8c14adefe012f6010fe4a77c72 100644 (file)
@@ -3690,7 +3690,7 @@ __setup("ivrs_ioapic",            parse_ivrs_ioapic);
 __setup("ivrs_hpet",           parse_ivrs_hpet);
 __setup("ivrs_acpihid",                parse_ivrs_acpihid);
 
-bool amd_iommu_v2_supported(void)
+bool amd_iommu_pasid_supported(void)
 {
        /* CPU page table size should match IOMMU guest page table size */
        if (cpu_feature_enabled(X86_FEATURE_LA57) &&