]> www.infradead.org Git - users/dwmw2/linux.git/commit
iommu/amd: Rename struct amd_io_pgtable iopt to pgtbl
authorJason Gunthorpe <jgg@nvidia.com>
Fri, 30 Aug 2024 00:06:15 +0000 (21:06 -0300)
committerJoerg Roedel <jroedel@suse.de>
Wed, 4 Sep 2024 09:38:32 +0000 (11:38 +0200)
commit670b57796c5dc1ca58912132cad914cf4b3c0cdd
tree3979146b2680a6def9a1d7bda18d461d72f62646
parent1ed2d21d471caf2e4351c2e8bb14143bc8062092
iommu/amd: Rename struct amd_io_pgtable iopt to pgtbl

There is struct protection_domain iopt and struct amd_io_pgtable iopt.
Next patches are going to want to write domain.iopt.iopt.xx which is quite
unnatural to read.

Give one of them a different name, amd_io_pgtable has fewer references so
call it pgtbl, to match pgtbl_cfg, instead.

Suggested-by: Alejandro Jimenez <alejandro.j.jimenez@oracle.com>
Reviewed-by: Vasant Hegde <vasant.hegde@amd.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
Link: https://lore.kernel.org/r/6-v2-831cdc4d00f3+1a315-amd_iopgtbl_jgg@nvidia.com
Signed-off-by: Joerg Roedel <jroedel@suse.de>
drivers/iommu/amd/amd_iommu_types.h
drivers/iommu/amd/io_pgtable.c
drivers/iommu/amd/io_pgtable_v2.c
drivers/iommu/amd/iommu.c