From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755508AbcBCDpF (ORCPT ); Tue, 2 Feb 2016 22:45:05 -0500 Received: from mailapp01.imgtec.com ([195.59.15.196]:43441 "EHLO mailapp01.imgtec.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754866AbcBCDpD (ORCPT ); Tue, 2 Feb 2016 22:45:03 -0500 From: Paul Burton To: , Ralf Baechle CC: Paul Burton , Andrey Konovalov , "Steven J. Hill" , "Andrey Ryabinin" , Alex Smith , Kees Cook , , "James Hogan" , Andrew Morton , Markos Chandras , "Maciej W. Rozycki" Subject: [PATCH 0/5] Support new MIPSr6 relocations Date: Wed, 3 Feb 2016 03:44:40 +0000 Message-ID: <1454471085-20963-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.215] 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_PC16 rel-style reloc MIPS: Implement MIPSr6 R_MIPS_PC2x rel-style relocs Steven J. Hill (2): MIPS: module-rela: Make consistent use of pr_*() MIPS: Add support for 64-bit R6 ELF relocations arch/mips/include/asm/elf.h | 5 +++ arch/mips/kernel/module-rela.c | 96 ++++++++++++++++++++++++++++++++++++++---- arch/mips/kernel/module.c | 85 +++++++++++++++++++++++++++++++++++-- 3 files changed, 173 insertions(+), 13 deletions(-) -- 2.7.0