mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Paul Burton <paul.burton@imgtec.com>
To: <linux-mips@linux-mips.org>, Ralf Baechle <ralf@linux-mips.org>
Cc: Paul Burton <paul.burton@imgtec.com>,
	Andrey Konovalov <adech.fo@gmail.com>,
	"Steven J. Hill" <Steven.Hill@imgtec.com>,
	"Andrey Ryabinin" <ryabinin.a.a@gmail.com>,
	Alex Smith <alex.smith@imgtec.com>,
	"Kees Cook" <keescook@chromium.org>,
	<linux-kernel@vger.kernel.org>,
	James Hogan <james.hogan@imgtec.com>,
	Markos Chandras <markos.chandras@imgtec.com>,
	"Maciej W. Rozycki" <macro@imgtec.com>,
	Andrew Morton <akpm@linux-foundation.org>
Subject: [PATCH v2 0/4] Support new MIPSr6 relocations
Date: Thu, 4 Feb 2016 13:05:01 +0000	[thread overview]
Message-ID: <1454591105-11841-1-git-send-email-paul.burton@imgtec.com> (raw)

MIPSr6 introduced a few new relocations that may be present in loadable
kernel modules. This series introduces support for them in both their
rel & rela forms for MIPS32 & MIPS64 kernels respectively, and ensures
that any future missing relocs cause module loading to fail gracefully.

Paul Burton (3):
  MIPS: Bail on unsupported module relocs
  MIPS: Support R_MIPS_PC{21,26} rela-style relocs
  MIPS: Support R_MIPS_PC{16,21,26} rel-style relocs

Steven J. Hill (1):
  MIPS: module: Make consistent use of pr_*()

 arch/mips/include/asm/elf.h    |  5 +++
 arch/mips/kernel/module-rela.c | 75 +++++++++++++++++++++++++++++++++++-----
 arch/mips/kernel/module.c      | 77 +++++++++++++++++++++++++++++++++++++-----
 3 files changed, 140 insertions(+), 17 deletions(-)

-- 
2.7.0

             reply	other threads:[~2016-02-04 13:05 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-02-04 13:05 Paul Burton [this message]
2016-02-04 13:05 ` [PATCH v2 1/4] MIPS: Bail on unsupported module relocs Paul Burton
2016-02-04 13:05 ` [PATCH v2 2/4] MIPS: module: Make consistent use of pr_*() Paul Burton
2016-02-04 13:05 ` [PATCH v2 3/4] MIPS: Support R_MIPS_PC{21,26} rela-style relocs Paul Burton
2016-02-04 13:05 ` [PATCH v2 4/4] MIPS: Support R_MIPS_PC{16,21,26} rel-style relocs Paul Burton

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1454591105-11841-1-git-send-email-paul.burton@imgtec.com \
    --to=paul.burton@imgtec.com \
    --cc=Steven.Hill@imgtec.com \
    --cc=adech.fo@gmail.com \
    --cc=akpm@linux-foundation.org \
    --cc=alex.smith@imgtec.com \
    --cc=james.hogan@imgtec.com \
    --cc=keescook@chromium.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mips@linux-mips.org \
    --cc=macro@imgtec.com \
    --cc=markos.chandras@imgtec.com \
    --cc=ralf@linux-mips.org \
    --cc=ryabinin.a.a@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®