summaryrefslogtreecommitdiff
path: root/rust/helpers/build_bug.c
diff options
context:
space:
mode:
authorFangyu Yu <fangyu.yu@linux.alibaba.com>2025-11-21 21:35:43 +0800
committerAnup Patel <anup@brainfault.org>2025-11-24 09:55:36 +0530
commit974555d6e417974e63444266e495a06d06c23af5 (patch)
tree8a25676965ba9fccefd63894ed9ea2a4bf758510 /rust/helpers/build_bug.c
parentdf60cb2e67029e07e23c4fdf9e027aaf1f63cc1a (diff)
RISC-V: KVM: Fix guest page fault within HLV* instructions
When executing HLV* instructions at the HS mode, a guest page fault may occur when a g-stage page table migration between triggering the virtual instruction exception and executing the HLV* instruction. This may be a corner case, and one simpler way to handle this is to re-execute the instruction where the virtual instruction exception occurred, and the guest page fault will be automatically handled. Fixes: b91f0e4cb8a3 ("RISC-V: KVM: Factor-out instruction emulation into separate sources") Signed-off-by: Fangyu Yu <fangyu.yu@linux.alibaba.com> Reviewed-by: Anup Patel <anup@brainfault.org> Link: https://lore.kernel.org/r/20251121133543.46822-1-fangyu.yu@linux.alibaba.com Signed-off-by: Anup Patel <anup@brainfault.org>
Diffstat (limited to 'rust/helpers/build_bug.c')
0 files changed, 0 insertions, 0 deletions