From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from youngberry.canonical.com ([91.189.89.112]:58972 "EHLO youngberry.canonical.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755190AbcAORw3 (ORCPT ); Fri, 15 Jan 2016 12:52:29 -0500 Date: Fri, 15 Jan 2016 17:52:26 +0000 From: Luis Henriques To: James Hogan Cc: stable@vger.kernel.org, Ralf Baechle , Markos Chandras , Paul Burton , Leonid Yegoshin , linux-mips@linux-mips.org Subject: Re: [PATCH backport v3.15..v4.1 0/2] MIPS: uaccess: EVA fixes Message-ID: <20160115175226.GA1980@charon.olymp> References: <1451939344-21557-1-git-send-email-james.hogan@imgtec.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <1451939344-21557-1-git-send-email-james.hogan@imgtec.com> Sender: stable-owner@vger.kernel.org List-ID: On Mon, Jan 04, 2016 at 08:29:02PM +0000, James Hogan wrote: > These two backports fix bugs in the MIPS uaccess functions for MIPS > Enhanced Virtual Addressing (EVA), which were added in v3.15. > > The upstream commits don't work directly when applied to kernels older > than v4.2 where the eva_kernel_access() function was introduced, so we > instead use segment_eq() directly, along with config_enabled(CONFIG_EVA) > where necessary to avoid module symbol errors. > Thanks James, I'll queue both for the next 3.16 kernel. Cheers, -- Lu�s > James Hogan (2): > MIPS: uaccess: Take EVA into account in __copy_from_user() > MIPS: uaccess: Take EVA into account in [__]clear_user > > arch/mips/include/asm/uaccess.h | 44 +++++++++++++++++++++++++++++------------ > arch/mips/kernel/mips_ksyms.c | 2 ++ > arch/mips/lib/memset.S | 2 ++ > 3 files changed, 35 insertions(+), 13 deletions(-) > > Cc: Ralf Baechle > Cc: Markos Chandras > Cc: Paul Burton > Cc: Leonid Yegoshin > Cc: linux-mips@linux-mips.org > -- > 2.4.10 > > -- > To unsubscribe from this list: send the line "unsubscribe stable" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html