[PATCH 00/15] hw/timer/arm_timer: QOM'ify ARM_TIMER and correct sysbus/irq in ICP_PIT

Philippe Mathieu-Daudé posted 15 patches 10 months, 2 weeks ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20230531203559.29140-1-philmd@linaro.org
Maintainers: Peter Maydell <peter.maydell@linaro.org>
There is a newer version of this series
hw/timer/arm_timer.c | 314 ++++++++++++++++++++++++++-----------------
1 file changed, 194 insertions(+), 120 deletions(-)
[PATCH 00/15] hw/timer/arm_timer: QOM'ify ARM_TIMER and correct sysbus/irq in ICP_PIT
Posted by Philippe Mathieu-Daudé 10 months, 2 weeks ago
This series converts the ARM_TIMER model to QOM.

Doing so we also correct an abuse of SysBus IRQ in
the ICP PIT model.

Sergey, I Cc you on this series because various patches
are simple / trivial enough so you can get an idea how
to structure your BCM/VC series. Still you are welcome
to review this series ;) (just the patches that you feel
confident enough).

Regards,

Phil.

Philippe Mathieu-Daudé (15):
  hw/timer/arm_timer: Declare QOM types using DEFINE_TYPES() macro
  hw/timer/arm_timer: Move SP804 code around
  hw/timer/arm_timer: Add missing sp804_unrealize() handler
  hw/timer/arm_timer: Remove pointless cast from void *
  hw/timer/arm_timer: CamelCase rename icp_pit_state ->
    IntegratorPitState
  hw/timer/arm_timer: CamelCase rename arm_timer_state -> ArmTimerState
  hw/timer/arm_timer: Extract arm_timer_reset()
  hw/timer/arm_timer: Rename arm_timer_init() -> arm_timer_new()
  hw/timer/arm_timer: Convert ArmTimerState::freq to uint32_t type
  hw/timer/arm_timer: Use array of frequency in SP804State
  hw/timer/arm_timer: Iterate on timers using for() loop statement
  hw/timer/arm_timer: Pass timer output IRQ as parameter to
    arm_timer_new
  hw/timer/arm_timer: Fix misuse of SysBus IRQ in IcpPitState
  hw/timer/arm_timer: Extract icp_pit_realize() from icp_pit_init()
  hw/timer/arm_timer: QOM'ify ARM_TIMER

 hw/timer/arm_timer.c | 314 ++++++++++++++++++++++++++-----------------
 1 file changed, 194 insertions(+), 120 deletions(-)

-- 
2.38.1