diff options
| author | Jason Gunthorpe <jgg@nvidia.com> | 2026-03-27 12:22:10 -0300 |
|---|---|---|
| committer | Joerg Roedel <joerg.roedel@amd.com> | 2026-04-02 09:35:49 +0200 |
| commit | 40a13b49957937427bc23e78eb50679df4396a47 (patch) | |
| tree | b6289e34e439971b87685fe606e5ba9b96c20517 /tools/perf/scripts/python/stackcollapse.py | |
| parent | 553a127cb66523089bc10eb54640205495f4bb5b (diff) | |
iommu/riscv: Remove overflows on the invalidation path
Since RISC-V supports a sign extended page table it should support
a gather->end of ULONG_MAX, but if this happens it will infinite loop
because of the overflow.
Also avoid overflow computing the length by moving the +1 to the other
side of the <
Fixes: 488ffbf18171 ("iommu/riscv: Paging domain support")
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions
