Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 2a6cb669 authored by Paul Burton's avatar Paul Burton Committed by Ralf Baechle
Browse files

MIPS: Don't build MSA support unless it can be used



MSA requires that Status.FR == 1, so for MIPS32 tasks MSA can only be
used if CONFIG_MIPS_O32_FP64_SUPPORT is enabled. If it is not & the
kernel is 32bit, there's no point including support for MSA.

Signed-off-by: default avatarPaul Burton <paul.burton@imgtec.com>
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/7310/


Signed-off-by: default avatarRalf Baechle <ralf@linux-mips.org>
parent 7daef8f2
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -2117,6 +2117,7 @@ config CPU_MICROMIPS
config CPU_HAS_MSA
	bool "Support for the MIPS SIMD Architecture"
	depends on CPU_SUPPORTS_MSA
	depends on 64BIT || MIPS_O32_FP64_SUPPORT
	default y
	help
	  MIPS SIMD Architecture (MSA) introduces 128 bit wide vector registers