diff options
| author | Ankit Soni <Ankit.Soni@amd.com> | 2026-04-13 14:45:18 +0000 |
|---|---|---|
| committer | Joerg Roedel <joerg.roedel@amd.com> | 2026-05-19 10:49:02 +0200 |
| commit | 04f1f4bf30b8b00e9eca7143dea094ccc2ec478e (patch) | |
| tree | 82e6b0a21b297d9d977a89d71772a361a60990b7 /drivers/phy/eswin/git@git.tavy.me:linux.git | |
| parent | 5d6919055dec134de3c40167a490f33c74c12581 (diff) | |
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 'drivers/phy/eswin/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions
