Skip to content

Commit 9433d5b

Browse files
hegdevasantjoergroedel
authored andcommitted
iommu/amd: Rename amd_iommu_v2_supported() as amd_iommu_pasid_supported()
To reflect its usage. No functional changes intended. Signed-off-by: Vasant Hegde <[email protected]> Reviewed-by: Jason Gunthorpe <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Joerg Roedel <[email protected]>
1 parent ed30a4a commit 9433d5b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

drivers/iommu/amd/amd_iommu.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ extern int amd_iommu_guest_ir;
3838
extern enum io_pgtable_fmt amd_iommu_pgtable;
3939
extern int amd_iommu_gpt_level;
4040

41-
bool amd_iommu_v2_supported(void);
41+
bool amd_iommu_pasid_supported(void);
4242

4343
/* Device capabilities */
4444
int amd_iommu_pdev_enable_cap_pri(struct pci_dev *pdev);

drivers/iommu/amd/init.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3690,7 +3690,7 @@ __setup("ivrs_ioapic", parse_ivrs_ioapic);
36903690
__setup("ivrs_hpet", parse_ivrs_hpet);
36913691
__setup("ivrs_acpihid", parse_ivrs_acpihid);
36923692

3693-
bool amd_iommu_v2_supported(void)
3693+
bool amd_iommu_pasid_supported(void)
36943694
{
36953695
/* CPU page table size should match IOMMU guest page table size */
36963696
if (cpu_feature_enabled(X86_FEATURE_LA57) &&

0 commit comments

Comments
 (0)