diff options
| author | Xie Bo <xb@ultrarisc.com> | 2026-08-10 13:15:44 +0800 |
|---|---|---|
| committer | Anup Patel <anup@brainfault.org> | 2026-09-15 18:55:51 +0530 |
| commit | f41fb17143df890855d3de980f8eb92dfd595817 (patch) | |
| tree | bcddfedc4f8315728b11d217bcb9a6183f004d47 /tools/perf/scripts/python/flamegraph.py | |
| parent | ed54fdb460a6e81d5f8f38388d1f10b385dd4a58 (diff) | |
| download | linux-next-f41fb17143df890855d3de980f8eb92dfd595817.tar.gz linux-next-f41fb17143df890855d3de980f8eb92dfd595817.zip | |
RISC-V: KVM: Propagate interrupted G-stage faults
__kvm_faultin_pfn() reports an interrupted host page fault with
KVM_PFN_ERR_SIGPENDING. RISC-V currently handles it as a generic
error PFN and returns -EFAULT.
Return -EINTR for the signal-pending sentinel so callers can distinguish
an interrupted fault from an invalid userspace mapping. Do not log the
expected interruption as a vCPU exit error.
Fixes: 9d05c1fee837 ("RISC-V: KVM: Implement stage2 page table programming")
Cc: stable@vger.kernel.org
Signed-off-by: Xie Bo <xb@ultrarisc.com>
Reviewed-by: Anup Patel <anup@brainfault.org>
Link: https://lore.kernel.org/r/20260810051544.3953925-3-xb@ultrarisc.com
Signed-off-by: Anup Patel <anup@brainfault.org>
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions
