From: "Philippe Mathieu-Daudé" <philmd@linaro.org>
To: qemu-devel@nongnu.org
Cc: qemu-arm@nongnu.org,
"Pierrick Bouvier" <pierrick.bouvier@linaro.org>,
"Peter Maydell" <peter.maydell@linaro.org>,
"Philippe Mathieu-Daudé" <philmd@linaro.org>
Subject: [PATCH-for-10.1 00/13] arm: Spring header cleanups
Date: Thu, 3 Apr 2025 00:23:20 +0200 [thread overview]
Message-ID: <20250402222334.66511-1-philmd@linaro.org> (raw)
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
--
2.47.1
next reply other threads:[~2025-04-02 22:24 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-04-02 22:23 Philippe Mathieu-Daudé [this message]
2025-04-02 22:23 ` [PATCH-for-10.1 01/13] target/arm/cpu-features: Include missing 'cpu.h' header Philippe Mathieu-Daudé
2025-04-02 22:23 ` [PATCH-for-10.1 02/13] target/arm/qmp: " Philippe Mathieu-Daudé
2025-04-02 22:23 ` [PATCH-for-10.1 03/13] target/arm/kvm: Include missing 'cpu-qom.h' header Philippe Mathieu-Daudé
2025-04-02 22:23 ` [PATCH-for-10.1 04/13] target/arm/hvf: " Philippe Mathieu-Daudé
2025-04-02 22:23 ` [PATCH-for-10.1 05/13] hw/arm: Remove unnecessary 'cpu.h' header Philippe Mathieu-Daudé
2025-04-02 22:23 ` [PATCH-for-10.1 06/13] target/arm: Restrict inclusion of 'multiprocessing.h' Philippe Mathieu-Daudé
2025-04-02 22:23 ` [PATCH-for-10.1 07/13] target/arm: Move some definitions from 'cpu.h' to 'multiprocessing.h' Philippe Mathieu-Daudé
2025-04-02 22:23 ` [PATCH-for-10.1 08/13] hw/arm: Include missing 'target/arm/gtimer.h' header Philippe Mathieu-Daudé
2025-04-02 22:23 ` [PATCH-for-10.1 09/13] target/arm: Extract PSCI definitions to 'psci.h' Philippe Mathieu-Daudé
2025-04-02 22:23 ` [PATCH-for-10.1 10/13] target/arm: Extract feature definitions to 'cpu_has_feature.h' header Philippe Mathieu-Daudé
2025-04-02 22:23 ` [PATCH-for-10.1 11/13] target/arm: Add arm_cpu_has_feature() helper Philippe Mathieu-Daudé
2025-04-02 22:23 ` [PATCH-for-10.1 12/13] hw/arm/realview: Replace arm_feature() -> arm_cpu_has_feature() Philippe Mathieu-Daudé
2025-04-02 22:23 ` [PATCH-for-10.1 13/13] hw/arm/virt-acpi: " Philippe Mathieu-Daudé
2025-04-03 18:18 ` [PATCH-for-10.1 00/13] arm: Spring header cleanups Pierrick Bouvier
2025-04-03 18:22 ` Pierrick Bouvier
2025-04-03 19:31 ` Philippe Mathieu-Daudé
2025-04-03 20:51 ` Pierrick Bouvier
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20250402222334.66511-1-philmd@linaro.org \
--to=philmd@linaro.org \
--cc=peter.maydell@linaro.org \
--cc=pierrick.bouvier@linaro.org \
--cc=qemu-arm@nongnu.org \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).