[GIT PULL] KVM/riscv fixes for 7.1 take #1

Anup Patel anup at brainfault.org
Fri May 22 06:06:33 PDT 2026


Hi Paolo,

We have the following fixes for the 7.1 kernel:
1) Fix invalid HVA warning in steal-time recording
2) Return SBI_ERR_FAILURE to guest upon OOM in
    pmu_event_info() and pmu_snapshot_set_shmem()
3) Fix NULL pointer dereference in SBI v0.1 SEND_IPI handler
4) Fix sign extension of value for MMIO loads

Please pull.

Regards,
Anup

The following changes since commit 5200f5f493f79f14bbdc349e402a40dfb32f23c8:

  Linux 7.1-rc4 (2026-05-17 13:59:58 -0700)

are available in the Git repository at:

  https://github.com/kvm-riscv/linux.git tags/kvm-riscv-fixes-7.1-1

for you to fetch changes up to c7832534a8160276cccb9a8cc8cafb5614c579d0:

  RISC-V: KVM: Fix sign extension for MMIO loads (2026-05-18 10:19:18 +0530)

----------------------------------------------------------------
KVM/riscv fixes for 7.1, take #1

- Fix invalid HVA warning in steal-time recording
- Return SBI_ERR_FAILURE to guest upon OOM in pmu_event_info()
  and pmu_snapshot_set_shmem()
- Fix NULL pointer dereference in SBI v0.1 SEND_IPI handler
- Fix sign extension of value for MMIO loads

----------------------------------------------------------------
Jiakai Xu (3):
      RISC-V: KVM: Fix invalid HVA warning in steal-time recording
      RISC-V: KVM: Fix NULL pointer dereference in SBI v0.1 SEND_IPI handler
      RISC-V: KVM: Fix sign extension for MMIO loads

Osama Abdelkader (2):
      riscv: kvm: return SBI_ERR_FAILURE for pmu_snapshot_set_shmem() when OOM
      riscv: kvm: return SBI_ERR_FAILURE for pmu_event_info() when OOM

 arch/riscv/kvm/vcpu_insn.c    |  9 ++++-----
 arch/riscv/kvm/vcpu_pmu.c     | 12 ++++++++----
 arch/riscv/kvm/vcpu_sbi_sta.c |  2 +-
 arch/riscv/kvm/vcpu_sbi_v01.c |  2 ++
 4 files changed, 15 insertions(+), 10 deletions(-)



More information about the kvm-riscv mailing list