|
From: | Daniel Henrique Barboza |
Subject: | Re: [PATCH qemu v2 0/2] ppc/spapr: Implement H_WATCHDOG |
Date: | Fri, 17 Jun 2022 13:51:27 -0300 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.10.0 |
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
[Prev in Thread] | Current Thread | [Next in Thread] |