From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S934038AbcBDNFZ (ORCPT ); Thu, 4 Feb 2016 08:05:25 -0500 Received: from mailapp01.imgtec.com ([195.59.15.196]:49553 "EHLO mailapp01.imgtec.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932465AbcBDNFY (ORCPT ); Thu, 4 Feb 2016 08:05:24 -0500 From: Paul Burton To: , Ralf Baechle CC: Paul Burton , Andrey Konovalov , "Steven J. Hill" , "Andrey Ryabinin" , Alex Smith , "Kees Cook" , , James Hogan , Markos Chandras , "Maciej W. Rozycki" , Andrew Morton Subject: [PATCH v2 0/4] Support new MIPSr6 relocations Date: Thu, 4 Feb 2016 13:05:01 +0000 Message-ID: <1454591105-11841-1-git-send-email-paul.burton@imgtec.com> X-Mailer: git-send-email 2.7.0 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.100.200.26] Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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