Skip to content

arm: Spring header cleanups

Philippe Mathieu-Daudé qemu-arm qemu-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest13 patches 4 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/13target/arm/cpu-features: Include missing 'cpu.h' headertarget/arm/cpu-features.h+1 -00 replies
2/13target/arm/qmp: Include missing 'cpu.h' headertarget/arm/arm-qmp-cmds.c+1 -00 replies
3/13target/arm/kvm: Include missing 'cpu-qom.h' headertarget/arm/kvm_arm.h+1 -00 replies
4/13target/arm/hvf: Include missing 'cpu-qom.h' headertarget/arm/hvf_arm.h+1 -10 replies
5/13hw/arm: Remove unnecessary 'cpu.h' headerhw/arm/exynos4210.c hw/arm/highbank.c hw/arm/mps3r.c +1 more+0 -40 replies
6/13target/arm: Restrict inclusion of 'multiprocessing.h'target/arm/cpu.c target/arm/cpu.h+1 -10 replies
7/13target/arm: Move some definitions from 'cpu.h' to 'multiprocessing.h'hw/arm/aspeed_ast2600.c hw/arm/aspeed_ast27x0.c hw/arm/exynos4210.c +6 more+25 -170 replies
8/13hw/arm: Include missing 'target/arm/gtimer.h' headerhw/arm/aspeed_ast27x0.c hw/arm/bcm2838.c hw/arm/exynos4210.c +5 more+8 -00 replies
9/13target/arm: Extract PSCI definitions to 'psci.h'hw/arm/bananapi_m2u.c hw/arm/boot.c hw/arm/highbank.c +17 more+37 -70 replies
10/13target/arm: Extract feature definitions to 'cpu_has_feature.h' headertarget/arm/cpu.h target/arm/cpu_has_feature.h+66 -530 replies
11/13target/arm: Add arm_cpu_has_feature() helpertarget/arm/cpu.c target/arm/cpu_has_feature.h+9 -00 replies
12/13hw/arm/realview: Replace arm_feature() -> arm_cpu_has_feature()hw/arm/realview.c+4 -60 replies
13/13hw/arm/virt-acpi: Replace arm_feature() -> arm_cpu_has_feature()hw/arm/virt-acpi-build.c+2 -10 replies

Reviews trailers per patch

None of the 13 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchPierrick Bouvier
SeriesR-b
1/13
2/13
3/13
4/13
5/13
6/13
7/13
8/13
9/13
10/13
11/13
12/13
13/13

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-for-10.1 00/13] arm: Spring header cleanups

This series is more useful for heterogeneous emulation preparation than single binary, because it allows non-ARM hw/ code to configure ARM cores, so not using target-specific APIs. I figured some patches could be useful to Pierrick "build hw/arm once" series (in particular arm_cpu_has_feature).

Philippe Mathieu-Daudé (13):
target/arm/cpu-features: Include missing 'cpu.h' header target/arm/qmp: Include missing 'cpu.h' header target/arm/kvm: Include missing 'cpu-qom.h' header target/arm/hvf: Include missing 'cpu-qom.h' header
hw/arm: Remove unnecessary 'cpu.h' header
target/arm: Restrict inclusion of 'multiprocessing.h' target/arm: Move some definitions from 'cpu.h' to 'multiprocessing.h' hw/arm: Include missing 'target/arm/gtimer.h' header target/arm: Extract PSCI definitions to 'psci.h' target/arm: Extract feature definitions to 'cpu_has_feature.h' header target/arm: Add arm_cpu_has_feature() helper hw/arm/realview: Replace arm_feature() -> arm_cpu_has_feature() hw/arm/virt-acpi: Replace arm_feature() -> arm_cpu_has_feature()

 include/hw/arm/boot.h        |  3 +-
 target/arm/cpu-features.h    |  1 +
 target/arm/cpu.h             | 78 +-----------------------------------
 target/arm/cpu_has_feature.h | 67 +++++++++++++++++++++++++++++++
 target/arm/hvf_arm.h         |  2 +-
 target/arm/kvm_arm.h         |  1 +
 target/arm/multiprocessing.h | 18 +++++++++
 target/arm/psci.h            | 18 +++++++++
 hw/arm/aspeed_ast2600.c      |  1 +
 hw/arm/aspeed_ast27x0.c      |  2 +
 hw/arm/bananapi_m2u.c        |  1 +
 hw/arm/bcm2838.c             |  1 +
 hw/arm/boot.c                |  1 +
 hw/arm/exynos4210.c          |  3 +-
 hw/arm/fsl-imx8mp.c          |  1 +
 hw/arm/highbank.c            |  2 +-
 hw/arm/imx8mp-evk.c          |  1 +
 hw/arm/mcimx6ul-evk.c        |  1 +
 hw/arm/mcimx7d-sabre.c       |  1 +
 hw/arm/mps3r.c               |  2 +-
 hw/arm/npcm8xx.c             |  2 +
 hw/arm/orangepi.c            |  1 +
 hw/arm/realview.c            | 10 ++---
 hw/arm/sbsa-ref.c            |  2 +
 hw/arm/smmuv3.c              |  1 -
 hw/arm/virt-acpi-build.c     |  4 +-
 hw/arm/virt.c                |  1 +
 hw/arm/xlnx-versal-virt.c    |  1 +
 hw/arm/xlnx-zcu102.c         |  1 +
 hw/vmapple/vmapple.c         |  3 ++
 target/arm/arm-qmp-cmds.c    |  1 +
 target/arm/cpu.c             |  8 ++++
 target/arm/helper.c          |  1 +
 target/arm/hvf/hvf.c         |  1 +
 target/arm/kvm.c             |  1 +
 target/arm/tcg/op_helper.c   |  2 +
 target/arm/tcg/psci.c        |  1 +
 37 files changed, 156 insertions(+), 90 deletions(-)
 create mode 100644 target/arm/cpu_has_feature.h
 create mode 100644 target/arm/psci.h
Signature · 1 line
2.47.1