[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v3 00/16] hw/arm/raspi: Add thermal/timer, improve address space,
From: |
Philippe Mathieu-Daudé |
Subject: |
[PATCH v3 00/16] hw/arm/raspi: Add thermal/timer, improve address space, run U-boot |
Date: |
Sun, 20 Oct 2019 01:46:59 +0200 |
Since v2:
- fixed issue in videocore address space
- allow to start with some cores OFF (to boot firmwares)
- add proof-of-concept test for '-smp cores=1' and U-boot
- fixed my email setup
Previous cover:
Hi,
Some patches from v1 are already merged. This v2 addresses the
review comment from v1, and add patches to clean the memory
space when using multiple cores.
Laurent, if you test U-Boot with this patchset again, do you mind
replying with a "Tested-by:" tag?
The next patchset is probably about the interrupt controller blocks,
then will come another one about the MBox/Properties.
The last patch is unrelated to the series, but since I cleaned this
for the raspi and the highbank is the only board with the same issue,
I included the patch in this series.
Please review.
Regards,
Phil.
$ git backport-diff -u v2
001/16:[----] [--] 'hw/misc/bcm2835_thermal: Add a dummy BCM2835 thermal sensor'
002/16:[----] [--] 'hw/arm/bcm2835_peripherals: Use the thermal sensor block'
003/16:[----] [--] 'hw/timer/bcm2835: Add the BCM2835 SYS_timer'
004/16:[----] [--] 'hw/arm/bcm2835_peripherals: Use the SYS_timer'
005/16:[----] [--] 'hw/arm/bcm2836: Make the SoC code modular'
006/16:[down] 'hw/arm/bcm2836: Rename cpus[] as cpu[].core'
007/16:[0053] [FC] 'hw/arm/bcm2836: Use per CPU address spaces'
008/16:[down] 'hw/arm/bcm2835_peripherals: Add const link property in realize()'
009/16:[0105] [FC] 'hw/arm/bcm2836: Create VideoCore address space in the SoC'
010/16:[----] [--] 'hw/arm/raspi: Use AddressSpace when using
arm_boot::write_secondary_boot'
011/16:[down] 'hw/arm/raspi: Use -smp cores=<N> option to restrict enabled
cores'
012/16:[down] 'hw/arm/bcm2836: Rename enabled_cpus -> enabled_cores'
013/16:[----] [-C] 'hw/arm/raspi: Make the board code modular'
014/16:[----] [--] 'hw/arm/highbank: Use AddressSpace when using
write_secondary_boot()'
015/16:[down] 'python/qemu/machine: Allow to use other serial consoles than
default'
016/16:[down] 'NOTFORMERGE tests/acceptance: Test U-boot on the Raspberry Pi 3'
v2: https://lists.gnu.org/archive/html/qemu-devel/2019-10/msg04474.html
Philippe Mathieu-Daudé (16):
hw/misc/bcm2835_thermal: Add a dummy BCM2835 thermal sensor
hw/arm/bcm2835_peripherals: Use the thermal sensor block
hw/timer/bcm2835: Add the BCM2835 SYS_timer
hw/arm/bcm2835_peripherals: Use the SYS_timer
hw/arm/bcm2836: Make the SoC code modular
hw/arm/bcm2836: Rename cpus[] as cpu[].core
hw/arm/bcm2836: Use per CPU address spaces
hw/arm/bcm2835_peripherals: Add const link property in realize()
hw/arm/bcm2836: Create VideoCore address space in the SoC
hw/arm/raspi: Use AddressSpace when using
arm_boot::write_secondary_boot
hw/arm/raspi: Use -smp cores=<N> option to restrict enabled cores
hw/arm/bcm2836: Rename enabled_cpus -> enabled_cores
hw/arm/raspi: Make the board code modular
hw/arm/highbank: Use AddressSpace when using write_secondary_boot()
python/qemu/machine: Allow to use other serial consoles than default
NOTFORMERGE tests/acceptance: Test U-boot on the Raspberry Pi 3
hw/arm/bcm2835_peripherals.c | 76 +++++++----
hw/arm/bcm2836.c | 119 ++++++++++++++----
hw/arm/highbank.c | 3 +-
hw/arm/raspi.c | 127 +++++++++++++++----
hw/misc/Makefile.objs | 1 +
hw/misc/bcm2835_thermal.c | 135 ++++++++++++++++++++
hw/timer/Makefile.objs | 1 +
hw/timer/bcm2835_systmr.c | 166 +++++++++++++++++++++++++
hw/timer/trace-events | 5 +
include/hw/arm/bcm2835_peripherals.h | 9 +-
include/hw/arm/bcm2836.h | 17 ++-
include/hw/arm/raspi_platform.h | 1 +
include/hw/misc/bcm2835_thermal.h | 27 ++++
include/hw/timer/bcm2835_systmr.h | 33 +++++
python/qemu/machine.py | 9 +-
tests/acceptance/boot_linux_console.py | 23 ++++
16 files changed, 671 insertions(+), 81 deletions(-)
create mode 100644 hw/misc/bcm2835_thermal.c
create mode 100644 hw/timer/bcm2835_systmr.c
create mode 100644 include/hw/misc/bcm2835_thermal.h
create mode 100644 include/hw/timer/bcm2835_systmr.h
--
2.21.0
- [PATCH v3 00/16] hw/arm/raspi: Add thermal/timer, improve address space, run U-boot,
Philippe Mathieu-Daudé <=
- [PATCH v3 01/16] hw/misc/bcm2835_thermal: Add a dummy BCM2835 thermal sensor, Philippe Mathieu-Daudé, 2019/10/19
- [PATCH v3 02/16] hw/arm/bcm2835_peripherals: Use the thermal sensor block, Philippe Mathieu-Daudé, 2019/10/19
- [PATCH v3 04/16] hw/arm/bcm2835_peripherals: Use the SYS_timer, Philippe Mathieu-Daudé, 2019/10/19
- [PATCH v3 03/16] hw/timer/bcm2835: Add the BCM2835 SYS_timer, Philippe Mathieu-Daudé, 2019/10/19
- [PATCH v3 05/16] hw/arm/bcm2836: Make the SoC code modular, Philippe Mathieu-Daudé, 2019/10/19
- [PATCH v3 06/16] hw/arm/bcm2836: Rename cpus[] as cpu[].core, Philippe Mathieu-Daudé, 2019/10/19