mbox series

[v2,0/2] hw/char/serial: Convert to three-phase reset

Message ID 20250110182759.84071-1-philmd@linaro.org (mailing list archive)
Headers show
Series hw/char/serial: Convert to three-phase reset | expand

Message

Philippe Mathieu-Daudé Jan. 10, 2025, 6:27 p.m. UTC
v2:
- Addressed Paolo's comments from v1 (except &error_abort).

Note, this fixes a bug where serial_realize() was calling
serial_reset() -> qemu_irq_lower() while the IRQ was not
yet created.

Philippe Mathieu-Daudé (2):
  hw/char/serial: Ensure SerialState::irq is set when realizing
  hw/char/serial: Convert to three-phase reset

 hw/char/serial-pci-multi.c |  2 +-
 hw/char/serial-pci.c       |  2 +-
 hw/char/serial.c           | 12 ++++++------
 3 files changed, 8 insertions(+), 8 deletions(-)