summaryrefslogtreecommitdiff
path: root/include/linux/stacktrace.h
diff options
context:
space:
mode:
authorAnkit Soni <Ankit.Soni@amd.com>2026-04-13 17:45:18 +0300
committerJoerg Roedel <joerg.roedel@amd.com>2026-05-19 11:49:02 +0300
commit04f1f4bf30b8b00e9eca7143dea094ccc2ec478e (patch)
tree82e6b0a21b297d9d977a89d71772a361a60990b7 /include/linux/stacktrace.h
parent5d6919055dec134de3c40167a490f33c74c12581 (diff)
downloadlinux-04f1f4bf30b8b00e9eca7143dea094ccc2ec478e.tar.xz
iommu_pt: Fix pgsize_bitmap calculation in get_info for smaller vasz's
To properly enforce the domain VA limit, clamp pgsize_bitmap using the requested max_vasz_lg2 in get_info(). Apply the same VA limit as get_info() in the kunit possible_sizes test so assertions stay consistent with the domain bitmap. Suggested-by: Jason Gunthorpe <jgg@nvidia.com> Signed-off-by: Ankit Soni <Ankit.Soni@amd.com> Reviewed-by: Jason Gunthorpe <jgg@nvidia.com> Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
Diffstat (limited to 'include/linux/stacktrace.h')
0 files changed, 0 insertions, 0 deletions