From patchwork Mon Jan 11 21:56:17 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Maciej W. Rozycki" X-Patchwork-Id: 10344 Received: (qmail 13978 invoked by alias); 11 Jan 2016 21:56:06 -0000 Mailing-List: contact libc-alpha-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: libc-alpha-owner@sourceware.org Delivered-To: mailing list libc-alpha@sourceware.org Received: (qmail 13969 invoked by uid 89); 11 Jan 2016 21:56:06 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=1.5 required=5.0 tests=BAYES_00, KAM_ASCII_DIVIDERS, RCVD_IN_DNSWL_NONE, RISK_FREE, RP_MATCHES_RCVD, SPF_PASS autolearn=no version=3.3.2 spammy=scheduled, rolled, upcoming, 1316 X-HELO: mailapp01.imgtec.com Date: Mon, 11 Jan 2016 21:56:17 +0000 From: "Maciej W. Rozycki" To: CC: Ralf Baechle Subject: [PATCH] MIPS: Set the required Linux kernel version to 4.5.0 for 2008 NaN Message-ID: User-Agent: Alpine 2.00 (DEB 1167 2008-08-23) MIME-Version: 1.0 * sysdeps/unix/sysv/linux/mips/configure.ac: Set `arch_minimum_kernel' to 4.5.0 if 2008 NaN encoding is used. * sysdeps/unix/sysv/linux/mips/configure: Regenerate. --- Hi, This is a heads-up for the upcoming IEEE Std 754-2008 NaN encoding support in the MIPS port of the Linux kernel. I'm sending this note now because of the imminent code freeze for the upcoming 2.23 glibc release. The timing is such that support for the said feature is scheduled for inclusion in Linux 4.5.0 and the first release candidate, 4.5.0-rc1, which is expected to be the first upstream kernel version to include the feature, is currently scheduled for Jan 24th. This date is however already after the hard freeze for our code is expected to have started. As the change, provided below, to set the required Linux kernel version to 4.5.0 for IEEE Std 754-2008 NaN encoding does not really change code in any way and merely records a fact I request for this change to be approved for inclusion in glibc trunk anytime before the 2.23 release has actually been rolled out regardless of the declared freeze state of the code base, provided that the Linux kernel feature has actually been included. In my opinion there is no risk to the quality of our release from having this change included even late in the release preparation cycle, and certainly there is no benefit from deferring this change only until the following 2.24 release, expected half a year from now. Maciej glibc-mips-nan-2008-minimum-kernel.diff Index: glibc/sysdeps/unix/sysv/linux/mips/configure =================================================================== --- glibc.orig/sysdeps/unix/sysv/linux/mips/configure 2016-01-07 13:57:37.121968046 +0000 +++ glibc/sysdeps/unix/sysv/linux/mips/configure 2016-01-07 15:25:08.876938262 +0000 @@ -472,9 +472,6 @@ libc_cv_gcc_unwind_find_fde=yes if test -z "$arch_minimum_kernel"; then if test x$libc_cv_mips_nan2008 = xyes; then - # FIXME: Adjust this setting to the actual first upstream kernel - # version to support the 2008 NaN encoding and then remove this - # comment. - arch_minimum_kernel=10.0.0 + arch_minimum_kernel=4.5.0 fi fi Index: glibc/sysdeps/unix/sysv/linux/mips/configure.ac =================================================================== --- glibc.orig/sysdeps/unix/sysv/linux/mips/configure.ac 2016-01-07 13:57:37.143376351 +0000 +++ glibc/sysdeps/unix/sysv/linux/mips/configure.ac 2016-01-07 15:25:20.605523157 +0000 @@ -131,9 +131,6 @@ libc_cv_gcc_unwind_find_fde=yes if test -z "$arch_minimum_kernel"; then if test x$libc_cv_mips_nan2008 = xyes; then - # FIXME: Adjust this setting to the actual first upstream kernel - # version to support the 2008 NaN encoding and then remove this - # comment. - arch_minimum_kernel=10.0.0 + arch_minimum_kernel=4.5.0 fi fi