summaryrefslogtreecommitdiff
path: root/kernel
diff options
context:
space:
mode:
authorDaniel Drake <dan@reactivated.net>2026-09-27 14:09:00 +0100
committerJoerg Roedel <joerg.roedel@amd.com>2026-09-28 10:19:12 +0200
commit20a83ff21712790786c087dab7315fdfa34035ee (patch)
tree520ff20b612c620a92fb828fa3a2e633f8f379c0 /kernel
parent93f51579e7df248780214094418f205253383cc5 (diff)
iommu_pt: Fix test_pgsize_boundary() failure on narrow-OA formats
test_pgsize_boundary() tests boundary mapping with a hardcoded physical address that requires 38 bits of physical address space. However, the upcoming page table format for the Broadcom BCM2712 IOMMU only supports 37 bits of output address space. This causes a test failure as iommu_map() rejects the large address with -ERANGE. Drop the high bits of the address (they are not relevant to the boundary calculations being tested) so that it fits into 32 bits. Reviewed-by: Jason Gunthorpe <jgg@nvidia.com> Signed-off-by: Daniel Drake <dan@reactivated.net> Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
Diffstat (limited to 'kernel')
0 files changed, 0 insertions, 0 deletions