[PW_SID:1065313] [v2] RISC-V: KVM: fix PMU snapshot_set_shmem on 32-bit hosts#1597
[PW_SID:1065313] [v2] RISC-V: KVM: fix PMU snapshot_set_shmem on 32-bit hosts#1597linux-riscv-bot wants to merge 1 commit into
Conversation
When saddr_high != 0 on RV32, the goto out was unconditional, causing valid 64-bit addresses to be rejected. Only goto out when the address is invalid (64-bit host with saddr_high != 0). Fixes: c2f41dd ("RISC-V: KVM: Implement SBI PMU Snapshot feature") Signed-off-by: Osama Abdelkader <osama.abdelkader@gmail.com> Reviewed-by: Andrew Jones <andrew.jones@oss.qualcomm.com> Signed-off-by: Linux RISC-V bot <linux.riscv.bot@gmail.com>
|
Patch 1: "[v2] RISC-V: KVM: fix PMU snapshot_set_shmem on 32-bit hosts" |
|
Patch 1: "[v2] RISC-V: KVM: fix PMU snapshot_set_shmem on 32-bit hosts" |
|
Patch 1: "[v2] RISC-V: KVM: fix PMU snapshot_set_shmem on 32-bit hosts" |
|
Patch 1: "[v2] RISC-V: KVM: fix PMU snapshot_set_shmem on 32-bit hosts" |
|
Patch 1: "[v2] RISC-V: KVM: fix PMU snapshot_set_shmem on 32-bit hosts" |
|
Patch 1: "[v2] RISC-V: KVM: fix PMU snapshot_set_shmem on 32-bit hosts" |
|
Patch 1: "[v2] RISC-V: KVM: fix PMU snapshot_set_shmem on 32-bit hosts" |
|
Patch 1: "[v2] RISC-V: KVM: fix PMU snapshot_set_shmem on 32-bit hosts" |
|
Patch 1: "[v2] RISC-V: KVM: fix PMU snapshot_set_shmem on 32-bit hosts" |
|
Patch 1: "[v2] RISC-V: KVM: fix PMU snapshot_set_shmem on 32-bit hosts" |
|
Patch 1: "[v2] RISC-V: KVM: fix PMU snapshot_set_shmem on 32-bit hosts" |
|
Patch 1: "[v2] RISC-V: KVM: fix PMU snapshot_set_shmem on 32-bit hosts" |
PR for series 1065313 applied to workflow__riscv__fixes
Name: [v2] RISC-V: KVM: fix PMU snapshot_set_shmem on 32-bit hosts
URL: https://patchwork.kernel.org/project/linux-riscv/list/?series=1065313
Version: 2