]> git.baikalelectronics.ru Git - kernel.git/commit
iommu/amd: Set DTE[IntTabLen] to represent 512 IRTEs
authorSuravee Suthikulpanit <suravee.suthikulpanit@amd.com>
Mon, 7 Dec 2020 09:19:20 +0000 (03:19 -0600)
committerWill Deacon <will@kernel.org>
Mon, 7 Dec 2020 11:00:24 +0000 (11:00 +0000)
commit7681f4d5bd704a1456a11ed3fed2b22d710efad5
tree1b525baa0e3c424fff2f35d14a24382f3a0ad47b
parent26c22d8e28a824492526096a72e76adaa28c2eea
iommu/amd: Set DTE[IntTabLen] to represent 512 IRTEs

According to the AMD IOMMU spec, the commit 077a05adbde4
("iommu/amd: Increase interrupt remapping table limit to 512 entries")
also requires the interrupt table length (IntTabLen) to be set to 9
(power of 2) in the device table mapping entry (DTE).

Fixes: 077a05adbde4 ("iommu/amd: Increase interrupt remapping table limit to 512 entries")
Reported-by: Jerry Snitselaar <jsnitsel@redhat.com>
Signed-off-by: Suravee Suthikulpanit <suravee.suthikulpanit@amd.com>
Reviewed-by: Jerry Snitselaar <jsnitsel@redhat.com>
Link: https://lore.kernel.org/r/20201207091920.3052-1-suravee.suthikulpanit@amd.com
Signed-off-by: Will Deacon <will@kernel.org>
drivers/iommu/amd/amd_iommu_types.h