hw/cpu/arm: Remove one use of qemu_get_cpu() in A7/A15 MPCore priv
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest33 patches 42 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/33 | hw/arm/boot: Propagate vCPU to arm_load_dtb()hw/ hw/ include/ | +10 | 1 reply | |
| 2/33 | hw/arm/fsl-imx6: Add a local 'gic' variablehw/ | +13 | 1 reply | |
| 3/33 | hw/arm/fsl-imx6ul: Add a local 'gic' variablehw/ | +14 | 1 reply | |
| 4/33 | hw/arm/fsl-imx7: Add a local 'gic' variablehw/ | +17 | 1 reply | |
| 5/33 | hw/cpu: Remove dead Kconfighw/ | +0 | 1 reply | |
| 6/33 | hw/cpu/arm: Rename 'busdev' -> 'gicsbd' in a15mp_priv_realize()hw/ | +8 | 1 reply | |
| 7/33 | hw/cpu/arm: Alias 'num-cpu' property on TYPE_REALVIEW_MPCOREhw/ | +1 | 1 reply | |
| 8/33 | hw/cpu/arm: Declare CPU QOM types using DEFINE_TYPES() macrohw/ hw/ hw/ +1 more | +36 | 1 reply | |
| 9/33 | hw/cpu/arm: Merge {a9mpcore.h, a15mpcore.h} as cortex_mpcore.hMAINTAINERS hw/ hw/ +13 more | +35 | 1 reply | |
| 10/33 | hw/cpu/arm: Introduce abstract CORTEX_MPCORE_PRIV QOM typehw/ hw/ hw/ +1 more | +47 | 1 reply | |
| 11/33 | hw/cpu/arm: Have A9MPCORE/A15MPCORE inheritate common CORTEX_MPCORE_PRIVhw/ hw/ hw/ +1 more | +29 | 1 reply | |
| 12/33 | hw/cpu/arm: Create MPCore container in QOM parenthw/ hw/ hw/ +1 more | +39 | 1 reply | |
| 13/33 | hw/cpu/arm: Handle 'num_cores' property once in MPCore parenthw/ hw/ hw/ +10 more | +46 | 0 replies | |
| 14/33 | hw/cpu/arm: Handle 'has_el2/3' properties once in MPCore parenthw/ hw/ hw/ +4 more | +35 | 2 replies | |
| 15/33 | hw/cpu/arm: Handle 'gic-irq' property once in MPCore parenthw/ hw/ hw/ +1 more | +40 | 0 replies | |
| 16/33 | hw/cpu/arm: Handle GIC once in MPCore parenthw/ hw/ hw/ +2 more | +88 | 0 replies | |
| 17/33 | hw/cpu/arm: Document more properties of CORTEX_MPCORE_PRIV QOM typeinclude/ | +7 | 0 replies | |
| 18/33 | hw/cpu/arm: Replace A15MPPrivState by CortexMPPrivStatehw/ include/ include/ +2 more | +4 | 0 replies | |
| 19/33 | hw/cpu/arm: Introduce TYPE_A7MPCORE_PRIV for Cortex-A7 MPCorehw/ hw/ hw/ +2 more | +35 | 0 replies | |
| 20/33 | hw/cpu/arm: Consolidate check on max GIC spi supportedhw/ | +7 | 0 replies | |
| 21/33 | hw/cpu/arm: Create CPUs once in MPCore parenthw/ include/ | +100 | 0 replies | |
| 22/33 | hw/arm/aspeed_ast2600: Let the A7MPcore create/wire the CPU coreshw/ include/ | +18 | 1 reply | |
| 23/33 | hw/arm/exynos4210: Let the A9MPcore create/wire the CPU coreshw/ hw/ include/ | +26 | 0 replies | |
| 24/33 | hw/arm/fsl-imx6: Let the A9MPcore create/wire the CPU coreshw/ hw/ include/ | +11 | 0 replies | |
| 25/33 | hw/arm/fsl-imx6ul: Let the A7MPcore create/wire the CPU coreshw/ hw/ include/ | +8 | 0 replies | |
| 26/33 | hw/arm/fsl-imx7: Let the A7MPcore create/wire the CPU coreshw/ hw/ include/ | +10 | 0 replies | |
| 27/33 | hw/arm/highbank: Let the A9/A15MPcore create/wire the CPU coreshw/ | +8 | 0 replies | |
| 28/33 | hw/arm/vexpress: Let the A9/A15MPcore create/wire the CPU coreshw/ | +6 | 0 replies | |
| 29/33 | hw/arm/xilinx_zynq: Let the A9MPcore create/wire the CPU coreshw/ | +5 | 0 replies | |
| 30/33 | hw/arm/npcm7xx: Let the A9MPcore create/wire the CPU coreshw/ include/ | +12 | 0 replies | |
| 31/33 | hw/cpu/a9mpcore: Remove legacy codehw/ hw/ | +8 | 0 replies | |
| 32/33 | hw/cpu/arm: Remove 'num-cpu' property aliashw/ hw/ hw/ | +0 | 0 replies | |
| 33/33 | hw/cpu/arm: Remove use of qemu_get_cpu() in A7/A15 realize()hw/ | +1 | 0 replies |
Reviews trailers per patch
13 of 33 patches have a Reviewed-by or Acked-by.
| Patch | Andrew Jeffery | Cédric Le Goater |
|---|---|---|
| 1/33 | R-b | |
| 2/33 | R-b | |
| 3/33 | R-b | |
| 4/33 | R-b | |
| 5/33 | R-b | |
| 6/33 | R-b | |
| 7/33 | R-b | |
| 8/33 | R-b | |
| 9/33 | R-b | |
| 10/33 | R-b | |
| 11/33 | R-b | |
| 12/33 | R-b | |
| 13/33 | ||
| 14/33 | ||
| 15/33 | ||
| 16/33 | ||
| 17/33 | ||
| 18/33 | ||
| 19/33 | ||
| 20/33 | ||
| 21/33 | ||
| 22/33 | A-b | |
| 23/33 | ||
| 24/33 | ||
| 25/33 | ||
| 26/33 | ||
| 27/33 | ||
| 28/33 | ||
| 29/33 | ||
| 30/33 | ||
| 31/33 | ||
| 32/33 | ||
| 33/33 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 00/33] hw/cpu/arm: Remove one use of qemu_get_cpu() in A7/A15 MPCore priv
Hi,
When a MPCore cluster is used, the Cortex-A cores belong the the cluster container, not to the board/soc layer. This series move the creation of vCPUs to the MPCore private container.
Doing so we consolidate the QOM model, moving common code in a central place (abstract MPCore parent).
This eventually allow removing one qemu_get_cpu() use, which we want to remove in heterogeneous machines (machines using MPCore are candidate for heterogeneous emulation).
Maybe these hw/cpu/arm/ files belong to hw/arm/...
Regards,
Phil.
Philippe Mathieu-Daudé (33):
hw/arm/boot: Propagate vCPU to arm_load_dtb() hw/arm/fsl-imx6: Add a local 'gic' variable hw/arm/fsl-imx6ul: Add a local 'gic' variable hw/arm/fsl-imx7: Add a local 'gic' variable
hw/cpu: Remove dead Kconfig
hw/cpu/arm: Rename 'busdev' -> 'gicsbd' in a15mp_priv_realize() hw/cpu/arm: Alias 'num-cpu' property on TYPE_REALVIEW_MPCORE hw/cpu/arm: Declare CPU QOM types using DEFINE_TYPES() macro hw/cpu/arm: Merge {a9mpcore.h, a15mpcore.h} as cortex_mpcore.h hw/cpu/arm: Introduce abstract CORTEX_MPCORE_PRIV QOM type hw/cpu/arm: Have A9MPCORE/A15MPCORE inheritate common
CORTEX_MPCORE_PRIV
hw/cpu/arm: Create MPCore container in QOM parent hw/cpu/arm: Handle 'num_cores' property once in MPCore parent hw/cpu/arm: Handle 'has_el2/3' properties once in MPCore parent hw/cpu/arm: Handle 'gic-irq' property once in MPCore parent hw/cpu/arm: Handle GIC once in MPCore parent
hw/cpu/arm: Document more properties of CORTEX_MPCORE_PRIV QOM type hw/cpu/arm: Replace A15MPPrivState by CortexMPPrivState hw/cpu/arm: Introduce TYPE_A7MPCORE_PRIV for Cortex-A7 MPCore hw/cpu/arm: Consolidate check on max GIC spi supported hw/cpu/arm: Create CPUs once in MPCore parent hw/arm/aspeed_ast2600: Let the A7MPcore create/wire the CPU cores hw/arm/exynos4210: Let the A9MPcore create/wire the CPU cores hw/arm/fsl-imx6: Let the A9MPcore create/wire the CPU cores hw/arm/fsl-imx6ul: Let the A7MPcore create/wire the CPU cores hw/arm/fsl-imx7: Let the A7MPcore create/wire the CPU cores hw/arm/highbank: Let the A9/A15MPcore create/wire the CPU cores hw/arm/vexpress: Let the A9/A15MPcore create/wire the CPU cores hw/arm/xilinx_zynq: Let the A9MPcore create/wire the CPU cores hw/arm/npcm7xx: Let the A9MPcore create/wire the CPU cores hw/cpu/a9mpcore: Remove legacy code
hw/cpu/arm: Remove 'num-cpu' property alias
hw/cpu/arm: Remove use of qemu_get_cpu() in A7/A15 realize()
MAINTAINERS | 3 +- include/hw/arm/aspeed_soc.h | 5 +- include/hw/arm/boot.h | 4 +- include/hw/arm/exynos4210.h | 6 +- include/hw/arm/fsl-imx6.h | 6 +- include/hw/arm/fsl-imx6ul.h | 8 +- include/hw/arm/fsl-imx7.h | 8 +- include/hw/arm/npcm7xx.h | 3 +- include/hw/cpu/a15mpcore.h | 44 ------- include/hw/cpu/a9mpcore.h | 39 ------- include/hw/cpu/cortex_mpcore.h | 135 ++++++++++++++++++++++ hw/arm/aspeed_ast2600.c | 61 ++++------ hw/arm/boot.c | 11 +- hw/arm/exynos4210.c | 60 ++++------ hw/arm/exynos4_boards.c | 6 +- hw/arm/fsl-imx6.c | 84 ++++---------- hw/arm/fsl-imx6ul.c | 65 ++++------- hw/arm/fsl-imx7.c | 103 +++++------------ hw/arm/highbank.c | 56 ++------- hw/arm/mcimx6ul-evk.c | 3 +- hw/arm/mcimx7d-sabre.c | 3 +- hw/arm/npcm7xx.c | 48 ++------ hw/arm/realview.c | 4 +- hw/arm/sabrelite.c | 4 +- hw/arm/vexpress.c | 60 +++------- hw/arm/virt.c | 2 +- hw/arm/xilinx_zynq.c | 30 ++--- hw/cpu/a15mpcore.c | 179 +++++++++++++---------------- hw/cpu/a9mpcore.c | 138 +++++++++------------- hw/cpu/arm11mpcore.c | 23 ++-- hw/cpu/cortex_mpcore.c | 202 +++++++++++++++++++++++++++++++++ hw/cpu/realview_mpcore.c | 30 ++--- hw/arm/Kconfig | 8 +- hw/cpu/Kconfig | 8 -- hw/cpu/meson.build | 1 + 35 files changed, 689 insertions(+), 761 deletions(-) delete mode 100644 include/hw/cpu/a15mpcore.h delete mode 100644 include/hw/cpu/a9mpcore.h create mode 100644 include/hw/cpu/cortex_mpcore.h create mode 100644 hw/cpu/cortex_mpcore.c delete mode 100644 hw/cpu/Kconfig
Signature · 1 line
2.41.0