[GIT PULL] KVM/riscv fixes for 6.16 take #2

Anup Patel anup at brainfault.org
Sat Jul 12 03:24:45 PDT 2025


Hi Paolo,

We have two more fixes for the 6.16 kernel. The first one
fixes an issue reported by Canonical [1] which turned-out
to be an issue related to timer cleanup when exiting to
user-space. The second fix addresses a race-condition
in updating HGEIE CSR when IMSIC VS-files are in-use.

Please pull.

Regards,
Anup

[1] https://bugs.launchpad.net/ubuntu/+source/linux/+bug/2112578Signed-off-by

The following changes since commit d7b8f8e20813f0179d8ef519541a3527e7661d3a:

  Linux 6.16-rc5 (2025-07-06 14:10:26 -0700)

are available in the Git repository at:

  https://github.com/kvm-riscv/linux.git tags/kvm-riscv-fixes-6.16-2

for you to fetch changes up to 4cec89db80ba81fa4524c6449c0494b8ae08eeb0:

  RISC-V: KVM: Move HGEI[E|P] CSR access to IMSIC virtualization
(2025-07-11 18:33:27 +0530)

----------------------------------------------------------------
KVM/riscv fixes for 6.16, take #2

- Disable vstimecmp before exiting to user-space
- Move HGEI[E|P] CSR access to IMSIC virtualization

----------------------------------------------------------------
Anup Patel (2):
      RISC-V: KVM: Disable vstimecmp before exiting to user-space
      RISC-V: KVM: Move HGEI[E|P] CSR access to IMSIC virtualization

 arch/riscv/include/asm/kvm_aia.h  |  4 ++-
 arch/riscv/include/asm/kvm_host.h |  3 +++
 arch/riscv/kvm/aia.c              | 51 ++++++---------------------------------
 arch/riscv/kvm/aia_imsic.c        | 45 ++++++++++++++++++++++++++++++++++
 arch/riscv/kvm/vcpu.c             | 10 --------
 arch/riscv/kvm/vcpu_timer.c       | 16 ++++++++++++
 6 files changed, 74 insertions(+), 55 deletions(-)



More information about the linux-riscv mailing list