aboutsummaryrefslogtreecommitdiffstats
path: root/rust/compiler_builtins.rs
diff options
context:
space:
mode:
authorJon Pan-Doh <[email protected]>2024-07-09 23:49:13 +0000
committerWill Deacon <[email protected]>2024-07-12 15:23:19 +0000
commit31000732d56b43765d51e08cccb68818fbc0032c (patch)
tree81a68a7a3f9e448fc03e1316841ddd9aff144919 /rust/compiler_builtins.rs
parentiommu/vt-d: Fix aligned pages in calculate_psi_aligned_address() (diff)
downloadkernel-31000732d56b43765d51e08cccb68818fbc0032c.tar.gz
kernel-31000732d56b43765d51e08cccb68818fbc0032c.zip
iommu/vt-d: Fix identity map bounds in si_domain_init()
Intel IOMMU operates on inclusive bounds (both generally aas well as iommu_domain_identity_map()). Meanwhile, for_each_mem_pfn_range() uses exclusive bounds for end_pfn. This creates an off-by-one error when switching between the two. Fixes: c5395d5c4a82 ("intel-iommu: Clean up iommu_domain_identity_map()") Signed-off-by: Jon Pan-Doh <[email protected]> Tested-by: Sudheer Dantuluri <[email protected]> Suggested-by: Gary Zibrat <[email protected]> Reviewed-by: Lu Baolu <[email protected]> Reviewed-by: Kevin Tian <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Will Deacon <[email protected]>
Diffstat (limited to 'rust/compiler_builtins.rs')
0 files changed, 0 insertions, 0 deletions