This version fixes the problems found by Daniel with e500 tests and
rebases on ppc-next.
Based-on: https://gitlab.com/danielhb/qemu/-/tree/ppc-next
Matheus Ferst (3):
target/ppc: introduce ppc_maybe_interrupt
target/ppc: unify cpu->has_work based on cs->interrupt_request
target/ppc: move the p*_interrupt_powersave methods to excp_helper.c
hw/ppc/pnv_core.c | 1 +
hw/ppc/ppc.c | 7 +-
hw/ppc/spapr_hcall.c | 6 ++
hw/ppc/spapr_rtas.c | 2 +-
target/ppc/cpu.c | 2 +
target/ppc/cpu.h | 1 +
target/ppc/cpu_init.c | 196 +--------------------------------------
target/ppc/excp_helper.c | 144 ++++++++++++++++++++++++++++
target/ppc/helper.h | 1 +
target/ppc/helper_regs.c | 2 +
target/ppc/internal.h | 6 --
target/ppc/translate.c | 11 ++-
12 files changed, 170 insertions(+), 209 deletions(-)