Paolo motived me to salvage this (other!) previous series fromi Samuel Ortiz (NEMU project).
v1 cover from Samuel [1]: This patchset allows for building and running ARM targets with TCG disabled. It splits the target/arm/helper.c file into logical TCG and non TCG dependent files so that one can build and run QEMU binaries with or without TCG enabled. The rationale behind this work comes from the NEMU project where we're trying to only support x86 and ARM 64-bit architectures, without including the TCG code base. We can only do so if we can build and run ARM binaries with TCG disabled. v2: Most of the patches from v1 got adapted, except the "Move all interrupt handlers" patch, because Peter disagreed with it. See threads: https://lists.gnu.org/archive/html/qemu-devel/2018-11/msg03908.html https://lists.gnu.org/archive/html/qemu-devel/2019-05/msg07304.html Anyway this is not a blocking issue, and can be done once this series get merged. This is a kind of series you don't want to rebase (as in, the quicker it get merged, the saner). It is also one of my most painful QEMU series, and really wish it was worthwhile. The diffstat is pretty decent. Regards, Phil. [1]: https://lists.gnu.org/archive/html/qemu-devel/2018-11/msg02451.html Philippe Mathieu-Daudé (15): target/arm: Makefile cleanup (Aarch64) target/arm: Makefile cleanup (ARM) target/arm: Makefile cleanup (KVM) target/arm: Makefile cleanup (softmmu) target/arm: Add copyright boilerplate target/arm: Fix multiline comment syntax target/arm: Declare some function publicly target/arm: Move code around target/arm: Move the v7-M Security State helpers to v7m_helper target/arm: Declare v7m_cpacr_pass() publicly target/arm: Make the v7-M Security State routines static target/arm: Make arm_deliver_fault() static target/arm: Fix coding style issues target/arm: Restrict semi-hosting to TCG target/arm: Missing symbols when building with --disable-tcg Samuel Ortiz (8): target/arm: Move all v7m insn helpers into their own file target/arm: Move v7m exception handling routines to v7m_helper target/arm: Move the DC ZVA helper into op_helper target/arm: Make ARM TLB filling routine static target/arm: Move CPU state dumping routines to helper.c target/arm: Move watchpoints APIs to helper.c target/arm: Define TCG dependent functions when TCG is enabled target/arm: Do not build TCG objects when TCG is off target/arm/Makefile.objs | 25 +- target/arm/cpu.c | 8 +- target/arm/helper.c | 3416 ++++++------------------------------ target/arm/internals.h | 77 +- target/arm/kvm-missing.c | 22 + target/arm/op_helper.c | 358 ++-- target/arm/translate-a64.c | 127 -- target/arm/translate.c | 90 +- target/arm/translate.h | 5 - target/arm/v7m_helper.c | 2603 +++++++++++++++++++++++++++ 10 files changed, 3451 insertions(+), 3280 deletions(-) create mode 100644 target/arm/kvm-missing.c create mode 100644 target/arm/v7m_helper.c -- 2.20.1