Skip to contentSkip to conversation

tcg: Remove support for 32-bit arm hosts

PATCH In review Philippe Mathieu-Daudé 3 participants 6 messages Nov 17, 2025 Arm/Amlogic Meson SoC support

lore
Share & tools
lore
#0 lore raw

cover tcg: Remove support for 32-bit arm hosts

32-bit hosts are deprecated since QEMU v10.0.0; we already removed support for MIPS and PPC hosts. Time for ARM removal.

Based-on: <[email protected]>
"roms: Do not try to build EDK2 for 32-bit ARM on Fedora"
Based-on: <[email protected]>
"docs: Mention 32-bit PPC host as removed"

Philippe Mathieu-Daudé (2):
gitlab: Stop cross-testing for 32-bit ARM hosts
buildsys: Remove support for 32-bit ARM hosts

 MAINTAINERS                                   |    6 -
 docs/about/removed-features.rst               |    4 +-
 configure                                     |   39 -
 meson.build                                   |    5 +-
 linux-user/include/host/arm/host-signal.h     |   43 -
 tcg/arm/tcg-target-con-set.h                  |   47 -
 tcg/arm/tcg-target-con-str.h                  |   26 -
 tcg/arm/tcg-target-has.h                      |   73 -
 tcg/arm/tcg-target-mo.h                       |   13 -
 tcg/arm/tcg-target-reg-bits.h                 |   12 -
 tcg/arm/tcg-target.h                          |   73 -
 tcg/arm/tcg-target-opc.h.inc                  |   16 -
 tcg/arm/tcg-target.c.inc                      | 3489 -----------------
 .gitlab-ci.d/container-cross.yml              |    6 -
 .gitlab-ci.d/crossbuilds.yml                  |    7 -
 common-user/host/arm/safe-syscall.inc.S       |  108 -
 python/qemu/utils/accel.py                    |    1 -
 roms/edk2-build.py                            |    4 -
 .../dockerfiles/debian-armhf-cross.docker     |  188 -
 tests/docker/dockerfiles/debian-bootstrap.pre |    5 +-
 tests/lcitool/refresh                         |    5 -
 21 files changed, 4 insertions(+), 4166 deletions(-)
 delete mode 100644 linux-user/include/host/arm/host-signal.h
 delete mode 100644 tcg/arm/tcg-target-con-set.h
 delete mode 100644 tcg/arm/tcg-target-con-str.h
 delete mode 100644 tcg/arm/tcg-target-has.h
 delete mode 100644 tcg/arm/tcg-target-mo.h
 delete mode 100644 tcg/arm/tcg-target-reg-bits.h
 delete mode 100644 tcg/arm/tcg-target.h
 delete mode 100644 tcg/arm/tcg-target-opc.h.inc
 delete mode 100644 tcg/arm/tcg-target.c.inc
 delete mode 100644 common-user/host/arm/safe-syscall.inc.S
 delete mode 100644 tests/docker/dockerfiles/debian-armhf-cross.docker
Signature · 1 line
2.51.0
#1 lore raw

PATCH 1/2 gitlab: Stop cross-testing for 32-bit ARM hosts

32-bit host support is deprecated since commit 6d701c9bac1 ("meson: Deprecate 32-bit host support"). Next commits will remove support for 32-bit ARM hosts. Stop cross-building QEMU on our CI. Remove the CI jobs and related Docker files.

---
 configure                                     |   9 -
 .gitlab-ci.d/container-cross.yml              |   6 -
 .gitlab-ci.d/crossbuilds.yml                  |   7 -
 python/qemu/utils/accel.py                    |   1 -
 roms/edk2-build.py                            |   4 -
 .../dockerfiles/debian-armhf-cross.docker     | 188 ------------------
 tests/docker/dockerfiles/debian-bootstrap.pre |   5 +-
 tests/lcitool/refresh                         |   5 -
 8 files changed, 1 insertion(+), 224 deletions(-)
 delete mode 100644 tests/docker/dockerfiles/debian-armhf-cross.docker
configure +0 -9
index a2f66f7ff9c..4b8f92e822b 100755
@@ -1334,8 +1334,6 @@ fi
 : ${cross_prefix_aarch64="aarch64-linux-gnu-"}
 : ${cross_prefix_aarch64_be="$cross_prefix_aarch64"}
 : ${cross_prefix_alpha="alpha-linux-gnu-"}
-: ${cross_prefix_arm="arm-linux-gnueabihf-"}
-: ${cross_prefix_armeb="$cross_prefix_arm"}
 : ${cross_prefix_hexagon="hexagon-unknown-linux-musl-"}
 : ${cross_prefix_loongarch64="loongarch64-unknown-linux-gnu-"}
 : ${cross_prefix_hppa="hppa-linux-gnu-"}
@@ -1359,8 +1357,6 @@ fi
 
 : ${cross_cc_aarch64_be="$cross_cc_aarch64"}
 : ${cross_cc_cflags_aarch64_be="-mbig-endian"}
-: ${cross_cc_armeb="$cross_cc_arm"}
-: ${cross_cc_cflags_armeb="-mbig-endian"}
 : ${cross_cc_hexagon="hexagon-unknown-linux-musl-clang"}
 : ${cross_cc_cflags_hexagon="-mv73 -O2 -static"}
 : ${cross_cc_cflags_i386="-m32"}
@@ -1481,11 +1477,6 @@ probe_target_compiler() {
         # We don't have any bigendian build tools so we only use this for AArch64
         container_image=debian-arm64-cross
         ;;
-      arm)
-        # We don't have any bigendian build tools so we only use this for ARM
-        container_image=debian-armhf-cross
-        container_cross_prefix=arm-linux-gnueabihf-
-        ;;
       hexagon)
         container_cross_prefix=hexagon-unknown-linux-musl-
         container_cross_cc=${container_cross_prefix}clang
.gitlab-ci.d/container-cross.yml +0 -6
index 0fd7341afac..e7ce1392770 100644
@@ -22,12 +22,6 @@ arm64-debian-cross-container:
   variables:
     NAME: debian-arm64-cross
 
-armhf-debian-cross-container:
-  extends: .container_job_template
-  stage: containers
-  variables:
-    NAME: debian-armhf-cross
-
 hexagon-cross-container:
   extends: .container_job_template
   stage: containers
.gitlab-ci.d/crossbuilds.yml +0 -7
index 99dfa7eea6f..e0a68c2023d 100644
@@ -1,13 +1,6 @@
 include:
   - local: '/.gitlab-ci.d/crossbuild-template.yml'
 
-cross-armhf-user:
-  extends: .cross_user_build_job
-  needs:
-    - job: armhf-debian-cross-container
-  variables:
-    IMAGE: debian-armhf-cross
-
 cross-arm64-system:
   extends: .cross_system_build_job
   needs:
python/qemu/utils/accel.py +0 -1
index f915b646692..e6fca304b33 100644
@@ -26,7 +26,6 @@
 # support which often includes its 32 bit cousin.
 ADDITIONAL_ARCHES = {
     "x86_64": "i386",
-    "aarch64": "armhf",
     "ppc64le": "ppc64",
 }
 
roms/edk2-build.py +0 -4
index c7e9dc58ec0..683c622c3d6 100755
@@ -289,10 +289,6 @@ def prepare_env(cfg, silent = False):
     os.environ['PYTHONHASHSEED'] = '1'
 
     # for cross builds
-    if binary_exists('arm-linux-gnueabi-gcc'):
-        # ubuntu
-        os.environ['GCC5_ARM_PREFIX'] = 'arm-linux-gnueabi-'
-        os.environ['GCC_ARM_PREFIX'] = 'arm-linux-gnueabi-'
     if binary_exists('loongarch64-linux-gnu-gcc'):
         os.environ['GCC5_LOONGARCH64_PREFIX'] = 'loongarch64-linux-gnu-'
         os.environ['GCC_LOONGARCH64_PREFIX'] = 'loongarch64-linux-gnu-'
tests/docker/dockerfiles/debian-armhf-cross.docker deleted +0 -188

188 lines not on this page · raw message

tests/docker/dockerfiles/debian-bootstrap.pre +1 -4
index 35c85f7db8a..0a652754dfd 100755
@@ -21,7 +21,7 @@ if [ -z $FAKEROOT ]; then
 fi
 
 if [ -z "${DEB_ARCH}" ]; then
-    echo "Please set DEB_ARCH to choose an architecture (e.g. armhf)" >&2
+    echo "Please set DEB_ARCH to choose an architecture (e.g. arm64)" >&2
     exit_and_skip
 
 fi
@@ -99,9 +99,6 @@ else
         amd64)
             QEMU=qemu-i386
             ;;
-        armel|armhf)
-            QEMU=qemu-arm
-            ;;
         arm64)
             QEMU=qemu-aarch64
             ;;
tests/lcitool/refresh +0 -5
index df186caffe6..d3743ba73e8 100755
@@ -208,11 +208,6 @@ try:
                         trailer=cross_build("aarch64-linux-gnu-",
                                             "aarch64-softmmu,aarch64-linux-user"))
 
-    generate_dockerfile("debian-armhf-cross", "debian-13",
-                        cross="armv7l",
-                        trailer=cross_build("arm-linux-gnueabihf-",
-                                            "arm-softmmu,arm-linux-user"))
-
     generate_dockerfile("debian-i686-cross", "debian-13",
                         cross="i686",
                         trailer=cross_build("i686-linux-gnu-",
Signature · 1 line
2.51.0
#2 lore raw

Re: [PATCH-for-10.2 1/2] gitlab: Stop cross-testing for 32-bit ARM hosts

Quoted 41 lines · Philippe Mathieu-Daudé

32-bit host support is deprecated since commit 6d701c9bac1 ("meson: Deprecate 32-bit host support"). Next commits will remove support for 32-bit ARM hosts. Stop cross-building QEMU on our CI. Remove the CI jobs and related Docker files.

---
 configure                                     |   9 -
 .gitlab-ci.d/container-cross.yml              |   6 -
 .gitlab-ci.d/crossbuilds.yml                  |   7 -
 python/qemu/utils/accel.py                    |   1 -
 roms/edk2-build.py                            |   4 -
 .../dockerfiles/debian-armhf-cross.docker     | 188 ------------------
 tests/docker/dockerfiles/debian-bootstrap.pre |   5 +-
 tests/lcitool/refresh                         |   5 -
 8 files changed, 1 insertion(+), 224 deletions(-)
 delete mode 100644 tests/docker/dockerfiles/debian-armhf-cross.docker
configure +0 -4
index a2f66f7ff9c..4b8f92e822b 100755
@@ -1334,8 +1334,6 @@ fi
 : ${cross_prefix_aarch64="aarch64-linux-gnu-"}
 : ${cross_prefix_aarch64_be="$cross_prefix_aarch64"}
 : ${cross_prefix_alpha="alpha-linux-gnu-"}
-: ${cross_prefix_arm="arm-linux-gnueabihf-"}
-: ${cross_prefix_armeb="$cross_prefix_arm"}
 : ${cross_prefix_hexagon="hexagon-unknown-linux-musl-"}
 : ${cross_prefix_loongarch64="loongarch64-unknown-linux-gnu-"}
 : ${cross_prefix_hppa="hppa-linux-gnu-"}
@@ -1359,8 +1357,6 @@ fi
 
 : ${cross_cc_aarch64_be="$cross_cc_aarch64"}
 : ${cross_cc_cflags_aarch64_be="-mbig-endian"}
-: ${cross_cc_armeb="$cross_cc_arm"}
-: ${cross_cc_cflags_armeb="-mbig-endian"}
 : ${cross_cc_hexagon="hexagon-unknown-linux-musl-clang"}
 : ${cross_cc_cflags_hexagon="-mv73 -O2 -static"}
 : ${cross_cc_cflags_i386="-m32"}

configure probe_target_compiler() { · line 1488

Quoted 8 lines
configure +0 -5
@@ -1481,11 +1477,6 @@ probe_target_compiler() {
         # We don't have any bigendian build tools so we only use this for AArch64
         container_image=debian-arm64-cross
         ;;
-      arm)
-        # We don't have any bigendian build tools so we only use this for ARM
-        container_image=debian-armhf-cross
-        container_cross_prefix=arm-linux-gnueabihf-
-        ;;

This isn't used for cross-builds but for building tests. So you need to add a stanza above that passes:

container_image=debian-all-test-cross

Quoted 55 lines
configure +0 -0
       hexagon)
         container_cross_prefix=hexagon-unknown-linux-musl-
         container_cross_cc=${container_cross_prefix}clang
.gitlab-ci.d/container-cross.yml +0 -6
index 0fd7341afac..e7ce1392770 100644
@@ -22,12 +22,6 @@ arm64-debian-cross-container:
   variables:
     NAME: debian-arm64-cross
 
-armhf-debian-cross-container:
-  extends: .container_job_template
-  stage: containers
-  variables:
-    NAME: debian-armhf-cross
-
 hexagon-cross-container:
   extends: .container_job_template
   stage: containers
.gitlab-ci.d/crossbuilds.yml +0 -7
index 99dfa7eea6f..e0a68c2023d 100644
@@ -1,13 +1,6 @@
 include:
   - local: '/.gitlab-ci.d/crossbuild-template.yml'
 
-cross-armhf-user:
-  extends: .cross_user_build_job
-  needs:
-    - job: armhf-debian-cross-container
-  variables:
-    IMAGE: debian-armhf-cross
-
 cross-arm64-system:
   extends: .cross_system_build_job
   needs:
python/qemu/utils/accel.py +0 -1
index f915b646692..e6fca304b33 100644
@@ -26,7 +26,6 @@
 # support which often includes its 32 bit cousin.
 ADDITIONAL_ARCHES = {
     "x86_64": "i386",
-    "aarch64": "armhf",
     "ppc64le": "ppc64",
 }
 
roms/edk2-build.py +0 -0
index c7e9dc58ec0..683c622c3d6 100755

roms/edk2-build.py def prepare_env(cfg, silent = False): · line 295

Quoted 7 lines
roms/edk2-build.py +0 -4
@@ -289,10 +289,6 @@ def prepare_env(cfg, silent = False):
     os.environ['PYTHONHASHSEED'] = '1'
 
     # for cross builds
-    if binary_exists('arm-linux-gnueabi-gcc'):
-        # ubuntu
-        os.environ['GCC5_ARM_PREFIX'] = 'arm-linux-gnueabi-'
-        os.environ['GCC_ARM_PREFIX'] = 'arm-linux-gnueabi-'

Isn't this part of the firmware build? armhf guests aren't going away.

Quoted 211 lines
roms/edk2-build.py +0 -0
     if binary_exists('loongarch64-linux-gnu-gcc'):
         os.environ['GCC5_LOONGARCH64_PREFIX'] = 'loongarch64-linux-gnu-'
         os.environ['GCC_LOONGARCH64_PREFIX'] = 'loongarch64-linux-gnu-'
tests/docker/dockerfiles/debian-armhf-cross.docker deleted +0 -188
deleted file mode 100644
index 627d41c6dee..00000000000
@@ -1,188 +0,0 @@
-# THIS FILE WAS AUTO-GENERATED
-#
-#  $ lcitool dockerfile --layers all --cross-arch armv7l debian-13 qemu
-#
-# https://gitlab.com/libvirt/libvirt-ci
-
-FROM docker.io/library/debian:13-slim
-
-RUN export DEBIAN_FRONTEND=noninteractive && \
-    apt-get update && \
-    apt-get install -y eatmydata && \
-    eatmydata apt-get dist-upgrade -y && \
-    eatmydata apt-get install --no-install-recommends -y \
-                      bash \
-                      bc \
-                      bindgen \
-                      bison \
-                      bsdextrautils \
-                      bzip2 \
-                      ca-certificates \
-                      ccache \
-                      dbus \
-                      debianutils \
-                      diffutils \
-                      exuberant-ctags \
-                      findutils \
-                      flex \
-                      gcc \
-                      gcovr \
-                      gettext \
-                      git \
-                      hostname \
-                      libclang-rt-dev \
-                      libglib2.0-dev \
-                      llvm \
-                      locales \
-                      make \
-                      mtools \
-                      ncat \
-                      ninja-build \
-                      openssh-client \
-                      pkgconf \
-                      python3 \
-                      python3-numpy \
-                      python3-opencv \
-                      python3-pillow \
-                      python3-pip \
-                      python3-setuptools \
-                      python3-sphinx \
-                      python3-sphinx-rtd-theme \
-                      python3-tomli \
-                      python3-venv \
-                      python3-wheel \
-                      python3-yaml \
-                      rpm2cpio \
-                      rustc \
-                      sed \
-                      socat \
-                      sparse \
-                      swtpm \
-                      tar \
-                      tesseract-ocr \
-                      tesseract-ocr-eng \
-                      vulkan-tools \
-                      xorriso \
-                      zstd && \
-    eatmydata apt-get autoremove -y && \
-    eatmydata apt-get autoclean -y && \
-    sed -Ei 's,^# (en_US\.UTF-8 .*)$,\1,' /etc/locale.gen && \
-    dpkg-reconfigure locales && \
-    rm -f /usr/lib*/python3*/EXTERNALLY-MANAGED
-
-RUN /usr/bin/pip3 install meson==1.8.1
-
-ENV CCACHE_WRAPPERSDIR "/usr/libexec/ccache-wrappers"
-ENV LANG "en_US.UTF-8"
-ENV MAKE "/usr/bin/make"
-ENV NINJA "/usr/bin/ninja"
-ENV PYTHON "/usr/bin/python3"
-
-RUN export DEBIAN_FRONTEND=noninteractive && \
-    dpkg --add-architecture armhf && \
-    eatmydata apt-get update && \
-    eatmydata apt-get dist-upgrade -y && \
-    eatmydata apt-get install --no-install-recommends -y dpkg-dev && \
-    eatmydata apt-get install --no-install-recommends -y \
-                      gcc-arm-linux-gnueabihf \
-                      libaio-dev:armhf \
-                      libasan8:armhf \
-                      libasound2-dev:armhf \
-                      libattr1-dev:armhf \
-                      libbpf-dev:armhf \
-                      libbrlapi-dev:armhf \
-                      libbz2-dev:armhf \
-                      libc6-dev:armhf \
-                      libcacard-dev:armhf \
-                      libcap-ng-dev:armhf \
-                      libcapstone-dev:armhf \
-                      libcbor-dev:armhf \
-                      libcmocka-dev:armhf \
-                      libcurl4-gnutls-dev:armhf \
-                      libdaxctl-dev:armhf \
-                      libdrm-dev:armhf \
-                      libepoxy-dev:armhf \
-                      libfdt-dev:armhf \
-                      libffi-dev:armhf \
-                      libfuse3-dev:armhf \
-                      libgbm-dev:armhf \
-                      libgcrypt20-dev:armhf \
-                      libglib2.0-dev:armhf \
-                      libgnutls28-dev:armhf \
-                      libgtk-3-dev:armhf \
-                      libgtk-vnc-2.0-dev:armhf \
-                      libibverbs-dev:armhf \
-                      libiscsi-dev:armhf \
-                      libjemalloc-dev:armhf \
-                      libjpeg62-turbo-dev:armhf \
-                      libjson-c-dev:armhf \
-                      liblttng-ust-dev:armhf \
-                      liblzo2-dev:armhf \
-                      libncursesw5-dev:armhf \
-                      libnfs-dev:armhf \
-                      libnuma-dev:armhf \
-                      libpam0g-dev:armhf \
-                      libpcre2-dev:armhf \
-                      libpipewire-0.3-dev:armhf \
-                      libpixman-1-dev:armhf \
-                      libpng-dev:armhf \
-                      libpulse-dev:armhf \
-                      librdmacm-dev:armhf \
-                      libsasl2-dev:armhf \
-                      libsdl2-dev:armhf \
-                      libsdl2-image-dev:armhf \
-                      libseccomp-dev:armhf \
-                      libselinux1-dev:armhf \
-                      libslirp-dev:armhf \
-                      libsnappy-dev:armhf \
-                      libsndio-dev:armhf \
-                      libspice-protocol-dev:armhf \
-                      libspice-server-dev:armhf \
-                      libssh-dev:armhf \
-                      libstd-rust-dev:armhf \
-                      libsystemd-dev:armhf \
-                      libtasn1-6-dev:armhf \
-                      libubsan1:armhf \
-                      libudev-dev:armhf \
-                      liburing-dev:armhf \
-                      libusb-1.0-0-dev:armhf \
-                      libusbredirhost-dev:armhf \
-                      libvdeplug-dev:armhf \
-                      libvirglrenderer-dev:armhf \
-                      libvte-2.91-dev:armhf \
-                      libxdp-dev:armhf \
-                      libzstd-dev:armhf \
-                      nettle-dev:armhf \
-                      systemtap-sdt-dev:armhf \
-                      zlib1g-dev:armhf && \
-    eatmydata apt-get autoremove -y && \
-    eatmydata apt-get autoclean -y && \
-    mkdir -p /usr/local/share/meson/cross && \
-    printf "[binaries]\n\
-c = '/usr/bin/arm-linux-gnueabihf-gcc'\n\
-ar = '/usr/bin/arm-linux-gnueabihf-gcc-ar'\n\
-strip = '/usr/bin/arm-linux-gnueabihf-strip'\n\
-pkgconfig = '/usr/bin/arm-linux-gnueabihf-pkg-config'\n\
-\n\
-[host_machine]\n\
-system = 'linux'\n\
-cpu_family = 'arm'\n\
-cpu = 'armhf'\n\
-endian = 'little'\n" > /usr/local/share/meson/cross/arm-linux-gnueabihf && \
-    dpkg-query --showformat '${Package}_${Version}_${Architecture}\n' --show > /packages.txt && \
-    mkdir -p /usr/libexec/ccache-wrappers && \
-    ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/arm-linux-gnueabihf-cc && \
-    ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/arm-linux-gnueabihf-gcc
-
-ENV ABI "arm-linux-gnueabihf"
-ENV MESON_OPTS "--cross-file=arm-linux-gnueabihf"
-ENV RUST_TARGET "armv7-unknown-linux-gnueabihf"
-ENV QEMU_CONFIGURE_OPTS --cross-prefix=arm-linux-gnueabihf-
-ENV DEF_TARGET_LIST arm-softmmu,arm-linux-user
-# As a final step configure the user (if env is defined)
-ARG USER
-ARG UID
-RUN if [ "${USER}" ]; then \
-  id ${USER} 2>/dev/null || useradd -u ${UID} -U ${USER}; fi
-
-ENV ENABLE_RUST 1
tests/docker/dockerfiles/debian-bootstrap.pre +1 -1
index 35c85f7db8a..0a652754dfd 100755
@@ -21,7 +21,7 @@ if [ -z $FAKEROOT ]; then
 fi
 
 if [ -z "${DEB_ARCH}" ]; then
-    echo "Please set DEB_ARCH to choose an architecture (e.g. armhf)" >&2
+    echo "Please set DEB_ARCH to choose an architecture (e.g. arm64)" >&2
     exit_and_skip
 
 fi

tests/docker/dockerfiles/debian-bootstrap.pre else · line 104

Quoted 6 lines
tests/docker/dockerfiles/debian-bootstrap.pre +0 -3
@@ -99,9 +99,6 @@ else
         amd64)
             QEMU=qemu-i386
             ;;
-        armel|armhf)
-            QEMU=qemu-arm
-            ;;

Again this is for testing and building rootfs's so shouldn't be dropped here.

Quoted 19 lines
tests/docker/dockerfiles/debian-bootstrap.pre +0 -0
         arm64)
             QEMU=qemu-aarch64
             ;;
tests/lcitool/refresh +0 -5
index df186caffe6..d3743ba73e8 100755
@@ -208,11 +208,6 @@ try:
                         trailer=cross_build("aarch64-linux-gnu-",
                                             "aarch64-softmmu,aarch64-linux-user"))
 
-    generate_dockerfile("debian-armhf-cross", "debian-13",
-                        cross="armv7l",
-                        trailer=cross_build("arm-linux-gnueabihf-",
-                                            "arm-softmmu,arm-linux-user"))
-
     generate_dockerfile("debian-i686-cross", "debian-13",
                         cross="i686",
                         trailer=cross_build("i686-linux-gnu-",
Signature · 2 lines
Alex Bennée
Virtualisation Tech Lead @ Linaro
#3 lore raw

PATCH 2/2 buildsys: Remove support for 32-bit ARM hosts

In reply to Philippe Mathieu-Daudé

Stop detecting 32-bit ARM host as supported, update the deprecation document. See previous commit for rationale.

---
 MAINTAINERS                               |    6 -
 docs/about/removed-features.rst           |    4 +-
 configure                                 |   30 -
 meson.build                               |    5 +-
 linux-user/include/host/arm/host-signal.h |   43 -
 tcg/arm/tcg-target-con-set.h              |   47 -
 tcg/arm/tcg-target-con-str.h              |   26 -
 tcg/arm/tcg-target-has.h                  |   73 -
 tcg/arm/tcg-target-mo.h                   |   13 -
 tcg/arm/tcg-target-reg-bits.h             |   12 -
 tcg/arm/tcg-target.h                      |   73 -
 tcg/arm/tcg-target-opc.h.inc              |   16 -
 tcg/arm/tcg-target.c.inc                  | 3489 ---------------------
 common-user/host/arm/safe-syscall.inc.S   |  108 -
 14 files changed, 3 insertions(+), 3942 deletions(-)
 delete mode 100644 linux-user/include/host/arm/host-signal.h
 delete mode 100644 tcg/arm/tcg-target-con-set.h
 delete mode 100644 tcg/arm/tcg-target-con-str.h
 delete mode 100644 tcg/arm/tcg-target-has.h
 delete mode 100644 tcg/arm/tcg-target-mo.h
 delete mode 100644 tcg/arm/tcg-target-reg-bits.h
 delete mode 100644 tcg/arm/tcg-target.h
 delete mode 100644 tcg/arm/tcg-target-opc.h.inc
 delete mode 100644 tcg/arm/tcg-target.c.inc
 delete mode 100644 common-user/host/arm/safe-syscall.inc.S
MAINTAINERS +0 -6
index 38325e0617c..19a9389155c 100644
@@ -4024,12 +4024,6 @@ S: Maintained
 L: [email protected]
 F: tcg/aarch64/
 
-ARM TCG target
-M: Richard Henderson <[email protected]>
-S: Maintained
-L: [email protected]
-F: tcg/arm/
-
 i386 TCG target
 M: Richard Henderson <[email protected]>
 S: Maintained
docs/about/removed-features.rst +2 -2
index 3ebbe9aec98..f4b0c1f07b6 100644
@@ -902,8 +902,8 @@ From 10.0, QEMU has disabled configuration of 64-bit guests on 32-bit hosts.
 Debian 12 "Bookworm" removed support for 32-bit MIPS, making it hard to
 maintain our cross-compilation CI tests of the architecture.
 
-32-bit PPC (since 11.0)
-'''''''''''''''''''''''
+32-bit PPC and ARM (since 11.0)
+'''''''''''''''''''''''''''''''
 
 Keeping 32-bit host support alive is a substantial burden for the
 QEMU project.
configure +0 -30
index 4b8f92e822b..7f241fb239e 100755
@@ -413,8 +413,6 @@ elif check_define __riscv ; then
   else
     cpu="riscv32"
   fi
-elif check_define __arm__ ; then
-  cpu="arm"
 elif check_define __aarch64__ ; then
   cpu="aarch64"
 elif check_define __loongarch64 ; then
@@ -444,11 +442,6 @@ case "$cpu" in
     linux_arch=arm64
     ;;
 
-  armv*b|armv*l|arm)
-    cpu=arm
-    host_arch=arm
-    ;;
-
   i386|i486|i586|i686)
     cpu="i386"
     host_arch=i386
@@ -1234,17 +1227,6 @@ EOF
     fi
 
     case "$cpu" in
-    arm)
-      # e.g. arm-unknown-linux-gnueabi, arm-unknown-linux-gnueabihf
-      write_c_skeleton
-      compile_object
-      if $READELF -A $TMPO | grep Tag_API_VFP_args: > /dev/null; then
-        rust_osvariant=${rust_osvariant}eabihf
-      else
-        rust_osvariant=${rust_osvariant}eabi
-      fi
-      ;;
-
     mips64)
       # e.g. mips64-unknown-linux-gnuabi64
       rust_osvariant=${rust_osvariant}abi64
@@ -1252,11 +1234,6 @@ EOF
     esac
     ;;
 
-  netbsd)
-    # e.g. arm-unknown-netbsd-eabihf
-    test "$host_arch" = arm && rust_osvariant=eabihf
-    ;;
-
   sunos)
     rust_vendor=pc
     rust_os=solaris
@@ -1275,12 +1252,6 @@ EOF
 
   # now tweak the architecture part, possibly based on pre-canonicalization --cpu
   case "$host_arch" in
-  arm)
-    # preserve ISA version (armv7 etc.) from $raw_cpu if passed via --cpu
-    rust_arch=$raw_cpu
-    test "$rust_arch" = arm && test "$rust_os" != linux && rust_arch=armv7
-    ;;
-
   mips)
     # preserve ISA version (mipsisa64r6 etc.) and include endianness
     rust_arch=${raw_cpu%el}
@@ -1528,7 +1499,6 @@ probe_target_compiler() {
   if [ "${1%softmmu}" != "$1" ] || test "$target_arch" = "$cpu"; then
       case "$target_arch:$cpu" in
         aarch64_be:aarch64 | \
-        armeb:arm | \
         i386:x86_64 | \
         mips*:mips64 | \
         ppc*:ppc64 | \
meson.build +1 -4
index 5ddec8afd7b..6f8da62d53e 100644
@@ -52,7 +52,7 @@ qapi_trace_events = []
 bsd_oses = ['gnu/kfreebsd', 'freebsd', 'netbsd', 'openbsd', 'dragonfly', 'darwin']
 supported_oses = ['windows', 'freebsd', 'netbsd', 'openbsd', 'darwin', 'sunos', 'linux', 'emscripten']
 supported_cpus = ['ppc', 'ppc64', 's390x', 'riscv32', 'riscv64', 'x86', 'x86_64',
-  'arm', 'aarch64', 'loongarch64', 'mips64', 'sparc64', 'wasm32']
+  'aarch64', 'loongarch64', 'mips64', 'sparc64', 'wasm32']
 
 cpu = host_machine.cpu_family()
 
@@ -312,9 +312,6 @@ if cpu == 'x86'
   xen_targets = ['i386-softmmu']
 elif cpu == 'x86_64'
   xen_targets = ['i386-softmmu', 'x86_64-softmmu']
-elif cpu == 'arm'
-  # i386 emulator provides xenpv machine type for multiple architectures
-  xen_targets = ['i386-softmmu']
 elif cpu == 'aarch64'
   # i386 emulator provides xenpv machine type for multiple architectures
   xen_targets = ['i386-softmmu', 'x86_64-softmmu', 'aarch64-softmmu']
linux-user/include/host/arm/host-signal.h deleted +0 -43

43 lines not on this page · raw message

tcg/arm/tcg-target-con-set.h deleted +0 -47

47 lines not on this page · raw message

tcg/arm/tcg-target-con-str.h deleted +0 -26
deleted file mode 100644
index f83f1d3919c..00000000000
@@ -1,26 +0,0 @@
-/* SPDX-License-Identifier: MIT */
-/*
- * Define Arm target-specific operand constraints.
- * Copyright (c) 2021 Linaro
- */
-
-/*
- * Define constraint letters for register sets:
- * REGS(letter, register_mask)
- */
-REGS('e', ALL_GENERAL_REGS & 0x5555) /* even regs */
-REGS('r', ALL_GENERAL_REGS)
-REGS('q', ALL_QLDST_REGS)
-REGS('Q', ALL_QLDST_REGS & 0x5555)   /* even qldst */
-REGS('w', ALL_VECTOR_REGS)
-
-/*
- * Define constraint letters for constants:
- * CONST(letter, TCG_CT_CONST_* bit set)
- */
-CONST('I', TCG_CT_CONST_ARM)
-CONST('K', TCG_CT_CONST_INV)
-CONST('N', TCG_CT_CONST_NEG)
-CONST('O', TCG_CT_CONST_ORRI)
-CONST('V', TCG_CT_CONST_ANDI)
-CONST('Z', TCG_CT_CONST_ZERO)
tcg/arm/tcg-target-has.h deleted +0 -73

73 lines not on this page · raw message

tcg/arm/tcg-target-mo.h deleted +0 -13
deleted file mode 100644
index 12542dfd1cc..00000000000
@@ -1,13 +0,0 @@
-/* SPDX-License-Identifier: MIT */
-/*
- * Define target-specific memory model
- * Copyright (c) 2008 Fabrice Bellard
- * Copyright (c) 2008 Andrzej Zaborowski
- */
-
-#ifndef TCG_TARGET_MO_H
-#define TCG_TARGET_MO_H
-
-#define TCG_TARGET_DEFAULT_MO  0
-
-#endif
tcg/arm/tcg-target-reg-bits.h deleted +0 -12
deleted file mode 100644
index 23b7730a8d4..00000000000
@@ -1,12 +0,0 @@
-/* SPDX-License-Identifier: MIT */
-/*
- * Define target-specific register size
- * Copyright (c) 2023 Linaro
- */
-
-#ifndef TCG_TARGET_REG_BITS_H
-#define TCG_TARGET_REG_BITS_H
-
-#define TCG_TARGET_REG_BITS  32
-
-#endif
tcg/arm/tcg-target.h deleted +0 -73

73 lines not on this page · raw message

tcg/arm/tcg-target-opc.h.inc deleted +0 -16
deleted file mode 100644
index 70394e0282a..00000000000
@@ -1,16 +0,0 @@
-/*
- * Copyright (c) 2019 Linaro
- *
- * This work is licensed under the terms of the GNU GPL, version 2 or
- * (at your option) any later version.
- *
- * See the COPYING file in the top-level directory for details.
- *
- * Target-specific opcodes for host vector expansion.  These will be
- * emitted by tcg_expand_vec_op.  For those familiar with GCC internals,
- * consider these to be UNSPEC with names.
- */
-
-DEF(arm_sli_vec, 1, 2, 1, TCG_OPF_VECTOR)
-DEF(arm_sshl_vec, 1, 2, 0, TCG_OPF_VECTOR)
-DEF(arm_ushl_vec, 1, 2, 0, TCG_OPF_VECTOR)
tcg/arm/tcg-target.c.inc deleted +0 -3489

2,592 lines not on this page · raw message

common-user/host/arm/safe-syscall.inc.S deleted +0 -108

108 lines not on this page · raw message

The rest of this diff is not shown. View the raw message.

Signature · 1 line
2.51.0

Part of the diff is not shown here. View the raw message.

#4 lore raw
In reply to Philippe Mathieu-Daudé
Quoted 4 lines · Philippe Mathieu-Daudé

32-bit hosts are deprecated since QEMU v10.0.0; we already removed support for MIPS and PPC hosts. Time for ARM removal.

Quoted 8 lines

Based-on: <[email protected]>
"roms: Do not try to build EDK2 for 32-bit ARM on Fedora"
Based-on: <[email protected]>
"docs: Mention 32-bit PPC host as removed"

Philippe Mathieu-Daudé (2):
gitlab: Stop cross-testing for 32-bit ARM hosts
buildsys: Remove support for 32-bit ARM hosts

I would prefer us not to drop a deprecated feature after feature-freeze, please. This seems like it can wait for 11.0.

thanks
-- PMM

#5 lore raw
Quoted 10 lines · Peter Maydell
Quoted 9 lines · Philippe Mathieu-Daudé

32-bit hosts are deprecated since QEMU v10.0.0; we already removed support for MIPS and PPC hosts. Time for ARM removal.

Based-on: <[email protected]>
"roms: Do not try to build EDK2 for 32-bit ARM on Fedora"
Based-on: <[email protected]>
"docs: Mention 32-bit PPC host as removed"

Quoted 6 lines
Quoted 3 lines

Philippe Mathieu-Daudé (2):
gitlab: Stop cross-testing for 32-bit ARM hosts
buildsys: Remove support for 32-bit ARM hosts

I would prefer us not to drop a deprecated feature after feature-freeze, please. This seems like it can wait for 11.0.

Sure no problem on my side (per Daniel comment on IRC, I thought this was a due task).

Regards,

Phil.