qemu/hw/hppa
Helge Deller 50ba97e928 target/hppa: Fix OS reboot issues
When the OS triggers a reboot, the reset helper function sends a
qemu_system_reset_request(SHUTDOWN_CAUSE_GUEST_RESET) together with an
EXCP_HLT exception to halt the CPUs.

So, at reboot when initializing the CPUs again, make sure to set all
instruction pointers to the firmware entry point, disable any interrupts,
disable data and instruction translations, enable PSW_Q bit  and tell qemu
to unhalt (halted=0) the CPUs again.

This fixes the various reboot issues which were seen when rebooting a
Linux VM, including the case where even the monarch CPU has been virtually
halted from the OS (e.g. via "chcpu -d 0" inside the Linux VM).

Signed-off-by: Helge Deller <deller@gmx.de>
2023-06-24 13:39:48 +02:00
..
hppa_hardware.h hppa: Fix serial port assignments and pass-through 2022-05-28 12:25:42 +02:00
Kconfig lasi: move from hw/hppa to hw/misc 2022-05-08 18:52:37 +01:00
machine.c target/hppa: Fix OS reboot issues 2023-06-24 13:39:48 +02:00
meson.build hppa: remove hw/hppa/pci.c 2022-05-08 18:52:37 +01:00
trace.h trace: switch position of headers to what Meson requires 2020-08-21 06:18:24 -04:00