summaryrefslogtreecommitdiff
path: root/scripts/checkstack.pl
diff options
context:
space:
mode:
authorYong-Xuan Wang <yongxuan.wang@sifive.com>2026-06-01 13:26:22 +0300
committerAnup Patel <anup@brainfault.org>2026-06-05 19:08:58 +0300
commit63224b02748ddc6ee0ad0ee691768151da4a752d (patch)
treeada093a6a80c9ca0e0b29c045046ed70c36419ff /scripts/checkstack.pl
parent851334760330dafa68ab8f371e804ea6ad56ff9a (diff)
downloadlinux-63224b02748ddc6ee0ad0ee691768151da4a752d.tar.xz
KVM: RISC-V: SBI FWFT: Mark vCPU CSRs dirty after setting feature value
Mark the vCPU CSRs as dirty after successfully setting an FWFT feature value. FWFT features may modify CSRs (e.g., pointer masking modifies henvcfg.PMM), and failing to mark them dirty can lead to the guest observing stale CSR state after vCPU scheduling or migration. Fixes: 1323a5cfe52c ("KVM: riscv: Skip CSR restore if VCPU is reloaded on the same core") Signed-off-by: Yong-Xuan Wang <yongxuan.wang@sifive.com> Reviewed-by: Anup Patel <anup@brainfault.org> Link: https://lore.kernel.org/r/20260601-kvm-get_reg_list-v2-v5-1-415d08a2813b@sifive.com Signed-off-by: Anup Patel <anup@brainfault.org>
Diffstat (limited to 'scripts/checkstack.pl')
0 files changed, 0 insertions, 0 deletions