Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

MIPS: Kconfig: Enable microMIPS support for Malta

Add missing microMIPS support to Malta. Currently the kernel only
enables support for the instruction set for the SEAD-3 board despite the
fact processor features have nothing to do with the board a processor is
installed in.

In this case there is no way to run microMIPS software in a fully
supported way under Linux on QEMU. QEMU supports the emulation of a
Malta board, but does not emulate SEAD-3. Linux supports running
microMIPS code on a SEAD-3 board, but hardcodes such support to off on
an emulated Malta board even if the processor selected has the microMIPS
instruction set implemented.

Adding support for the SEAD-3 to QEMU is a major project. Flipping a
bit in the kernel that shouldn't have been cleared in the first place is
a trivial effort. Thus the answer is plain...

Signed-off-by: Maciej W. Rozycki <macro@codesourcery.com>
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/8478/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>

authored by

Maciej W. Rozycki and committed by
Ralf Baechle
424ebcdf d47ff0ec

+1
+1
arch/mips/Kconfig
··· 384 384 select SYS_SUPPORTS_64BIT_KERNEL 385 385 select SYS_SUPPORTS_BIG_ENDIAN 386 386 select SYS_SUPPORTS_LITTLE_ENDIAN 387 + select SYS_SUPPORTS_MICROMIPS 387 388 select SYS_SUPPORTS_MIPS_CMP 388 389 select SYS_SUPPORTS_MIPS_CPS 389 390 select SYS_SUPPORTS_MIPS16