Re: Bug#834844: release-notes: document that mips* arches now require a R2 CPU
James Cowgill <[email protected]>
| Newsgroups | gmane.linux.debian.ports.mips |
|---|---|
| Message-ID | <[email protected]> |
Hi, On 25/08/16 14:17, Ed Swierk wrote: > This mips32r2 requirement also appears to exclude Cavium Octeon: > > https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/tree/arch/mips/include/asm/mach-cavium-octeon/cpu-feature-overrides.h#n50 > > If that's accurate, it would be worth mentioning in the release notes as well. *sigh* Cavium Octeon machines do support R2 (mips32r2 is a subset of mips64r2) but for some reason unknown to me, don't actually expose this. I've adjusted the check to look for mips64r2 as well and attached a new patch. Thanks, James > On Thu, Aug 25, 2016 at 4:10 AM, James Cowgill <[email protected]> wrote: >> Control: tags -1 patch >> >> On 19/08/16 22:42, Aurelien Jarno wrote: >>> This is something to be expected as the mips and mipsel port now >>> defaults to using R2 instructions set. This means the Loongson 2 >>> CPUs are not supported anymore (this includes the Yeeloong machine). >>> >>> I have asked many times to document this changes in the release notes, >>> but this hasn't been done yet. I am therefore reassigning the bug there, >>> Cc:ing debian-mips so that somone can take care of that. >> >> How about the attached patch? It's loosely based on the i686 notes just >> above. >> >> I also changed the "human readable" mips architecture names since all >> the other arches seem to have them. >> >> James
mips-r2-relnotes-v2.diff
(text/x-patch, 2 KB)
Index: en/issues.dbk
===================================================================
--- en/issues.dbk (revision 11283)
+++ en/issues.dbk (working copy)
@@ -118,6 +118,31 @@
to i686 for the Debian i386 architecture</ulink>.
</para>
</section>
+ <section id="mips-requires-r2-processor" arch="mips;mipsel">
+ <!-- Jessie to Stretch -->
+ <title>32-bit MIPS now requires an R2 processor</title>
+ <para>
+ The 32-bit MIPS support (both big and little endian) now requires a
+ processor supporting MIPS32 Release 2 of the MIPS instruction set.
+ Notably the Loongson-2E/2F and systems based on them (including the
+ Yeeloong laptop) are no longer supported.
+ </para>
+ <para>
+ The following shell script can be used to indicate if your machine
+ supports R2 (assuming only one type of processor is present). Note that
+ Loongson-3 processors are supported even though they only claim to
+ support MIPS32 Release 1.
+ </para>
+ <screen>
+if grep -E -q '^isa.*\bmips(32|64)r2\b' /proc/cpuinfo; then
+ echo "OK (R2 supported)"
+elif grep -q '^cpu model.*\bICT Loongson-3\b' /proc/cpuinfo; then
+ echo "OK (Loongson 3)"
+else
+ echo "NOT OK: R2 not supported"
+fi
+</screen>
+ </section>
</section>
<section id="limited-security-support">
Index: release-notes.ent
===================================================================
--- release-notes.ent (revision 11283)
+++ release-notes.ent (working copy)
@@ -87,8 +87,8 @@
--><phrase arch='armel'>ARM EABI</phrase><!--
--><phrase arch='armhf'>ARMv7 (EABI hard-float ABI)</phrase><!--
--><phrase arch='i386'>32-bit PC</phrase><!--
- --><phrase arch='mips'>Mips</phrase><!--
- --><phrase arch='mipsel'>Mipsel</phrase><!--
+ --><phrase arch='mips'>32-bit MIPS (big endian)</phrase><!--
+ --><phrase arch='mipsel'>32-bit MIPS (little endian)</phrase><!--
--><phrase arch='powerpc'>PowerPC</phrase><!--
--><phrase arch='ppc64el'>64-bit little-endian PowerPC</phrase><!--
--><phrase arch='s390'>S/390</phrase><!--
signature.asc
(application/pgp-signature, 819 B)
-----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBCgAGBQJXvvW3AAoJEMfxZ23qLQHvgrwP/i+TfRBA/Jd5osY68b7RDvnC lx1Rvj6I56BpwCwBCkY2Jb8QLv/OW4rOTrPtsro0q4yDhPOe4XsfBIxmcvD43s4b qgpzROybsk37O6MZq9VmLaiR3ksSJKtvJjuRSA+Wmi7R9T+HR5nIII4dcSHDDYaV EFBy1ge79xktK5qu98iR0DGpuodo6kvQf1dvjpQ+JoKHbQtr3z3Ps1xaRC5cASXF xi7hV4s2/1YBn96H+4dGc91YBv6AJkRy/I/DQ71Lz/BQPuaq3YzNgueJ7q700c4z kJFzA9dFWyRVqHAyEfE2HB2guvxlG+R6Qn5zuWTwtAdkWvdU225vGImrOdjmQFbY c3J04qKVZvdPxps+OgNyJuDRKOFI8gGRUps9H0cTGYbQc0yusClD1WP7dadRBZ1w 8jIMrP5tMH33yh6MeIFEbzSKSbRAtXrPNJgS2WK4wDSmAx9tW8PiABxs/VLhBCP0 +KMfoAnkDQ/9VsjD3QLzChYA4tRvzS6s7oFoSaNOnm73NvzynAbkAAIGrf9x1a4Z iDdS71GOaODROAUVNawj0T/j4v25VjdQOdzYwX/1xKTJvEA4EcI7iFfre40Q35PV rUiDTL7G+wjg0mxP4iewWmxxrQsUa6osT6ZzgkC1XlrXpSMHqzPfjWmuBP92+g3d t+eewWKeWrA7r+6K2iKd =29IA -----END PGP SIGNATURE-----