[<prev] [next>] [day] [month] [year] [list]
Message-ID: <20160409055746.GA3305@ls3530.box>
Date: Sat, 9 Apr 2016 07:57:46 +0200
From: Helge Deller <deller@....de>
To: Linus Torvalds <torvalds@...ux-foundation.org>,
linux-kernel@...r.kernel.org, linux-parisc@...r.kernel.org,
James Bottomley <James.Bottomley@...senPartnership.com>,
John David Anglin <dave.anglin@...l.net>
Cc: Mikulas Patocka <mpatocka@...hat.com>
Subject: [GIT PULL] parisc fixes for 4.6-rc2
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(-)
Powered by blists - more mailing lists