diff options
| author | Stefan Butz <mail@butz.st> | 2026-10-01 09:35:07 +0200 |
|---|---|---|
| committer | Anup Patel <anup@brainfault.org> | 2026-10-22 10:56:13 +0530 |
| commit | d8538f942fd1006cd6f9b687ace6d45a2c3c015c (patch) | |
| tree | 814a862038736e9fdf224fec8f63f7b6ea0d4d30 /tools/perf/scripts/python/event_analyzing_sample.py | |
| parent | 80f6e72b21aa773e71c748e1e5a6d3aa8d458bd7 (diff) | |
RISC-V: KVM: Don't write MMIO load result to x0
An MMIO load with rd=x0 writes the result into guest_context.zero,
which is never cleared, so later emulated reads of x0 return garbage.
Fixes: 9f7013265112 ("RISC-V: KVM: Handle MMIO exits for VCPU")
Signed-off-by: Stefan Butz <mail@butz.st>
Reviewed-by: Anup Patel <anup@brainfault.org>
Link: https://lore.kernel.org/r/20261001-b4-mmio_load_protect_x0-v1-1-90515d86f201@butz.st
Signed-off-by: Anup Patel <anup@brainfault.org>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions
