[PATCH] RISC-V: KVM: Change imsic->vsfile_lock from rwlock_t to raw_spinlock_t

Jiakai Xu xujiakai2025 at iscas.ac.cn
Mon Feb 23 17:02:40 PST 2026


Hi all,

Just a gentle ping on the patch, sent about three weeks ago.

This fixes a "[BUG: Invalid wait context]" issue observed during
fuzz testing, where vsfile_lock is taken with irqsave in vCPU scheduling
paths that already hold scheduler locks.

Any feedback would be appreciated.

Thanks,
Jiakai




More information about the linux-riscv mailing list