* [PATCH v2] configure, meson: deprecate 32-bit MIPS
@ 2024-10-28 8:24 Paolo Bonzini
2024-10-28 13:36 ` Philippe Mathieu-Daudé
0 siblings, 1 reply; 2+ messages in thread
From: Paolo Bonzini @ 2024-10-28 8:24 UTC (permalink / raw)
To: qemu-devel; +Cc: philmd
The mipsel architecture is not available in Debian Trixie, and it will
likely be a hard failure as soon as we drop support for the old Rust
toolchain in Debian Bookworm. Prepare by deprecating 32-bit little
endian MIPS in QEMU 9.2.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
---
docs/about/build-platforms.rst | 2 +-
docs/about/deprecated.rst | 12 ++++++++----
meson.build | 8 ++++++++
3 files changed, 17 insertions(+), 5 deletions(-)
diff --git a/docs/about/build-platforms.rst b/docs/about/build-platforms.rst
index 8fd7da140a3..b779eb54934 100644
--- a/docs/about/build-platforms.rst
+++ b/docs/about/build-platforms.rst
@@ -41,7 +41,7 @@ Those hosts are officially supported, with various accelerators:
- Accelerators
* - Arm
- kvm (64 bit only), tcg, xen
- * - MIPS (little endian only)
+ * - MIPS (64 bit little endian only)
- kvm, tcg
* - PPC
- kvm, tcg
diff --git a/docs/about/deprecated.rst b/docs/about/deprecated.rst
index ce38a3d0cf0..f3f4cd4059f 100644
--- a/docs/about/deprecated.rst
+++ b/docs/about/deprecated.rst
@@ -164,15 +164,19 @@ property types.
Host Architectures
------------------
-BE MIPS (since 7.2)
-'''''''''''''''''''
+Big endian MIPS since 7.2; 32-bit little endian MIPS since 9.2
+''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
As Debian 10 ("Buster") moved into LTS the big endian 32 bit version of
MIPS moved out of support making it hard to maintain our
cross-compilation CI tests of the architecture. As we no longer have
CI coverage support may bitrot away before the deprecation process
-completes. The little endian variants of MIPS (both 32 and 64 bit) are
-still a supported host architecture.
+completes.
+
+Likewise, the little endian variant of 32 bit MIPS is not supported by
+Debian 13 ("Trixie") and newer.
+
+64 bit little endian MIPS is still a supported host architecture.
System emulation on 32-bit x86 hosts (since 8.0)
''''''''''''''''''''''''''''''''''''''''''''''''
diff --git a/meson.build b/meson.build
index 5e2b0fb82b2..110e93f84e9 100644
--- a/meson.build
+++ b/meson.build
@@ -4721,6 +4721,14 @@ if host_arch == 'unknown'
message('configure has succeeded and you can continue to build, but')
message('QEMU will use a slow interpreter to emulate the target CPU.')
endif
+elif host_arch == 'mips'
+ message()
+ warning('DEPRECATED HOST CPU')
+ message()
+ message('Support for CPU host architecture ' + cpu + ' is going to be')
+ message('dropped as soon as the QEMU project stops supporting Debian 12')
+ message('("Bookworm"). Going forward, the QEMU project will not guarantee')
+ message('that QEMU will compile or work on this host CPU.')
endif
if not supported_oses.contains(host_os)
--
2.47.0
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH v2] configure, meson: deprecate 32-bit MIPS
2024-10-28 8:24 [PATCH v2] configure, meson: deprecate 32-bit MIPS Paolo Bonzini
@ 2024-10-28 13:36 ` Philippe Mathieu-Daudé
0 siblings, 0 replies; 2+ messages in thread
From: Philippe Mathieu-Daudé @ 2024-10-28 13:36 UTC (permalink / raw)
To: Paolo Bonzini, qemu-devel
Cc: Michael Tokarev, Jiaxun Yang, Aurelien Jarno, Aleksandar Rikalo,
Huacai Chen
On 28/10/24 05:24, Paolo Bonzini wrote:
> The mipsel architecture is not available in Debian Trixie, and it will
> likely be a hard failure as soon as we drop support for the old Rust
> toolchain in Debian Bookworm. Prepare by deprecating 32-bit little
> endian MIPS in QEMU 9.2.
>
> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
> ---
> docs/about/build-platforms.rst | 2 +-
> docs/about/deprecated.rst | 12 ++++++++----
> meson.build | 8 ++++++++
> 3 files changed, 17 insertions(+), 5 deletions(-)
>
> diff --git a/docs/about/build-platforms.rst b/docs/about/build-platforms.rst
> index 8fd7da140a3..b779eb54934 100644
> --- a/docs/about/build-platforms.rst
> +++ b/docs/about/build-platforms.rst
> @@ -41,7 +41,7 @@ Those hosts are officially supported, with various accelerators:
> - Accelerators
> * - Arm
> - kvm (64 bit only), tcg, xen
> - * - MIPS (little endian only)
> + * - MIPS (64 bit little endian only)
> - kvm, tcg
> * - PPC
> - kvm, tcg
> diff --git a/docs/about/deprecated.rst b/docs/about/deprecated.rst
> index ce38a3d0cf0..f3f4cd4059f 100644
> --- a/docs/about/deprecated.rst
> +++ b/docs/about/deprecated.rst
> @@ -164,15 +164,19 @@ property types.
> Host Architectures
> ------------------
>
> -BE MIPS (since 7.2)
> -'''''''''''''''''''
> +Big endian MIPS since 7.2; 32-bit little endian MIPS since 9.2
> +''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
>
> As Debian 10 ("Buster") moved into LTS the big endian 32 bit version of
> MIPS moved out of support making it hard to maintain our
> cross-compilation CI tests of the architecture. As we no longer have
> CI coverage support may bitrot away before the deprecation process
> -completes. The little endian variants of MIPS (both 32 and 64 bit) are
> -still a supported host architecture.
> +completes.
> +
> +Likewise, the little endian variant of 32 bit MIPS is not supported by
> +Debian 13 ("Trixie") and newer.
> +
> +64 bit little endian MIPS is still a supported host architecture.
>
> System emulation on 32-bit x86 hosts (since 8.0)
> ''''''''''''''''''''''''''''''''''''''''''''''''
> diff --git a/meson.build b/meson.build
> index 5e2b0fb82b2..110e93f84e9 100644
> --- a/meson.build
> +++ b/meson.build
> @@ -4721,6 +4721,14 @@ if host_arch == 'unknown'
> message('configure has succeeded and you can continue to build, but')
> message('QEMU will use a slow interpreter to emulate the target CPU.')
> endif
> +elif host_arch == 'mips'
> + message()
> + warning('DEPRECATED HOST CPU')
> + message()
> + message('Support for CPU host architecture ' + cpu + ' is going to be')
> + message('dropped as soon as the QEMU project stops supporting Debian 12')
> + message('("Bookworm"). Going forward, the QEMU project will not guarantee')
> + message('that QEMU will compile or work on this host CPU.')
> endif
>
> if not supported_oses.contains(host_os)
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2024-10-28 13:37 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-10-28 8:24 [PATCH v2] configure, meson: deprecate 32-bit MIPS Paolo Bonzini
2024-10-28 13:36 ` Philippe Mathieu-Daudé
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).