mbox series

[0/2] hw/ppc/prep_systemio: Remove &first_cpu and fix IRQ use

Message ID 20250110173217.80942-1-philmd@linaro.org
Headers show
Series hw/ppc/prep_systemio: Remove &first_cpu and fix IRQ use | expand

Message

Philippe Mathieu-Daudé Jan. 10, 2025, 5:32 p.m. UTC
- Pass the CPU from machine as LINK property and remove
  one &first_cpu use.
- Call qemu_set_irq() in ResetExit handler, not in Realize.

Philippe Mathieu-Daudé (2):
  hw/ppc/prep_systemio: Use link property to remove &first_cpu
  hw/ppc/prep_systemio: Set IOMap IRQ in ResetExit() handler

 hw/ppc/prep.c          |  2 ++
 hw/ppc/prep_systemio.c | 20 +++++++++++++++-----
 2 files changed, 17 insertions(+), 5 deletions(-)