target/arm: Flag PMCNTENCLR with ARM_CP_NO_RAW
Get series with b4
b4 am [email protected] change-id 20250314-raw-198885f67b73Versions newest first
- v1 Latest4 patches 3 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | target/arm: Explicitly set ARM_CP_NO_GDBhw/ hw/ target/ +2 more | +321 | 0 replies | |
| 2/4 | target/arm: Do not imply ARM_CP_NO_GDBtarget/ target/ | +5 | 0 replies | |
| 3/4 | target/arm: Expose PMINTENCLR to GDBtarget/ | +2 | 0 replies | |
| 4/4 | target/arm: Flag PMCNTENCLR with ARM_CP_NO_RAWtarget/ | +12 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/4] target/arm: Flag PMCNTENCLR with ARM_CP_NO_RAW
Supersedes: <[email protected]> ("[PATCH v2] target/arm: Define raw write for PMU CLR registers")
A normal write to PMCNTENCLR clears written bits so it is not appropriate for writing a raw value. This kind of situation is usually handled by setting a raw write function, but flag the register with ARM_CP_NO_RAW instead to workaround a problem with KVM.
KVM also has the same problem with PMINTENSET so add a comment to note that. This register is already flagged with ARM_CP_NO_RAW.
---
Akihiko Odaki (4):
target/arm: Explicitly set ARM_CP_NO_GDB target/arm: Do not imply ARM_CP_NO_GDB target/arm: Expose PMINTENCLR to GDB target/arm: Flag PMCNTENCLR with ARM_CP_NO_RAW
target/arm/cpregs.h | 8 +- hw/intc/arm_gicv3_cpuif.c | 100 +++++++++--------- hw/intc/arm_gicv3_kvm.c | 2 +- target/arm/debug_helper.c | 2 +- target/arm/gdbstub.c | 2 +- target/arm/helper.c | 229 +++++++++++++++++++++++----------------- target/arm/tcg/tlb-insns.c | 256 +++++++++++++++++++++++++-------------------- 7 files changed, 336 insertions(+), 263 deletions(-)
---
base-commit: 825b96dbcee23d134b691fc75618b59c5f53da32
change-id: 20250314-raw-198885f67b73
Best regards,
Signature · 1 line
Akihiko Odaki <[email protected]>