From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752407AbcDIF6L (ORCPT ); Sat, 9 Apr 2016 01:58:11 -0400 Received: from mout.gmx.net ([212.227.17.20]:53497 "EHLO mout.gmx.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750897AbcDIF6J (ORCPT ); Sat, 9 Apr 2016 01:58:09 -0400 Date: Sat, 9 Apr 2016 07:57:46 +0200 From: Helge Deller To: Linus Torvalds , linux-kernel@vger.kernel.org, linux-parisc@vger.kernel.org, James Bottomley , John David Anglin Cc: Mikulas Patocka Subject: [GIT PULL] parisc fixes for 4.6-rc2 Message-ID: <20160409055746.GA3305@ls3530.box> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.23 (2014-03-12) X-Provags-ID: V03:K0:GJo81XdJfHRKUwZA2Jp5XSoB3+5mP9XcDBav0yEwpV+GbHN6+t6 smSCSi9GWURUik3me2YDYN8vSn3CDUr9raubRnSwdrG2AJ3wrAa8xsCAo0jDzfj4/p1tPqW HtsR63F5+p+ZdP88O7TslaLdVJR6W82eZ8N//Y2kQpUTJJWGIReyauPTmt97m4gbNOt+rvY RusS2eGFdR4N4occ0gy0g== X-UI-Out-Filterresults: notjunk:1;V01:K0:ZZoUduQ4mRc=:SnnO1UXdlOe4juRx7XAA3o Vi20QnkinF1PRqK5YgWUJT+Z8YtyVx3lrexBJ8LukNeDa/EtD+sgUtKieskgJYJrrbYIhR6hN rxjkPS1Ff3O/Urj0VqFYJJ0bVp2Yw+481oYQ88foUxsY8GnQ734b/CV+jTv1utgUoRZyHLmfR Ewj8T7hUEI3KEK4m8b3wuwjo7/c3kG6gajerLTy99MSZyXhD6eaJqkSlqA+8fHqVThMVNRgIk 3D0dfgVzXLsl+ym/MHP66k38Pi1fMOadkiG3MSmug8sUVkHEzIB6aAlJm/bmQP6gylTujM7TS h3zGrR61OQwcrI8kda/q4fNRvAlbrAjKZ2vl8IkG0jgSoOEeZ2EuWyj0n31agDgju5nnLpSeg FwQyydYPWWMUIq4ff8/QQ7XHEDJqFliKllQaXZeWZptgJs1OPk3bY8Vew+uZgX9zLXTbGoEat 9oIR2iulHJhlSoEGe1igH06zomG9LW3y1x9lyXI/l/NCs9c+sGwFb/gkmYG7pBYBq7PiITxHC Rdi05NoFyyIyg9xa79aDHViZSSu4azRuNg5su1qzBlQ5rmDTJNR80WvxuTBtwFDaZQYE9htbt QjPE+Nmvd2kzLnEQSdwYzZGOjEsGETiWqSWg4SPSFLeH9ZF7y3WcttBH1916smT9bPiuoQNUe 2uSTHcWC8Ma2T+RP1vNx1NTSszTVIDgz4Z4joWZokWMbHPOPqkVZ+6qaGh0Ir+p/e0NFjTjrh m5ycg5eAj46YF+AvI3domIepVpTfB5NjEXOMV1ue2YhmOR97Bufxn5h4rtU= Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Linus, please pull some important fixes for the parisc architecture from: git://git.kernel.org/pub/scm/linux/kernel/git/deller/parisc-linux.git parisc-4.6-3 Since commit 0de7985 (parisc: Use generic extable search and sort routines) module loading is boken on parisc, because the parisc module loader wasn't prepared for the new R_PARISC_PCREL32 relocations. In addition, due to that breakage, Mikulas Patocka noticed that handling exceptions from modules probably never worked on parisc. It was just masked by the fact that exceptions from modules don't happen during normal use. This patch series fixes those issues and survives the tests of the lib/test_user_copy kernel module test. Some patches are tagged for stable. Thanks, Helge ---------------------------------------------------------------- Helge Deller (5): parisc: Handle R_PARISC_PCREL32 relocations in kernel modules parisc: Avoid function pointers for kernel exception routines parisc: Fix kernel crash with reversed copy_from_user() parisc: Unbreak handling exceptions from kernel modules parisc: Update comment regarding relative extable support arch/parisc/include/asm/uaccess.h | 11 +++++------ arch/parisc/kernel/asm-offsets.c | 1 + arch/parisc/kernel/module.c | 8 ++++++++ arch/parisc/kernel/parisc_ksyms.c | 10 +++++----- arch/parisc/kernel/traps.c | 3 +++ arch/parisc/lib/fixup.S | 6 ++++++ arch/parisc/mm/fault.c | 1 + 7 files changed, 29 insertions(+), 11 deletions(-)