diff options
author | Vasant Hegde <vasant.hegde@amd.com> | 2023-09-21 12:21:39 +0300 |
---|---|---|
committer | Joerg Roedel <jroedel@suse.de> | 2023-09-25 13:39:02 +0300 |
commit | 4c721d6a085ca7baa4289bcf786c71684b2ef281 (patch) | |
tree | a47c18d8e8dfff3f8f872a3f2a9a600e5c8903b1 /drivers/iommu/amd/io_pgtable_v2.c | |
parent | 206fb06dc54a7b3df0107a96e221e7b49661059d (diff) | |
download | linux-4c721d6a085ca7baa4289bcf786c71684b2ef281.tar.xz |
iommu/amd: Do not set amd_iommu_pgtable in pass-through mode
Since AMD IOMMU page table is not used in passthrough mode, switching to
v1 page table is not required.
Therefore, remove redundant amd_iommu_pgtable update and misleading
warning message.
Signed-off-by: Vasant Hegde <vasant.hegde@amd.com>
Reviewed-by: Jason Gunthorpe <jgg@nvidia.com>
Reviewed-by: Jerry Snitselaar <jsnitsel@redhat.com>
Link: https://lore.kernel.org/r/20230921092147.5930-7-vasant.hegde@amd.com
Signed-off-by: Joerg Roedel <jroedel@suse.de>
Diffstat (limited to 'drivers/iommu/amd/io_pgtable_v2.c')
0 files changed, 0 insertions, 0 deletions