The first patch of this series is the RFC of [1] (hence the r-b in v1). Patches 2~4 follow the other problems that Laurent pointed out, and patches 5-6 fix similar problems that I found.
[1] https://lists.gnu.org/archive/html/qemu-ppc/2022-01/msg00400.html Matheus Ferst (6): target/ppc: Fix gen_priv_exception error value in mfspr/mtspr target/ppc: fix exception error value in slbfee target/ppc: remove mfdcrux and mtdcrux target/ppc: fix exception error code in helper_{load,store}_dcr target/ppc: fix PMU Group A register read/write exceptions target/ppc: fix exception error code in spr_write_excp_vector target/ppc/cpu.h | 6 ++---- target/ppc/helper.h | 2 +- target/ppc/power8-pmu-regs.c.inc | 10 ++++----- target/ppc/timebase_helper.c | 6 +++--- target/ppc/translate.c | 36 ++++++++------------------------ 5 files changed, 20 insertions(+), 40 deletions(-) -- 2.25.1