Skip to content

hw/arm/raspi: Fix SYS_timer on Linux + misc changes

Philippe Mathieu-Daudé qemu-arm qemu-devel 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest7 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/7hw/arm/raspi: Define various blocks base addressesinclude/hw/arm/raspi_platform.h+43 -80 replies
2/7hw/arm/bcm2835: Add more unimplemented peripheralshw/arm/bcm2835_peripherals.c include/hw/arm/bcm2835_peripherals.h+4 -00 replies
3/7hw/intc/bcm2835_ic: Trace GPU/CPU IRQ handlershw/intc/bcm2835_ic.c hw/intc/trace-events+7 -10 replies
4/7hw/timer/bcm2835: Introduce BCM2835_SYSTIMER_COUNT definitionhw/timer/bcm2835_systmr.c include/hw/timer/bcm2835_systmr.h+5 -20 replies
5/7hw/timer/bcm2835: Rename variable holding CTRL_STATUS registerhw/timer/bcm2835_systmr.c include/hw/timer/bcm2835_systmr.h+5 -50 replies
6/7hw/timer/bcm2835: Support the timer COMPARE registershw/timer/bcm2835_systmr.c hw/timer/trace-events include/hw/timer/bcm2835_systmr.h+37 -190 replies
7/7hw/arm/bcm2835_peripherals: Correctly wire the SYS_timer IRQshw/arm/bcm2835_peripherals.c+11 -20 replies

Reviews trailers per patch

1 of 7 patches has a Reviewed-by or Acked-by.

PatchAlex Bennée
1/7R-b
2/7
3/7
4/7
5/7
6/7
7/7

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/7] hw/arm/raspi: Fix SYS_timer on Linux + misc changes

In this series we implement the COMPARE registers of the SYS_timer, since they are used by Linux.

This fixes the hang reported by Niek here:
https://www.mail-archive.com/[email protected]/msg682090.html

Few trivial patches used while working on this added.

Philippe Mathieu-Daudé (7):
hw/arm/raspi: Define various blocks base addresses hw/arm/bcm2835: Add more unimplemented peripherals hw/intc/bcm2835_ic: Trace GPU/CPU IRQ handlers hw/timer/bcm2835: Introduce BCM2835_SYSTIMER_COUNT definition hw/timer/bcm2835: Rename variable holding CTRL_STATUS register hw/timer/bcm2835: Support the timer COMPARE registers hw/arm/bcm2835_peripherals: Correctly wire the SYS_timer IRQs

 include/hw/arm/bcm2835_peripherals.h |  2 ++
 include/hw/arm/raspi_platform.h      | 51 +++++++++++++++++++++++-----
 include/hw/timer/bcm2835_systmr.h    | 17 +++++++---
 hw/arm/bcm2835_peripherals.c         | 15 ++++++--
 hw/intc/bcm2835_ic.c                 |  4 ++-
 hw/timer/bcm2835_systmr.c            | 50 ++++++++++++++++-----------
 hw/intc/trace-events                 |  4 +++
 hw/timer/trace-events                |  4 ++-
 8 files changed, 111 insertions(+), 36 deletions(-)
Signature · 1 line
2.26.2