From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-io0-x241.google.com (mail-io0-x241.google.com [IPv6:2607:f8b0:4001:c06::241]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 3z6Nx03b03zDqBf for ; Thu, 28 Dec 2017 06:59:48 +1100 (AEDT) Received: by mail-io0-x241.google.com with SMTP id t196so36310855iof.0 for ; Wed, 27 Dec 2017 11:59:48 -0800 (PST) MIME-Version: 1.0 In-Reply-To: References: <20171227085033.22389-1-ard.biesheuvel@linaro.org> <20171227085033.22389-2-ard.biesheuvel@linaro.org> From: Ard Biesheuvel Date: Wed, 27 Dec 2017 19:59:45 +0000 Message-ID: Subject: Re: [PATCH v6 1/8] arch: enable relative relocations for arm64, power, x86, s390 and x86 To: Linus Torvalds Cc: Linux Kernel Mailing List , "H. Peter Anvin" , Ralf Baechle , Arnd Bergmann , Heiko Carstens , Kees Cook , Will Deacon , Michael Ellerman , Thomas Garnier , Thomas Gleixner , "Serge E. Hallyn" , Bjorn Helgaas , Benjamin Herrenschmidt , Russell King , Paul Mackerras , Catalin Marinas , "David S. Miller" , Petr Mladek , Ingo Molnar , James Morris , Andrew Morton , Nicolas Pitre , Josh Poimboeuf , Steven Rostedt , Martin Schwidefsky , Sergey Senozhatsky , Jessica Yu , linux-arm-kernel@lists.infradead.org, linux-mips , ppc-dev , linux-s390 , sparclinux@vger.kernel.org, "the arch/x86 maintainers" Content-Type: text/plain; charset="UTF-8" List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On 27 December 2017 at 19:54, Linus Torvalds wrote: > On Wed, Dec 27, 2017 at 12:50 AM, Ard Biesheuvel > wrote: >> diff --git a/arch/arm64/kernel/vmlinux.lds.S b/arch/arm64/kernel/vmlinux.lds.S >> index 7da3e5c366a0..49ae5b43fe2b 100644 >> --- a/arch/arm64/kernel/vmlinux.lds.S >> +++ b/arch/arm64/kernel/vmlinux.lds.S >> @@ -156,7 +156,7 @@ SECTIONS >> CON_INITCALL >> SECURITY_INITCALL >> INIT_RAM_FS >> - *(.init.rodata.* .init.bss) /* from the EFI stub */ >> + *(.init.rodata.* .init.bss .init.discard.*) /* EFI stub */ >> } >> .exit.data : { >> ARM_EXIT_KEEP(EXIT_DATA) > > Weren't you supposed to explain this part in the commit message? > Oops. Apologies, I indeed forgot to update the commit log. > It isn't obvious why this is mixed up with the Kconfig changes, and > somebody already asked about it. The commit message only talks about > the Kconfig changes, and then suddenly there's that odd vmlinux.lds.S > change in there... > Yeah. It doesn't make sense to respin right away for just that, so I will give people some time to respond, and respin in a week or so.