diff options
| author | Pengpeng Hou <pengpeng@iscas.ac.cn> | 2026-07-18 11:52:36 +0800 |
|---|---|---|
| committer | Anup Patel <anup@brainfault.org> | 2026-08-07 20:30:34 +0530 |
| commit | e8f3e9ba146a2089465ea7e98e857d78f8d4788a (patch) | |
| tree | 99741994c53abb1aa0c764849de455ca57641530 /tools/perf/scripts/python/stackcollapse.py | |
| parent | 1b5ea65ffde73fc74499ae22b3ea87d0dbf87fb6 (diff) | |
RISC-V: KVM: Allow memslots ending at the GPA limit
KVM memslots describe half-open ranges [base_gfn, base_gfn + npages). A
slot ending exactly at the guest physical-address limit has its final page
below that limit and is valid.
The current greater-than-or-equal comparison rejects a valid boundary case.
Use a strict greater-than comparison, matching equivalent KVM architecture
checks.
Fixes: 9d05c1fee837 ("RISC-V: KVM: Implement stage2 page table programming")
Signed-off-by: Pengpeng Hou <pengpeng@iscas.ac.cn>
Reviewed-by: Anup Patel <anup@brainfault.org>
Link: https://lore.kernel.org/r/20260718033646.002.31dc89f2-caplitmus-rv@iscas.ac.cn
Signed-off-by: Anup Patel <anup@brainfault.org>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions
