Finally, we can declare hw/arm/boot.c common as a first step for this subsystem. This series needs to be applied on top of https://lore.kernel.org/qemu-devel/20250317183417.285700-19-pierrick.bouvier@xxxxxxxxxx/ to compile. Pierrick Bouvier (13): exec/cpu-all: restrict BSWAP_NEEDED to target specific code exec/cpu-all: restrict compile time assert to target specific code exec/target_page: runtime defintion for TARGET_PAGE_BITS_MIN exec/cpu-all: allow to include specific cpu target/arm/cpu: move KVM_HAVE_MCE_INJECTION to kvm-all.c file directly exec/poison: KVM_HAVE_MCE_INJECTION can now be poisoned target/arm/cpu: always define kvm related registers target/arm/cpu: flags2 is always uint64_t target/arm/cpu: define ARM_MAX_VQ once for aarch32 and aarch64 target/arm/cpu: define same set of registers for aarch32 and aarch64 target/arm/cpu: remove inline stubs for aarch32 emulation meson: add common hw files hw/arm/boot: make compilation unit hw common meson.build | 36 +++++++++++++++++++++++++++++++++++- include/exec/cpu-all.h | 12 ++++++++++-- include/exec/poison.h | 2 ++ include/exec/target_page.h | 3 +++ include/system/kvm.h | 2 -- target/arm/cpu.h | 28 +++------------------------- accel/kvm/kvm-all.c | 4 ++++ hw/arm/boot.c | 1 + target/arm/helper.c | 6 ++++++ target/arm/tcg/hflags.c | 4 ++-- hw/arm/meson.build | 5 ++++- 11 files changed, 70 insertions(+), 33 deletions(-) -- 2.39.5