Skip to content

arm tcg/kvm refactor and split with kvm only support

Alex Bennée kvm qemu-arm qemu-devel qemu-riscv 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v16 Latest99 patches 104 repliesIn review

Patches in v16 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/99MAINTAINERS: Add qtest/arm-cpu-features.c to ARM TCG CPUs sectionMAINTAINERS+1 -01 reply
2/99accel: Introduce 'query-accels' QMP commandaccel/accel-qmp.c accel/meson.build qapi/machine.json+97 -14 replies
3/99qtest: Add qtest_has_accel() methodtests/qtest/libqos/libqtest.h tests/qtest/libqtest.c+37 -02 replies
4/99qtest/arm-cpu-features: Use generic qtest_has_accel() to check for KVMtests/qtest/arm-cpu-features.c+1 -247 replies
5/99qtest/arm-cpu-features: Restrict sve_tests_sve_off_kvm test to KVMtests/qtest/arm-cpu-features.c+2 -21 reply
6/99qtest/arm-cpu-features: Remove TCG fallback to KVM specific teststests/qtest/arm-cpu-features.c+1 -13 replies
7/99qtest/arm-cpu-features: Use generic qtest_has_accel() to check for TCGtests/qtest/arm-cpu-features.c+9 -72 replies
8/99qtest/migration-test: Skip tests if KVM not builtin on s390x/ppc64tests/qtest/migration-test.c+2 -23 replies
9/99qtest/bios-tables-test: Rename tests not TCG specifictests/qtest/bios-tables-test.c+71 -712 replies
10/99qtest/bios-tables-test: Rename TCG specific teststests/qtest/bios-tables-test.c+4 -41 reply
11/99qtest/bios-tables-test: Make test build-independent from acceleratortests/qtest/bios-tables-test.c+6 -82 replies
12/99qtest: Do not restrict bios-tables-test to Aarch64 hosts anymoretests/qtest/meson.build+1 -22 replies
13/99meson: add target_user_archtarget/alpha/meson.build target/arm/meson.build target/cris/meson.build +13 more+47 -01 reply
14/99accel: add cpu_resetaccel/accel-common.c hw/core/cpu-common.c include/hw/core/accel-cpu.h +3 more+25 -51 reply
15/99target/arm: move translate modules to tcg/target/arm/meson.build target/arm/tcg/a32-uncond.decode target/arm/tcg/a32.decode +18 more+29 -210 replies
16/99target/arm: move helpers to tcg/meson.build target/arm/meson.build target/arm/tcg/crypto_helper.c +19 more+26 -230 replies
17/99arm: tcg: only build under CONFIG_TCGtarget/arm/tcg/meson.build+3 -30 replies
18/99target/arm: tcg: add sysemu and user subdirstarget/arm/tcg/meson.build target/arm/tcg/sysemu/meson.build target/arm/tcg/user/meson.build+7 -00 replies
19/99target/arm: tcg: split mte_helper user-only and sysemu codetarget/arm/tcg/mte_helper.c target/arm/tcg/mte_helper.h target/arm/tcg/sysemu/meson.build +3 more+272 -1900 replies
20/99target/arm: tcg: move sysemu-only parts of debug_helpertarget/arm/tcg/debug_helper.c target/arm/tcg/sysemu/debug_helper.c target/arm/tcg/sysemu/meson.build+34 -270 replies
21/99target/arm: tcg: split tlb_helper user-only and sysemu-only partstarget/arm/tcg/sysemu/meson.build target/arm/tcg/sysemu/tlb_helper.c target/arm/tcg/tlb_helper.c +3 more+138 -930 replies
22/99target/arm: tcg: split m_helper user-only and sysemu-only partstarget/arm/tcg/m_helper.c target/arm/tcg/m_helper.h target/arm/tcg/sysemu/m_helper.c +3 more+2780 -27620 replies
23/99target/arm: only build psci for TCGtarget/arm/meson.build+4 -00 replies
24/99target/arm: split off cpu-sysemu.ctarget/arm/cpu-sysemu.c target/arm/cpu.c target/arm/internals.h +1 more+113 -840 replies
25/99target/arm: tcg: fix comment style before move to cpu-mmutarget/arm/tcg/helper.c+101 -510 replies
26/99target/arm: move physical address translation to cpu-mmutarget/arm/cpu-mmu-sysemu.c target/arm/cpu-mmu.c target/arm/cpu-mmu.h +8 more+2557 -24800 replies
27/99target/arm: fix style in preparation of new cpregs moduletarget/arm/cpu.h target/arm/tcg/helper.c+239 -1250 replies
28/99target/arm: split cpregs from tcg/helper.chw/arm/pxa2xx.c hw/arm/pxa2xx_pic.c hw/intc/arm_gicv3_cpuif.c +17 more+9005 -92570 replies
29/99target/arm: move cpu definitions to common cpu moduletarget/arm/cpu-common.c target/arm/meson.build target/arm/tcg/helper.c+42 -290 replies
30/99target/arm: only perform TCG cpu and machine inits if TCG enabledtarget/arm/cpu.c target/arm/kvm.c target/arm/machine.c+40 -300 replies
31/99target/arm: tcg: add stubs for some helpers for non-tcg buildstarget/arm/tcg/meson.build target/arm/tcg/tcg-stubs.c+19 -00 replies
32/99target/arm: move cpsr_read, cpsr_write to cpu_commontarget/arm/cpu-common.c target/arm/cpu-sysemu.c target/arm/cpu-user.c +3 more+251 -2200 replies
33/99target/arm: add temporary stub for arm_rebuild_hflagshw/arm/boot.c target/arm/arm-powerctl.c target/arm/tcg/tcg-stubs.c+14 -40 replies
34/99target/arm: move arm_hcr_el2_eff from tcg/ to common_cputarget/arm/cpu-common.c target/arm/tcg/helper.c+68 -680 replies
35/99target/arm: split vfp state setting from tcg helperstarget/arm/cpu-vfp.c target/arm/cpu-vfp.h target/arm/meson.build +3 more+276 -2080 replies
36/99target/arm: move arm_mmu_idx* to cpu-mmutarget/arm/cpu-mmu.c target/arm/tcg/helper.c+95 -950 replies
37/99target/arm: move sve_zcr_len_for_el to common_cputarget/arm/cpu-common.c target/arm/tcg/helper.c+43 -331 reply
38/99target/arm: move arm_sctlr away from tcg helperstarget/arm/cpu-common.c target/arm/tcg/helper.c+11 -111 reply
39/99target/arm: move arm_cpu_list to common_cputarget/arm/cpu-common.c target/arm/tcg/helper.c+42 -410 replies
40/99target/arm: move aarch64_sync_32_to_64 (and vv) to cpu codetarget/arm/cpu-sysemu.c target/arm/cpu-user.c target/arm/tcg/helper.c+229 -2290 replies
41/99target/arm: new cpu32 ARM 32 bit CPU Classtarget/arm/cpu-qom.h target/arm/cpu.c target/arm/cpu32.c +4 more+159 -561 reply
42/99target/arm: split 32bit and 64bit arm dump statetarget/arm/cpu.c target/arm/cpu32.c target/arm/cpu32.h +1 more+227 -2271 reply
43/99target/arm: move a15 cpu model away from the TCG-only modelstarget/arm/cpu32.c target/arm/cpu32.h target/arm/cpu_tcg.c+77 -673 replies
44/99target/arm: fixup sve_exception_el code style before movetarget/arm/tcg/helper.c+6 -30 replies
45/99target/arm: move sve_exception_el out of TCG helperstarget/arm/cpu-sysemu.c target/arm/cpu-user.c target/arm/tcg/helper.c+67 -640 replies
46/99target/arm: fix comments style of fp_exception_el before moving ittarget/arm/tcg/helper.c+8 -41 reply
47/99target/arm: move fp_exception_el out of TCG helperstarget/arm/cpu-sysemu.c target/arm/cpu-user.c target/arm/tcg/helper.c+105 -1001 reply
48/99target/arm: remove now useless ifndef from fp_exception_eltarget/arm/cpu-sysemu.c+0 -21 reply
49/99target/arm: make further preparation for the exception code to movetarget/arm/tcg/helper.c+9 -31 reply
50/99target/arm: fix style of arm_cpu_do_interrupt functions before movetarget/arm/tcg/helper.c+11 -60 replies
51/99target/arm: move exception code out of tcg/helper.ctarget/arm/cpu-sysemu.c target/arm/tcg/helper.c target/arm/tcg/sysemu/meson.build +2 more+775 -7342 replies
52/99target/arm: rename handle_semihosting to tcg_handle_semihostingtarget/arm/cpu-sysemu.c target/arm/tcg/sysemu/tcg-cpu.c target/arm/tcg/tcg-cpu.h+3 -31 reply
53/99target/arm: replace CONFIG_TCG with tcg_enabledtarget/arm/cpu-sysemu.c+15 -151 reply
54/99target/arm: move TCGCPUOps to tcg/tcg-cpu.ctarget/arm/cpu-sysemu.c target/arm/cpu.c target/arm/cpu.h +6 more+244 -2151 reply
55/99target/arm: move cpu_tcg to tcg/tcg-cpu-models.ctarget/arm/meson.build target/arm/tcg/meson.build target/arm/tcg/tcg-cpu-models.c+2 -100 replies
56/99target/arm: wrap call to aarch64_sve_change_el in tcg_enabled()target/arm/cpu-sysemu.c+7 -50 replies
57/99target/arm: remove kvm include file for PSCI and arm-powerctltarget/arm/arm-powerctl.h target/arm/psci.c+0 -30 replies
58/99target/arm: move kvm-const.h, kvm.c, kvm64.c, kvm_arm.h to kvm/MAINTAINERS hw/arm/sbsa-ref.c hw/arm/virt-acpi-build.c +25 more+24 -220 replies
59/99MAINTAINERS: update arm kvm maintained files to all in target/arm/kvm/MAINTAINERS+1 -11 reply
60/99target/arm: cleanup cpu includestarget/arm/cpu.c target/arm/cpu32.c target/arm/cpu64.c +1 more+3 -450 replies
61/99target/arm: remove broad "else" statements when checking accelstarget/arm/cpu.c target/arm/cpu64.c target/arm/machine.c+16 -201 reply
62/99target/arm: remove kvm-stub.ctarget/arm/kvm-stub.c+0 -240 replies
63/99tests/qtest: skip bios-tables-test test_acpi_oem_fields_virt for KVMtests/qtest/bios-tables-test.c+7 -02 replies
64/99tests: do not run test-hmp on all machines for ARM KVM-onlytests/qtest/test-hmp.c+20 -01 reply
65/99tests: device-introspect-test: cope with ARM TCG-only devicestests/qtest/device-introspect-test.c+27 -51 reply
66/99tests: do not run qom-test on all machines for ARM KVM-onlytests/qtest/qom-test.c+20 -01 reply
67/99target/arm: create kvm cpu accel classtarget/arm/cpu-sysemu.c target/arm/cpu.c target/arm/internals.h +2 more+137 -740 replies
68/99target/arm: move kvm post init initialization to kvm cpu acceltarget/arm/cpu.c target/arm/kvm/kvm-cpu.c+1 -40 replies
69/99target/arm: add tcg cpu accel classtarget/arm/cpu.c target/arm/tcg/sysemu/tcg-cpu.c target/arm/tcg/tcg-cpu-models.c +2 more+92 -482 replies
70/99target/arm: move TCG gt timer creation code in tcg/target/arm/cpu.c target/arm/tcg/sysemu/tcg-cpu.c target/arm/tcg/tcg-cpu.h+45 -260 replies
71/99target/arm: cpu-sve: new moduletarget/arm/cpu-sve.c target/arm/cpu-sve.h target/arm/cpu.c +4 more+408 -3351 reply
72/99target/arm: cpu-sve: rename functions according to module prefixtarget/arm/cpu-sve.c target/arm/cpu-sve.h target/arm/cpu.c +2 more+23 -231 reply
73/99target/arm: cpu-sve: split TCG and KVM functionalitytarget/arm/cpu-sve.c target/arm/kvm/kvm-sve.c target/arm/kvm/kvm-sve.h +4 more+296 -1122 replies
74/99target/arm: cpu-sve: make cpu_sve_finalize_features return booltarget/arm/cpu-sve.c target/arm/cpu-sve.h target/arm/cpu.c+11 -111 reply
75/99target/arm: make is_aa64 and arm_el_is_aa64 a macro for !TARGET_AARCH64target/arm/cpu.h+24 -131 reply
76/99target/arm: restrict rebuild_hflags_a64 to TARGET_AARCH64target/arm/helper-a64.h target/arm/helper.h target/arm/tcg/helper.c+14 -11 reply
77/99target/arm: arch_dump: restrict ELFCLASS64 to AArch64roms/u-boot target/arm/arch_dump.c target/arm/cpu.c+10 -61 reply
78/99target/arm: cpu-exceptions, cpu-exceptions-aa64: new modulestarget/arm/cpu-exceptions-aa64.c target/arm/cpu-exceptions-aa64.h target/arm/cpu-exceptions.c +3 more+755 -6725 replies
79/99target/arm: tcg: restrict ZCR cpregs to TARGET_AARCH64target/arm/tcg/cpregs.c+6 -21 reply
80/99target/arm: tcg-sve: import narrow_vq and change_el functionslinux-user/syscall.c target/arm/cpu-exceptions-aa64.c target/arm/cpu.h +5 more+101 -941 reply
81/99target/arm: tcg-sve: rename the narrow_vq and change_el functionslinux-user/syscall.c target/arm/cpu-exceptions-aa64.c target/arm/tcg/cpregs.c +3 more+10 -100 replies
82/99target/arm: move sve_zcr_len_for_el to TARGET_AARCH64-only cpu-svetarget/arm/arch_dump.c target/arm/cpu-common.c target/arm/cpu-sve.c +5 more+48 -451 reply
83/99cpu-sve: rename sve_zcr_len_for_el to cpu_sve_get_zcr_len_for_eltarget/arm/arch_dump.c target/arm/cpu-sve.c target/arm/cpu-sve.h +4 more+12 -120 replies
84/99target/arm: cpu-common: wrap a64-only check with is_a64target/arm/cpu-common.c+7 -31 reply
85/99target/arm: cpu-pauth: new module for ARMv8.3 Pointer Authenticationtarget/arm/cpu.c target/arm/cpu.h target/arm/cpu64.c +3 more+101 -361 reply
86/99target/arm: cpu-pauth: change arm_cpu_pauth_finalize name and sigtarget/arm/cpu.c target/arm/tcg/cpu-pauth.c target/arm/tcg/cpu-pauth.h+6 -41 reply
87/99target/arm: move arm_cpu_finalize_features into cpu64target/arm/cpu.c target/arm/cpu64.c target/arm/monitor.c+40 -341 reply
88/99target/arm: cpu64: rename arm_cpu_finalize_featurestarget/arm/cpu-sve.h target/arm/cpu.c target/arm/cpu.h +3 more+7 -91 reply
89/99target/arm: cpu64: some final cleanup on aarch64_cpu_finalize_featurestarget/arm/cpu64.c+16 -171 reply
90/99XXX target/arm: experiment refactoring cpu "max"target/arm/cpu.h target/arm/cpu64.c target/arm/kvm/kvm-cpu.c +2 more+241 -2320 replies
91/99target/arm: tcg: remove superfluous CONFIG_TCG checktarget/arm/tcg/vfp_helper.c+0 -60 replies
92/99target/arm: remove v7m stub function for !CONFIG_TCGtarget/arm/cpu-mmu.c+5 -91 reply
93/99meson: Introduce target-specific KconfigKconfig meson.build target/Kconfig +23 more+92 -12 replies
94/99target/arm: move CONFIG_V7M out of default-devicesdefault-configs/devices/arm-softmmu.mak hw/arm/Kconfig target/arm/tcg/sysemu/meson.build+7 -41 reply
95/99hw/arm: add dependency on OR_IRQ for XLNX_VERSALhw/arm/Kconfig+1 -01 reply
96/99tests/qtest: split the cdrom-test into arm/aarch64tests/qtest/cdrom-test.c+4 -112 replies
97/99tests/qtest: make xlnx-can-test conditional on being configuredtests/qtest/meson.build+1 -11 reply
98/99configure: allow the overriding of default-config in the buildconfigs/aarch64-softmmu/64bit-only.mak configs/aarch64-softmmu/virt-only.mak configure +1 more+40 -12 replies
99/99gitlab: defend the new stripped down arm64 configs.gitlab-ci.d/buildtest.yml .gitlab-ci.d/crossbuilds.yml+19 -01 reply

Reviews trailers per patch

83 of 99 patches have a Reviewed-by or Acked-by.

PatchAndrew JonesThomas HuthAlex BennéeEric BlakeDavid GibsonGreg KurzCornelia HuckIgor MammedovRichard HendersonPhilippe Mathieu-Daudé
1/99A-b R-b R-b R-b
2/99R-b R-b T-b R-b
3/99R-b R-b
4/99R-b R-b R-b
5/99R-b R-b R-b
6/99R-b R-b R-b
7/99R-b R-b R-b R-b
8/99R-b R-b R-b R-b R-b
9/99R-b
10/99R-b
11/99R-b R-b R-b R-b
12/99A-b R-b T-b R-b R-b
13/99R-b
14/99R-b
15/99R-b R-b
16/99R-b R-b
17/99R-b R-b
18/99R-b R-b
19/99R-b R-b
20/99R-b R-b
21/99R-b R-b
22/99R-b R-b
23/99R-b R-b
24/99R-b R-b
25/99R-b R-b
26/99R-b R-b
27/99R-b R-b
28/99R-b R-b
29/99R-b R-b
30/99R-b
31/99R-b
32/99R-b
33/99R-b
34/99R-b
35/99R-b
36/99R-b
37/99R-b
38/99R-b
39/99R-b
40/99R-b
41/99R-b
42/99R-b
43/99A-b
44/99R-b
45/99R-b
46/99R-b
47/99R-b
48/99
49/99R-b
50/99R-b
51/99R-b
52/99R-b
53/99R-b
54/99R-b
55/99R-b
56/99R-b
57/99R-b
58/99R-b
59/99R-b
60/99A-b
61/99R-b
62/99R-b
63/99
64/99
65/99
66/99
67/99R-b
68/99R-b
69/99
70/99R-b
71/99R-b
72/99R-b
73/99
74/99R-b
75/99R-b
76/99
77/99R-b
78/99
79/99R-b
80/99R-b
81/99R-b
82/99R-b
83/99R-b
84/99A-b
85/99R-b
86/99R-b
87/99
88/99
89/99
90/99
91/99R-b
92/99R-b
93/99
94/99A-b
95/99R-b
96/99
97/99R-b
98/99R-b
99/99

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 10 reviewers.

Read the v16 thread

Cover letter [PATCH v16 00/99] arm tcg/kvm refactor and split with kvm only support

Hi,

I have picked up the baton from Claudio to try and get the ARM re-factoring across the line. Most of the patches from Claudio remain unchanged and have just had minor fixups from re-basing against the moving target. I've done my best to make sure any fixes that have been made in the meantime weren't lost.

I've included Phillipe's qtest_has_accel v7 patches (I had problems with v8) to aid in my aarch64 testing. I'm expecting them to be up-streamed by Phillipe in due course. I've also nabbed one of Phillipe's Kconfig tweaks to allow for target specific expression of some config variables.

The main thing that enables the --disable-tcg build is the addition of --with-devices-FOO configure option which is a mechanism to override the existing default device configurations. The two that I've been testing are a 64 bit only build on x86:

  '../../configure' '--without-default-features' \
     '--target-list=arm-softmmu,aarch64-softmmu' \
     '--with-devices-aarch64=../../configs/aarch64-softmmu/64bit-only.mak'

which results in the aarch64-softmmu build only supporting sbsa-ref, virt and xlnx-versal-virt.

The second is a KVM only cross build:

  '../../configure' '--disable-docs' \
    '--target-list=aarch64-softmmu' \
    '--enable-kvm' '--disable-tcg' \
    '--cross-prefix=aarch64-linux-gnu-' \
    '--with-devices-aarch64=../../configs/aarch64-softmmu/virt-only.mak'

Finally I've made a few minor Kconfig and testing tweaks before adding some gitlab coverage. As a result I was able to drop the Revert: idau patch because I can properly build an image without stray devices in the qtree.

The following need review:

- gitlab: defend the new stripped down arm64 configs
- tests/qtest: make xlnx-can-test conditional on being configured
- tests/qtest: split the cdrom-test into arm/aarch64
- hw/arm: add dependency on OR_IRQ for XLNX_VERSAL
- target/arm: move CONFIG_V7M out of default-devices

Alex Bennée (6):
target/arm: move CONFIG_V7M out of default-devices hw/arm: add dependency on OR_IRQ for XLNX_VERSAL tests/qtest: split the cdrom-test into arm/aarch64 tests/qtest: make xlnx-can-test conditional on being configured
configure: allow the overriding of default-config in the build
gitlab: defend the new stripped down arm64 configs

Claudio Fontana (80):
meson: add target_user_arch
accel: add cpu_reset
target/arm: move translate modules to tcg/
target/arm: move helpers to tcg/
arm: tcg: only build under CONFIG_TCG
target/arm: tcg: add sysemu and user subdirs
target/arm: tcg: split mte_helper user-only and sysemu code target/arm: tcg: move sysemu-only parts of debug_helper target/arm: tcg: split tlb_helper user-only and sysemu-only parts target/arm: tcg: split m_helper user-only and sysemu-only parts target/arm: only build psci for TCG
target/arm: split off cpu-sysemu.c
target/arm: tcg: fix comment style before move to cpu-mmu target/arm: move physical address translation to cpu-mmu target/arm: fix style in preparation of new cpregs module target/arm: split cpregs from tcg/helper.c
target/arm: move cpu definitions to common cpu module target/arm: only perform TCG cpu and machine inits if TCG enabled target/arm: tcg: add stubs for some helpers for non-tcg builds target/arm: move cpsr_read, cpsr_write to cpu_common target/arm: add temporary stub for arm_rebuild_hflags target/arm: move arm_hcr_el2_eff from tcg/ to common_cpu target/arm: split vfp state setting from tcg helpers target/arm: move arm_mmu_idx* to cpu-mmu
target/arm: move sve_zcr_len_for_el to common_cpu target/arm: move arm_sctlr away from tcg helpers target/arm: move arm_cpu_list to common_cpu
target/arm: move aarch64_sync_32_to_64 (and vv) to cpu code target/arm: new cpu32 ARM 32 bit CPU Class
target/arm: split 32bit and 64bit arm dump state target/arm: move a15 cpu model away from the TCG-only models target/arm: fixup sve_exception_el code style before move target/arm: move sve_exception_el out of TCG helpers target/arm: fix comments style of fp_exception_el before moving it target/arm: move fp_exception_el out of TCG helpers target/arm: remove now useless ifndef from fp_exception_el target/arm: make further preparation for the exception code to move target/arm: fix style of arm_cpu_do_interrupt functions before move target/arm: move exception code out of tcg/helper.c target/arm: rename handle_semihosting to tcg_handle_semihosting target/arm: replace CONFIG_TCG with tcg_enabled target/arm: move TCGCPUOps to tcg/tcg-cpu.c
target/arm: move cpu_tcg to tcg/tcg-cpu-models.c target/arm: wrap call to aarch64_sve_change_el in tcg_enabled() target/arm: remove kvm include file for PSCI and arm-powerctl target/arm: move kvm-const.h, kvm.c, kvm64.c, kvm_arm.h to kvm/
MAINTAINERS: update arm kvm maintained files to all in target/arm/kvm/ target/arm: cleanup cpu includes
target/arm: remove broad "else" statements when checking accels target/arm: remove kvm-stub.c
tests/qtest: skip bios-tables-test test_acpi_oem_fields_virt for KVM
tests: do not run test-hmp on all machines for ARM KVM-only
tests: device-introspect-test: cope with ARM TCG-only devices
tests: do not run qom-test on all machines for ARM KVM-only target/arm: create kvm cpu accel class
target/arm: move kvm post init initialization to kvm cpu accel target/arm: add tcg cpu accel class
target/arm: move TCG gt timer creation code in tcg/ target/arm: cpu-sve: new module
target/arm: cpu-sve: rename functions according to module prefix target/arm: cpu-sve: split TCG and KVM functionality target/arm: cpu-sve: make cpu_sve_finalize_features return bool target/arm: make is_aa64 and arm_el_is_aa64 a macro for

    !TARGET_AARCH64

target/arm: restrict rebuild_hflags_a64 to TARGET_AARCH64 target/arm: arch_dump: restrict ELFCLASS64 to AArch64 target/arm: cpu-exceptions, cpu-exceptions-aa64: new modules target/arm: tcg: restrict ZCR cpregs to TARGET_AARCH64 target/arm: tcg-sve: import narrow_vq and change_el functions target/arm: tcg-sve: rename the narrow_vq and change_el functions target/arm: move sve_zcr_len_for_el to TARGET_AARCH64-only cpu-sve
cpu-sve: rename sve_zcr_len_for_el to cpu_sve_get_zcr_len_for_el target/arm: cpu-common: wrap a64-only check with is_a64 target/arm: cpu-pauth: new module for ARMv8.3 Pointer Authentication target/arm: cpu-pauth: change arm_cpu_pauth_finalize name and sig target/arm: move arm_cpu_finalize_features into cpu64 target/arm: cpu64: rename arm_cpu_finalize_features target/arm: cpu64: some final cleanup on aarch64_cpu_finalize_features XXX target/arm: experiment refactoring cpu "max" target/arm: tcg: remove superfluous CONFIG_TCG check target/arm: remove v7m stub function for !CONFIG_TCG

Philippe Mathieu-Daudé (13):
MAINTAINERS: Add qtest/arm-cpu-features.c to ARM TCG CPUs section
accel: Introduce 'query-accels' QMP command
qtest: Add qtest_has_accel() method qtest/arm-cpu-features: Use generic qtest_has_accel() to check for KVM qtest/arm-cpu-features: Restrict sve_tests_sve_off_kvm test to KVM qtest/arm-cpu-features: Remove TCG fallback to KVM specific tests qtest/arm-cpu-features: Use generic qtest_has_accel() to check for TCG qtest/migration-test: Skip tests if KVM not builtin on s390x/ppc64 qtest/bios-tables-test: Rename tests not TCG specific qtest/bios-tables-test: Rename TCG specific tests qtest/bios-tables-test: Make test build-independent from accelerator
qtest: Do not restrict bios-tables-test to Aarch64 hosts anymore
meson: Introduce target-specific Kconfig

 configure                                     |   20 +
 configs/aarch64-softmmu/64bit-only.mak        |   10 +
 configs/aarch64-softmmu/virt-only.mak         |    8 +
 default-configs/devices/arm-softmmu.mak       |    3 -
 meson.build                                   |    9 +-
 qapi/machine.json                             |   47 +
 include/hw/core/accel-cpu.h                   |    2 +
 include/qemu/accel.h                          |    6 +
 target/arm/arm-powerctl.h                     |    2 -
 target/arm/cpregs.h                           |  515 ++
 target/arm/cpu-exceptions-aa64.h              |   28 +
 target/arm/cpu-mmu.h                          |  119 +
 target/arm/cpu-qom.h                          |    3 -
 target/arm/cpu-sve.h                          |   40 +
 target/arm/cpu-vfp.h                          |   29 +
 target/arm/cpu.h                              |  534 +-
 target/arm/cpu32.h                            |   32 +
 target/arm/helper-a64.h                       |    2 +
 target/arm/helper.h                           |    1 -
 target/arm/internals.h                        |   46 +-
 target/arm/{ => kvm}/kvm-consts.h             |    0
 target/arm/kvm/kvm-sve.h                      |   28 +
 target/arm/{ => kvm}/kvm_arm.h                |    0
 target/arm/kvm/trace.h                        |    1 +
 target/arm/tcg/cpu-pauth.h                    |   34 +
 target/arm/tcg/m_helper.h                     |   21 +
 target/arm/tcg/mte_helper.h                   |   53 +
 target/arm/{ => tcg}/op_addsub.h              |    0
 target/arm/tcg/tcg-cpu.h                      |   40 +
 target/arm/tcg/tcg-sve.h                      |   29 +
 target/arm/tcg/tlb_helper.h                   |   17 +
 target/arm/tcg/trace.h                        |    1 +
 target/arm/{ => tcg}/translate-a64.h          |    0
 target/arm/{ => tcg}/translate.h              |    0
 target/arm/{ => tcg}/vec_internal.h           |    0
 target/arm/trace.h                            |    1 -
 tests/qtest/libqos/libqtest.h                 |    8 +
 target/arm/{ => tcg}/a32-uncond.decode        |    0
 target/arm/{ => tcg}/a32.decode               |    0
 target/arm/{ => tcg}/m-nocp.decode            |    0
 target/arm/{ => tcg}/neon-dp.decode           |    0
 target/arm/{ => tcg}/neon-ls.decode           |    0
 target/arm/{ => tcg}/neon-shared.decode       |    0
 target/arm/{ => tcg}/sve.decode               |    0
 target/arm/{ => tcg}/t16.decode               |    0
 target/arm/{ => tcg}/t32.decode               |    0
 target/arm/{ => tcg}/vfp-uncond.decode        |    0
 target/arm/{ => tcg}/vfp.decode               |    0
 accel/accel-common.c                          |    9 +
 accel/accel-qmp.c                             |   49 +
 hw/arm/boot.c                                 |    5 +-
 hw/arm/pxa2xx.c                               |    1 +
 hw/arm/pxa2xx_pic.c                           |    1 +
 hw/arm/sbsa-ref.c                             |    2 +-
 hw/arm/virt-acpi-build.c                      |    2 +-
 hw/arm/virt.c                                 |    2 +-
 hw/arm/xlnx-versal.c                          |    2 +-
 hw/arm/xlnx-zynqmp.c                          |    2 +-
 hw/core/cpu-common.c                          |    3 +-
 hw/cpu/a15mpcore.c                            |    2 +-
 hw/intc/arm_gic_kvm.c                         |    2 +-
 hw/intc/arm_gicv3_cpuif.c                     |    1 +
 hw/intc/arm_gicv3_its_kvm.c                   |    2 +-
 hw/intc/arm_gicv3_kvm.c                       |    3 +-
 linux-user/syscall.c                          |    6 +-
 target/arm/arch_dump.c                        |   15 +-
 target/arm/arm-powerctl.c                     |    8 +-
 target/arm/cpregs.c                           |  380 +
 target/arm/cpu-common.c                       |  358 +
 target/arm/cpu-exceptions-aa64.c              |  277 +
 target/arm/cpu-exceptions.c                   |  445 ++
 target/arm/cpu-mmu-sysemu.c                   | 2307 ++++++
 target/arm/cpu-mmu.c                          |  215 +
 target/arm/cpu-sve.c                          |  323 +
 target/arm/cpu-sysemu.c                       |  482 ++
 target/arm/cpu-user.c                         |   46 +
 target/arm/cpu-vfp.c                          |   97 +
 target/arm/cpu.c                              |  759 +-
 target/arm/cpu32.c                            |  260 +
 target/arm/cpu64.c                            |  723 +-
 target/arm/cpustate-list.c                    |  146 +
 target/arm/gdbstub.c                          |    1 +
 target/arm/kvm-stub.c                         |   24 -
 target/arm/kvm/kvm-cpu.c                      |  128 +
 target/arm/kvm/kvm-sve.c                      |  118 +
 target/arm/{ => kvm}/kvm.c                    |   18 +-
 target/arm/{ => kvm}/kvm64.c                  |    0
 target/arm/machine.c                          |   39 +-
 target/arm/monitor.c                          |   10 +-
 target/arm/psci.c                             |    1 -
 target/arm/{helper.c => tcg/cpregs.c}         | 6557 +----------------
 target/arm/tcg/cpu-pauth.c                    |   66 +
 target/arm/tcg/cpu-vfp.c                      |  146 +
 target/arm/{ => tcg}/crypto_helper.c          |    0
 target/arm/{ => tcg}/debug_helper.c           |   27 -
 target/arm/{ => tcg}/helper-a64.c             |    3 +-
 target/arm/tcg/helper.c                       | 1300 ++++
 target/arm/{ => tcg}/iwmmxt_helper.c          |    0
 target/arm/tcg/m_helper.c                     |   93 +
 target/arm/{ => tcg}/mte_helper.c             |  191 +-
 target/arm/{ => tcg}/neon_helper.c            |    0
 target/arm/{ => tcg}/op_helper.c              |    1 +
 target/arm/{ => tcg}/pauth_helper.c           |    2 +-
 target/arm/{ => tcg}/sve_helper.c             |    0
 target/arm/tcg/sysemu/debug_helper.c          |   33 +
 target/arm/{ => tcg/sysemu}/m_helper.c        |  203 +-
 target/arm/tcg/sysemu/mte_helper.c            |  159 +
 target/arm/tcg/sysemu/tcg-cpu.c               |  119 +
 target/arm/tcg/sysemu/tlb_helper.c            |   84 +
 .../arm/{cpu_tcg.c => tcg/tcg-cpu-models.c}   |  153 +-
 target/arm/tcg/tcg-cpu.c                      |  502 ++
 target/arm/tcg/tcg-stubs.c                    |   21 +
 target/arm/tcg/tcg-sve.c                      |  167 +
 target/arm/{ => tcg}/tlb_helper.c             |   97 +-
 target/arm/{ => tcg}/translate-a64.c          |    1 +
 target/arm/{ => tcg}/translate-m-nocp.c       |    0
 target/arm/{ => tcg}/translate-neon.c         |    0
 target/arm/{ => tcg}/translate-sve.c          |    0
 target/arm/{ => tcg}/translate-vfp.c          |    0
 target/arm/{ => tcg}/translate.c              |    1 +
 target/arm/tcg/user/m_helper.c                |   97 +
 target/arm/tcg/user/mte_helper.c              |   57 +
 target/arm/tcg/user/tlb_helper.c              |   32 +
 target/arm/{ => tcg}/vec_helper.c             |    0
 target/arm/{ => tcg}/vfp_helper.c             |  216 +-
 target/i386/cpu.c                             |    4 -
 target/i386/kvm/kvm-cpu.c                     |    6 +
 tests/qtest/arm-cpu-features.c                |   47 +-
 tests/qtest/bios-tables-test.c                |  163 +-
 tests/qtest/cdrom-test.c                      |    5 +-
 tests/qtest/device-introspect-test.c          |   32 +-
 tests/qtest/libqtest.c                        |   29 +
 tests/qtest/migration-test.c                  |    4 +-
 tests/qtest/qom-test.c                        |   20 +
 tests/qtest/test-hmp.c                        |   20 +
 .gitlab-ci.d/buildtest.yml                    |   10 +
 .gitlab-ci.d/crossbuilds.yml                  |    9 +
 Kconfig                                       |    1 +
 MAINTAINERS                                   |    3 +-
 accel/meson.build                             |    2 +-
 hw/arm/Kconfig                                |    4 +
 roms/u-boot                                   |    2 +-
 target/Kconfig                                |   23 +
 target/alpha/Kconfig                          |    2 +
 target/alpha/meson.build                      |    3 +
 target/arm/Kconfig                            |    6 +
 target/arm/kvm/meson.build                    |    6 +
 target/arm/kvm/trace-events                   |    4 +
 target/arm/meson.build                        |   64 +-
 target/arm/tcg/meson.build                    |   53 +
 target/arm/tcg/sysemu/meson.build             |   10 +
 target/arm/{ => tcg}/trace-events             |    5 +-
 target/arm/tcg/user/meson.build               |    5 +
 target/avr/Kconfig                            |    2 +
 target/cris/Kconfig                           |    2 +
 target/cris/meson.build                       |    3 +
 target/hexagon/meson.build                    |    3 +
 target/hppa/Kconfig                           |    2 +
 target/hppa/meson.build                       |    3 +
 target/i386/Kconfig                           |    5 +
 target/lm32/Kconfig                           |    2 +
 target/m68k/Kconfig                           |    2 +
 target/m68k/meson.build                       |    3 +
 target/microblaze/Kconfig                     |    2 +
 target/microblaze/meson.build                 |    3 +
 target/mips/Kconfig                           |    6 +
 target/moxie/Kconfig                          |    2 +
 target/nios2/Kconfig                          |    2 +
 target/nios2/meson.build                      |    3 +
 target/openrisc/Kconfig                       |    2 +
 target/openrisc/meson.build                   |    3 +
 target/ppc/Kconfig                            |    5 +
 target/ppc/meson.build                        |    3 +
 target/riscv/Kconfig                          |    5 +
 target/riscv/meson.build                      |    3 +
 target/rx/Kconfig                             |    2 +
 target/s390x/Kconfig                          |    2 +
 target/s390x/meson.build                      |    3 +
 target/sh4/Kconfig                            |    2 +
 target/sh4/meson.build                        |    3 +
 target/sparc/Kconfig                          |    5 +
 target/sparc/meson.build                      |    3 +
 target/tilegx/Kconfig                         |    2 +
 target/tricore/Kconfig                        |    2 +
 target/tricore/meson.build                    |    3 +
 target/unicore32/Kconfig                      |    2 +
 target/xtensa/Kconfig                         |    2 +
 target/xtensa/meson.build                     |    3 +
 tests/qtest/meson.build                       |    5 +-
 189 files changed, 10701 insertions(+), 9237 deletions(-)
 create mode 100644 configs/aarch64-softmmu/64bit-only.mak
 create mode 100644 configs/aarch64-softmmu/virt-only.mak
 create mode 100644 target/arm/cpregs.h
 create mode 100644 target/arm/cpu-exceptions-aa64.h
 create mode 100644 target/arm/cpu-mmu.h
 create mode 100644 target/arm/cpu-sve.h
 create mode 100644 target/arm/cpu-vfp.h
 create mode 100644 target/arm/cpu32.h
 rename target/arm/{ => kvm}/kvm-consts.h (100%)
 create mode 100644 target/arm/kvm/kvm-sve.h
 rename target/arm/{ => kvm}/kvm_arm.h (100%)
 create mode 100644 target/arm/kvm/trace.h
 create mode 100644 target/arm/tcg/cpu-pauth.h
 create mode 100644 target/arm/tcg/m_helper.h
 create mode 100644 target/arm/tcg/mte_helper.h
 rename target/arm/{ => tcg}/op_addsub.h (100%)
 create mode 100644 target/arm/tcg/tcg-cpu.h
 create mode 100644 target/arm/tcg/tcg-sve.h
 create mode 100644 target/arm/tcg/tlb_helper.h
 create mode 100644 target/arm/tcg/trace.h
 rename target/arm/{ => tcg}/translate-a64.h (100%)
 rename target/arm/{ => tcg}/translate.h (100%)
 rename target/arm/{ => tcg}/vec_internal.h (100%)
 delete mode 100644 target/arm/trace.h
 rename target/arm/{ => tcg}/a32-uncond.decode (100%)
 rename target/arm/{ => tcg}/a32.decode (100%)
 rename target/arm/{ => tcg}/m-nocp.decode (100%)
 rename target/arm/{ => tcg}/neon-dp.decode (100%)
 rename target/arm/{ => tcg}/neon-ls.decode (100%)
 rename target/arm/{ => tcg}/neon-shared.decode (100%)
 rename target/arm/{ => tcg}/sve.decode (100%)
 rename target/arm/{ => tcg}/t16.decode (100%)
 rename target/arm/{ => tcg}/t32.decode (100%)
 rename target/arm/{ => tcg}/vfp-uncond.decode (100%)
 rename target/arm/{ => tcg}/vfp.decode (100%)
 create mode 100644 accel/accel-qmp.c
 create mode 100644 target/arm/cpregs.c
 create mode 100644 target/arm/cpu-common.c
 create mode 100644 target/arm/cpu-exceptions-aa64.c
 create mode 100644 target/arm/cpu-exceptions.c
 create mode 100644 target/arm/cpu-mmu-sysemu.c
 create mode 100644 target/arm/cpu-mmu.c
 create mode 100644 target/arm/cpu-sve.c
 create mode 100644 target/arm/cpu-sysemu.c
 create mode 100644 target/arm/cpu-user.c
 create mode 100644 target/arm/cpu-vfp.c
 create mode 100644 target/arm/cpu32.c
 create mode 100644 target/arm/cpustate-list.c
 delete mode 100644 target/arm/kvm-stub.c
 create mode 100644 target/arm/kvm/kvm-cpu.c
 create mode 100644 target/arm/kvm/kvm-sve.c
 rename target/arm/{ => kvm}/kvm.c (98%)
 rename target/arm/{ => kvm}/kvm64.c (100%)
 rename target/arm/{helper.c => tcg/cpregs.c} (57%)
 create mode 100644 target/arm/tcg/cpu-pauth.c
 create mode 100644 target/arm/tcg/cpu-vfp.c
 rename target/arm/{ => tcg}/crypto_helper.c (100%)
 rename target/arm/{ => tcg}/debug_helper.c (92%)
 rename target/arm/{ => tcg}/helper-a64.c (99%)
 create mode 100644 target/arm/tcg/helper.c
 rename target/arm/{ => tcg}/iwmmxt_helper.c (100%)
 create mode 100644 target/arm/tcg/m_helper.c
 rename target/arm/{ => tcg}/mte_helper.c (76%)
 rename target/arm/{ => tcg}/neon_helper.c (100%)
 rename target/arm/{ => tcg}/op_helper.c (99%)
 rename target/arm/{ => tcg}/pauth_helper.c (99%)
 rename target/arm/{ => tcg}/sve_helper.c (100%)
 create mode 100644 target/arm/tcg/sysemu/debug_helper.c
 rename target/arm/{ => tcg/sysemu}/m_helper.c (94%)
 create mode 100644 target/arm/tcg/sysemu/mte_helper.c
 create mode 100644 target/arm/tcg/sysemu/tcg-cpu.c
 create mode 100644 target/arm/tcg/sysemu/tlb_helper.c
 rename target/arm/{cpu_tcg.c => tcg/tcg-cpu-models.c} (86%)
 create mode 100644 target/arm/tcg/tcg-cpu.c
 create mode 100644 target/arm/tcg/tcg-stubs.c
 create mode 100644 target/arm/tcg/tcg-sve.c
 rename target/arm/{ => tcg}/tlb_helper.c (56%)
 rename target/arm/{ => tcg}/translate-a64.c (99%)
 rename target/arm/{ => tcg}/translate-m-nocp.c (100%)
 rename target/arm/{ => tcg}/translate-neon.c (100%)
 rename target/arm/{ => tcg}/translate-sve.c (100%)
 rename target/arm/{ => tcg}/translate-vfp.c (100%)
 rename target/arm/{ => tcg}/translate.c (99%)
 create mode 100644 target/arm/tcg/user/m_helper.c
 create mode 100644 target/arm/tcg/user/mte_helper.c
 create mode 100644 target/arm/tcg/user/tlb_helper.c
 rename target/arm/{ => tcg}/vec_helper.c (100%)
 rename target/arm/{ => tcg}/vfp_helper.c (84%)
 create mode 100644 target/Kconfig
 create mode 100644 target/alpha/Kconfig
 create mode 100644 target/arm/Kconfig
 create mode 100644 target/arm/kvm/meson.build
 create mode 100644 target/arm/kvm/trace-events
 create mode 100644 target/arm/tcg/meson.build
 create mode 100644 target/arm/tcg/sysemu/meson.build
 rename target/arm/{ => tcg}/trace-events (78%)
 create mode 100644 target/arm/tcg/user/meson.build
 create mode 100644 target/avr/Kconfig
 create mode 100644 target/cris/Kconfig
 create mode 100644 target/hppa/Kconfig
 create mode 100644 target/i386/Kconfig
 create mode 100644 target/lm32/Kconfig
 create mode 100644 target/m68k/Kconfig
 create mode 100644 target/microblaze/Kconfig
 create mode 100644 target/mips/Kconfig
 create mode 100644 target/moxie/Kconfig
 create mode 100644 target/nios2/Kconfig
 create mode 100644 target/openrisc/Kconfig
 create mode 100644 target/ppc/Kconfig
 create mode 100644 target/riscv/Kconfig
 create mode 100644 target/rx/Kconfig
 create mode 100644 target/s390x/Kconfig
 create mode 100644 target/sh4/Kconfig
 create mode 100644 target/sparc/Kconfig
 create mode 100644 target/tilegx/Kconfig
 create mode 100644 target/tricore/Kconfig
 create mode 100644 target/unicore32/Kconfig
 create mode 100644 target/xtensa/Kconfig
Signature · 1 line
2.20.1