[<prev] [next>] [day] [month] [year] [list]
Message-Id: <1437999987-24879-2-git-send-email-stefan@sevenbyte.org>
Date: Mon, 27 Jul 2015 14:26:20 +0200
From: Stefan Tatschner <stefan@...enbyte.org>
To: ludwig.kuerzinger@...ec.fraunhofer.de
Cc: Paul Burton <paul.burton@...tec.com>,
Markos Chandras <markos.chandras@...tec.com>,
<stable@...r.kernel.org>, linux-mips@...ux-mips.org,
Matthew Fortune <matthew.fortune@...tec.com>,
linux-kernel@...r.kernel.org, Ralf Baechle <ralf@...ux-mips.org>
Subject: [PATCH 2/9] MIPS: Require O32 FP64 support for MIPS64 with O32 compat
MIPS32r6 code requires FP64 (ie. FR=1) support. Building a kernel with
support for MIPS32r6 binaries but without support for O32 with FP64 is
therefore a problem which can lead to incorrectly executed userland.
CONFIG_MIPS_O32_FP64_SUPPORT is already selected when the kernel is
configured for MIPS32r6, but not when the kernel is configured for
MIPS64r6 with O32 compat support. Select CONFIG_MIPS_O32_FP64_SUPPORT in
such configurations to prevent building kernels which execute MIPS32r6
userland incorrectly.
Signed-off-by: Paul Burton <paul.burton@...tec.com>
Cc: Markos Chandras <markos.chandras@...tec.com>
Cc: <stable@...r.kernel.org> # v4.0-
Cc: linux-mips@...ux-mips.org
Cc: Matthew Fortune <matthew.fortune@...tec.com>
Cc: stable@...r.kernel.org
Cc: linux-kernel@...r.kernel.org
Patchwork: https://patchwork.linux-mips.org/patch/10674/
Signed-off-by: Ralf Baechle <ralf@...ux-mips.org>
---
arch/mips/Kconfig | 1 +
1 file changed, 1 insertion(+)
View attachment "0002-MIPS-Require-O32-FP64-support-for-MIPS64-with-O32-co.patch" of type "text/x-patch" (447 bytes)
Powered by blists - more mailing lists