Skip to content

RFC Make it possible to compile with CONFIG_ARM_V7M=n

Thomas Huth qemu-arm qemu-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest3 patches 4 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3target/arm: Make cpu_register() and set_feature() available for other filestarget/arm/cpu.c target/arm/cpu.h target/arm/cpu64.c+20 -342 replies
2/3target/arm: Move cortex-m related functions to m_helper.ctarget/arm/cpu.c target/arm/m_helper.c+164 -1460 replies
3/3target/arm: Make m_helper.c optional via CONFIG_ARM_V7Mtarget/arm/Makefile.objs target/arm/m_helper-stub.c+60 -12 replies

Reviews trailers per patch

1 of 3 patches has a Reviewed-by or Acked-by.

PatchRichard Henderson
1/3R-b
2/3
3/3

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [Qemu-arm] [RFC PATCH 0/3] Make it possible to compile with CONFIG_ARM_V7M=n

We've got CONFIG_ARM_V7M, but it currently can't be disabled. Here are some patches that should allow to disable the switch (if the corresponding boards are disabled, too).

I'm mainly posting this patches for Philippe and his current TCG-disablement work, maybe some of this is useful for him, too. I've marked the patches as RFC since they are hardly tested.

Thomas Huth (3):
target/arm: Make cpu_register() and set_feature() available for other
files
target/arm: Move cortex-m related functions to m_helper.c target/arm: Make m_helper.c optional via CONFIG_ARM_V7M

 target/arm/Makefile.objs   |   3 +-
 target/arm/cpu.c           | 166 +------------------------------------
 target/arm/cpu.h           |  18 ++++
 target/arm/cpu64.c         |  16 ----
 target/arm/m_helper-stub.c |  58 +++++++++++++
 target/arm/m_helper.c      | 164 ++++++++++++++++++++++++++++++++++++
 6 files changed, 244 insertions(+), 181 deletions(-)
 create mode 100644 target/arm/m_helper-stub.c
Signature · 1 line
2.18.1