* [GIT PULL] parisc fixes for 4.6-rc2
@ 2016-04-09 5:57 Helge Deller
2016-04-14 13:31 ` Mikulas Patocka
0 siblings, 1 reply; 2+ messages in thread
From: Helge Deller @ 2016-04-09 5:57 UTC (permalink / raw)
To: Linus Torvalds, linux-kernel, linux-parisc, James Bottomley,
John David Anglin
Cc: Mikulas Patocka
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(-)
^ permalink raw reply [flat|nested] 2+ messages in thread* Re: [GIT PULL] parisc fixes for 4.6-rc2
2016-04-09 5:57 [GIT PULL] parisc fixes for 4.6-rc2 Helge Deller
@ 2016-04-14 13:31 ` Mikulas Patocka
0 siblings, 0 replies; 2+ messages in thread
From: Mikulas Patocka @ 2016-04-14 13:31 UTC (permalink / raw)
To: Helge Deller; +Cc: linux-parisc, James Bottomley, John David Anglin
On Sat, 9 Apr 2016, Helge Deller wrote:
> 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(-)
Hi
I confirm that the kernel 4.6-rc3 fixes exception handling from modules.
Mikulas
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2016-04-14 13:31 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-04-09 5:57 [GIT PULL] parisc fixes for 4.6-rc2 Helge Deller
2016-04-14 13:31 ` Mikulas Patocka
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.