diff options
| author | Jason Gunthorpe <[email protected]> | 2025-07-11 13:16:38 +0000 |
|---|---|---|
| committer | Will Deacon <[email protected]> | 2025-07-14 11:02:45 +0000 |
| commit | ced24bf4352c2216e413d1b81f6675950473e7f6 (patch) | |
| tree | c78deedb7ff71790d5b445cbbb4c42e19bdc899c /drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c | |
| parent | iommu/intel: Convert to msi_create_parent_irq_domain() helper (diff) | |
| download | kernel-ced24bf4352c2216e413d1b81f6675950473e7f6.tar.gz kernel-ced24bf4352c2216e413d1b81f6675950473e7f6.zip | |
iommu/qcom: Fix pgsize_bitmap
qcom uses the ARM_32_LPAE_S1 format which uses the ARM long descriptor
page table. Eventually arm_32_lpae_alloc_pgtable_s1() will adjust
the pgsize_bitmap with:
cfg->pgsize_bitmap &= (SZ_4K | SZ_2M | SZ_1G);
So the current declaration is nonsensical. Fix it to be just SZ_4K which
is what it has actually been using so far. Most likely the qcom driver
copy and pasted the pgsize_bitmap from something using the ARM_V7S format.
Fixes: db64591de4b2 ("iommu/qcom: Remove iommu_ops pgsize_bitmap")
Reported-by: Naresh Kamboju <[email protected]>
Closes: https://lore.kernel.org/all/CA+G9fYvif6kDDFar5ZK4Dff3XThSrhaZaJundjQYujaJW978yg@mail.gmail.com/
Tested-by: Linux Kernel Functional Testing <[email protected]>
Signed-off-by: Jason Gunthorpe <[email protected]>
Reviewed-by: Konrad Dybcio <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Will Deacon <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c')
0 files changed, 0 insertions, 0 deletions
