Message ID | 20220617060703.951747-1-aik@ozlabs.ru |
---|---|
Headers | show |
Series | ppc/spapr: Implement H_WATCHDOG | expand |
On 6/17/22 03:07, Alexey Kardashevskiy wrote: > 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. This version worked with the kernel side patches you mentioned in patch 2/2, thanks. Also tested migrating the guest with the WDT active and the guest rebooted in the destination. Tested-by: Daniel Henrique Barboza <danielhb413@gmail.com> > > > > 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 >