All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v3 00/16] hw/arm/raspi: Add thermal/timer, improve address space, run U-boot
@ 2019-10-19 23:46 Philippe Mathieu-Daudé
  2019-10-19 23:47 ` [PATCH v3 01/16] hw/misc/bcm2835_thermal: Add a dummy BCM2835 thermal sensor Philippe Mathieu-Daudé
                   ` (16 more replies)
  0 siblings, 17 replies; 36+ messages in thread
From: Philippe Mathieu-Daudé @ 2019-10-19 23:46 UTC (permalink / raw)
  To: qemu-devel
  Cc: Peter Maydell, Matthias Brugger, Rob Herring, Alistair Francis,
	Richard Henderson, Philippe Mathieu-Daudé,
	Andrew Baumann, Esteban Bosse, Emilio G . Cota,
	Clement Deschamps, qemu-arm, Cleber Rosa, Laurent Bonnans,
	Cheng Xiang, Philippe Mathieu-Daudé,
	Pekka Enberg, Pete Batard

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



^ permalink raw reply	[flat|nested] 36+ messages in thread

end of thread, other threads:[~2019-11-07 10:42 UTC | newest]

Thread overview: 36+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-10-19 23:46 [PATCH v3 00/16] hw/arm/raspi: Add thermal/timer, improve address space, run U-boot Philippe Mathieu-Daudé
2019-10-19 23:47 ` [PATCH v3 01/16] hw/misc/bcm2835_thermal: Add a dummy BCM2835 thermal sensor Philippe Mathieu-Daudé
2019-10-21 20:26   ` Alistair Francis
2019-10-19 23:47 ` [PATCH v3 02/16] hw/arm/bcm2835_peripherals: Use the thermal sensor block Philippe Mathieu-Daudé
2019-10-19 23:47 ` [PATCH v3 03/16] hw/timer/bcm2835: Add the BCM2835 SYS_timer Philippe Mathieu-Daudé
2019-10-21 20:31   ` Alistair Francis
2019-10-24 13:42     ` Philippe Mathieu-Daudé
2019-10-19 23:47 ` [PATCH v3 04/16] hw/arm/bcm2835_peripherals: Use the SYS_timer Philippe Mathieu-Daudé
2019-10-19 23:47 ` [PATCH v3 05/16] hw/arm/bcm2836: Make the SoC code modular Philippe Mathieu-Daudé
2019-10-21 20:34   ` Alistair Francis
2019-10-19 23:47 ` [PATCH v3 06/16] hw/arm/bcm2836: Rename cpus[] as cpu[].core Philippe Mathieu-Daudé
2019-10-21 20:46   ` Alistair Francis
2019-10-19 23:47 ` [PATCH v3 07/16] hw/arm/bcm2836: Use per CPU address spaces Philippe Mathieu-Daudé
2019-10-21 23:14   ` Alistair Francis
2019-10-19 23:47 ` [PATCH v3 08/16] hw/arm/bcm2835_peripherals: Add const link property in realize() Philippe Mathieu-Daudé
2019-10-21 23:16   ` Alistair Francis
2019-10-19 23:47 ` [PATCH v3 09/16] hw/arm/bcm2836: Create VideoCore address space in the SoC Philippe Mathieu-Daudé
2019-10-19 23:47 ` [PATCH v3 10/16] hw/arm/raspi: Use AddressSpace when using arm_boot::write_secondary_boot Philippe Mathieu-Daudé
2019-10-21 23:22   ` Alistair Francis
2019-10-19 23:47 ` [PATCH v3 11/16] hw/arm/raspi: Use -smp cores=<N> option to restrict enabled cores Philippe Mathieu-Daudé
2019-10-24 13:23   ` Peter Maydell
2019-10-24 13:37     ` Philippe Mathieu-Daudé
2019-11-07 10:41   ` Bonnans, Laurent
2019-10-19 23:47 ` [PATCH v3 12/16] hw/arm/bcm2836: Rename enabled_cpus -> enabled_cores Philippe Mathieu-Daudé
2019-10-19 23:47 ` [PATCH v3 13/16] hw/arm/raspi: Make the board code modular Philippe Mathieu-Daudé
2019-10-19 23:47 ` [PATCH v3 14/16] hw/arm/highbank: Use AddressSpace when using write_secondary_boot() Philippe Mathieu-Daudé
2019-10-21 23:23   ` Alistair Francis
2019-10-19 23:47 ` [PATCH v3 15/16] python/qemu/machine: Allow to use other serial consoles than default Philippe Mathieu-Daudé
2019-10-19 23:47 ` [PATCH NOTFORMERGE v3 16/16] tests/acceptance: Test U-boot on the Raspberry Pi 3 Philippe Mathieu-Daudé
2019-10-24 13:42 ` [PATCH v3 00/16] hw/arm/raspi: Add thermal/timer, improve address space, run U-boot Peter Maydell
2019-10-24 13:46   ` Philippe Mathieu-Daudé
2019-10-24 13:49     ` Peter Maydell
2019-10-24 13:51       ` Philippe Mathieu-Daudé
2019-10-24 15:31   ` Peter Maydell
2019-10-24 19:46     ` Philippe Mathieu-Daudé
2019-10-25  7:34       ` Peter Maydell

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.