hw/arm/v7m: Remove Cortex-M &first_cpu uses
Status from this message: Applied to target-arm.next, thanks.
Get series with b4
b4 am [email protected]Versions newest first
Patches in v1 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | hw/arm/nrf51: Rename ARMv7MState 'cpu' -> 'armv7m'hw/ include/ | +10 | 1 reply | |
| 2/3 | hw/arm/stellaris: Add 'armv7m' local variablehw/ | +11 | 2 replies | |
| 3/3 | hw/arm/v7m: Remove use of &first_cpu in machine_init()hw/ hw/ hw/ +8 more | +11 | 2 replies |
Reviews trailers per patch
All 3 patches have a Reviewed-by or Acked-by.
| Patch | Alistair Francis | Samuel Tardieu |
|---|---|---|
| 1/3 | R-b | |
| 2/3 | R-b | |
| 3/3 | R-b | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/3] hw/arm/v7m: Remove Cortex-M &first_cpu uses
After renaming a pair of fields in NRF51 & Stellaris boards, remove the &first_cpu global uses in Cortex-M boards.
Rational is &first_cpu is going to be restricted to generic accelerator code, then be removed. Similarly the global 'cpus_queue' containing target-agnostic CPUs is going to be restricted to generic accelerator, thus hw/ won't have direct access to it anymore.
Note, Cortex-A boards already have been dealt with in
https://lore.kernel.org/qemu-devel/[email protected]/
"hw/cpu/arm: Remove one use of qemu_get_cpu() in A7/A15 MPCore priv"
Philippe Mathieu-Daudé (3):
hw/arm/nrf51: Rename ARMv7MState 'cpu' -> 'armv7m' hw/arm/stellaris: Add 'armv7m' local variable hw/arm/v7m: Remove use of &first_cpu in machine_init()
include/hw/arm/nrf51_soc.h | 2 +- hw/arm/b-l475e-iot01a.c | 2 +- hw/arm/microbit.c | 2 +- hw/arm/mps2-tz.c | 2 +- hw/arm/mps2.c | 2 +- hw/arm/msf2-som.c | 2 +- hw/arm/musca.c | 2 +- hw/arm/netduino2.c | 2 +- hw/arm/netduinoplus2.c | 2 +- hw/arm/nrf51_soc.c | 18 +++++++++--------- hw/arm/olimex-stm32-h405.c | 2 +- hw/arm/stellaris.c | 23 ++++++++++++----------- hw/arm/stm32vldiscovery.c | 2 +- 13 files changed, 32 insertions(+), 31 deletions(-)
Signature · 1 line
2.47.1