RISC-V: KVM: Fix PMU counter handling issues
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest3 patches 1 replyIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | RISC-V: KVM: Preserve firmware counter value across stop/startarch/ | +6 | 0 replies | |
| 2/3 | RISC-V: KVM: Report snapshot write failure to the guestarch/ | +4 | 0 replies | |
| 3/3 | RISC-V: KVM: Fix perf-backed counter accounting across stop and readarch/ | +8 | 0 replies |
Reviews trailers per patch
None of the 3 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.
| Patch | Anup Patel |
|---|---|
| Series | R-b |
| 1/3 | |
| 2/3 | |
| 3/3 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v1 0/3] RISC-V: KVM: Fix PMU counter handling issues
This series fixes three issues in the KVM RISC-V PMU implementation:
- preserve firmware counter values across stop/start;
- report failures when writing snapshot data to guest memory; and
- fix perf-backed counter accounting across read and stop.
The changes were tested with the existing KVM RISC-V SBI PMU selftests and additional tests covering the affected stop/start, snapshot failure, and repeated read paths.
SeungJu Cheon (3):
RISC-V: KVM: Preserve firmware counter value across stop/start
RISC-V: KVM: Report snapshot write failure to the guest
RISC-V: KVM: Fix perf-backed counter accounting across stop and read
arch/riscv/kvm/vcpu_pmu.c | 33 +++++++++++++++++---------------- 1 file changed, 17 insertions(+), 16 deletions(-)
base-commit: 0a0d1d55dad570724bf8c7ea83409639cfb4be9b
Signature · 1 line
2.52.0