This implements H_WATCHDOG. More detailed comments are in the patches. This is based on sha1 96c343cc774b Joel Stanley "linux-user: Add PowerPC ISA 3.1 and MMA to hwcap".
Please comment. Thanks. Alexey Kardashevskiy (2): ppc: Define SETFIELD for the ppc target ppc/spapr: Implement H_WATCHDOG include/hw/pci-host/pnv_phb3_regs.h | 16 -- include/hw/ppc/spapr.h | 29 +++- target/ppc/cpu.h | 5 + hw/intc/pnv_xive.c | 20 --- hw/intc/pnv_xive2.c | 20 --- hw/pci-host/pnv_phb4.c | 16 -- hw/ppc/spapr.c | 4 + hw/watchdog/spapr_watchdog.c | 248 ++++++++++++++++++++++++++++ hw/watchdog/meson.build | 1 + hw/watchdog/trace-events | 7 + 10 files changed, 293 insertions(+), 73 deletions(-) create mode 100644 hw/watchdog/spapr_watchdog.c -- 2.30.2