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. v3: (since v2: https://lists.gnu.org/archive/html/qemu-devel/2019-06/msg03271.html) - Addressed Alex's review comments from v2. - added RFC patches to remove (pre-v7, M-profile, R-profile) from KVM-only build Patches 1-9 are ready for the ARM queue. -- 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. Regards, Phil. [1]: https://lists.gnu.org/archive/html/qemu-devel/2018-11/msg02451.html Philippe Mathieu-Daudé (26): 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/helper: Remove unused include target/arm: Fix multiline comment syntax target/arm: Fix coding style issues target/arm: Move CPU state dumping routines to cpu.c target/arm: Declare get_phys_addr() function publicly target/arm: Move TLB related routines to tlb_helper.c target/arm: Move debug routines to debug_helper.c target/arm/vfp_helper: Move code around target/arm/vfp_helper: Extract vfp_set_fpscr_to_host() target/arm/vfp_helper: Extract vfp_set_fpscr_from_host() target/arm/vfp_helper: Restrict the SoftFloat use to TCG target/arm: Restrict semi-hosting to TCG target/arm: Restrict PSCI to TCG target/arm: Declare arm_log_exception() function publicly target/arm: Declare some M-profile functions publicly target/arm/helper: Move M profile routines to m_helper.c target/arm: Restrict pre-ARMv7 cpus to TCG target/arm: Do not build pre-ARMv7 cpus when using KVM target/arm: Restrict R and M profiles to TCG target/arm: Do not build A/M-profile cpus when using KVM target/arm: Do not build TCG objects when TCG is off Samuel Ortiz (1): target/arm: Move the DC ZVA helper into op_helper default-configs/arm-softmmu.mak | 47 +- hw/arm/Kconfig | 42 +- target/arm/Makefile.objs | 31 +- target/arm/cpu.c | 259 ++- target/arm/cpu.h | 9 +- target/arm/debug_helper.c | 334 ++++ target/arm/helper.c | 2837 +------------------------------ target/arm/internals.h | 69 +- target/arm/m_helper.c | 2676 +++++++++++++++++++++++++++++ target/arm/op_helper.c | 505 +----- target/arm/tlb_helper.c | 200 +++ target/arm/translate-a64.c | 128 -- target/arm/translate.c | 91 +- target/arm/translate.h | 5 - target/arm/vfp_helper.c | 199 ++- 15 files changed, 3873 insertions(+), 3559 deletions(-) create mode 100644 target/arm/debug_helper.c create mode 100644 target/arm/m_helper.c create mode 100644 target/arm/tlb_helper.c -- 2.20.1