All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH]: MIPS: Select CONFIG_MIPS_O32_FP64_SUPPORT if 64bit kernel and o32
@ 2015-04-01  6:49 Joshua Kinard
  2015-04-01  8:01 ` Markos Chandras
  0 siblings, 1 reply; 3+ messages in thread
From: Joshua Kinard @ 2015-04-01  6:49 UTC (permalink / raw)
  To: Ralf Baechle; +Cc: Linux MIPS List

From: Joshua Kinard <kumba@gentoo.org>

Select CONFIG_MIPS_O32_FP64_SUPPORT by default if CONFIG_64BIT and
CONFIG_MIPS32_O32 are selected.  This avoids breaking things when
booting into an o32 userland under a 64bit kernel.  Symptoms of not
selecting CONFIG_MIPS_O32_FP64_SUPPORT can include OpenSSH claiming that
the "PRNG is not seeded" and Python programs to fail with either a
SIGSEGV or errors regarding "float NaN".

Signed-off-by: Joshua Kinard <kumba@gentoo.org>
---
 arch/mips/Kconfig |    1 +
 1 file changed, 1 insertion(+)

mips-fix-o32-fp64-on-mips64.patch
diff --git a/arch/mips/Kconfig b/arch/mips/Kconfig
index 294f82e..1b826ed 100644
--- a/arch/mips/Kconfig
+++ b/arch/mips/Kconfig
@@ -2736,6 +2736,7 @@ config MIPS32_O32
 	select COMPAT
 	select MIPS32_COMPAT
 	select SYSVIPC_COMPAT if SYSVIPC
+	select MIPS_O32_FP64_SUPPORT if 64BIT
 	help
 	  Select this option if you want to run o32 binaries.  These are pure
 	  32-bit binaries as used by the 32-bit Linux/MIPS port.  Most of

^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2015-04-01 18:38 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-04-01  6:49 [PATCH]: MIPS: Select CONFIG_MIPS_O32_FP64_SUPPORT if 64bit kernel and o32 Joshua Kinard
2015-04-01  8:01 ` Markos Chandras
2015-04-01 18:37   ` Joshua Kinard

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.