]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commitdiff
MIPS: select CPU_MIPS64 for remaining MIPS64 CPUs
authorJason A. Donenfeld <Jason@zx2c4.com>
Sat, 27 Feb 2021 23:02:36 +0000 (00:02 +0100)
committerThomas Bogendoerfer <tsbogend@alpha.franken.de>
Sat, 6 Mar 2021 07:43:39 +0000 (08:43 +0100)
CPU_MIPS64 is supposed to be selected for CPUs that implement a revision
of the MIPS64 ISA. While it contains the generic ones, it forgot about
Octeon and Loongson in its list, which are indeed MIPS64 processors.
This commit adds these missing CPUs to the auto-selection list.

Cc: Maciej W. Rozycki <macro@orcam.me.uk>
Cc: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
Cc: Ralf Baechle <ralf@linux-mips.org>
Cc: George Cherian <gcherian@marvell.com>
Cc: Huacai Chen <chenhuacai@kernel.org>
Cc: Jiaxun Yang <jiaxun.yang@flygoat.com>
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
arch/mips/Kconfig

index d89efba3d8a44a9f861b35b9f8f7b47c9605e7fd..3e0e8f1d2e82bb8e1bb58b772c1eb8fc670174a3 100644 (file)
@@ -2118,7 +2118,7 @@ config CPU_MIPS32
 config CPU_MIPS64
        bool
        default y if CPU_MIPS64_R1 || CPU_MIPS64_R2 || CPU_MIPS64_R5 || \
-                    CPU_MIPS64_R6
+                    CPU_MIPS64_R6 || CPU_LOONGSON64 || CPU_CAVIUM_OCTEON
 
 #
 # These indicate the revision of the architecture