Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753832AbbERLrU (ORCPT ); Mon, 18 May 2015 07:47:20 -0400 Received: from mail-wi0-f178.google.com ([209.85.212.178]:33992 "EHLO mail-wi0-f178.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751923AbbERLrI (ORCPT ); Mon, 18 May 2015 07:47:08 -0400 MIME-Version: 1.0 In-Reply-To: <1431158038-3813-2-git-send-email-mcoquelin.stm32@gmail.com> References: <1431158038-3813-1-git-send-email-mcoquelin.stm32@gmail.com> <1431158038-3813-2-git-send-email-mcoquelin.stm32@gmail.com> Date: Mon, 18 May 2015 13:47:06 +0200 Message-ID: Subject: Re: [PATCH v8 01/16] scripts: link-vmlinux: Don't pass page offset to kallsyms if XIP Kernel From: Maxime Coquelin To: Arnd Bergmann , "linux-kernel@vger.kernel.org" , Michal Marek Cc: Philipp Zabel , =?UTF-8?Q?Andreas_F=C3=A4rber?= , Rob Herring , Geert Uytterhoeven , Jonathan Corbet , =?UTF-8?Q?Uwe_Kleine=2DK=C3=B6nig?= , Pawel Moll , Mark Rutland , Ian Campbell , Kumar Gala , Linus Walleij , Stefan Agner , Lee Jones , Joe Perches , Russell King , Andy Shevchenko , Paul Bolle , Peter Hurley , Thomas Gleixner , Greg Kroah-Hartman , Jiri Slaby , Andrew Morton , Daniel Thompson , "David S. Miller" , Vladimir Zapolskiy , Mauro Carvalho Chehab , Chanwoo Choi , Antti Palosaari , Tejun Heo , Will Deacon , Nikolay Borisov , Peter Meerwald , Rusty Russell , Kees Cook , Daniel Lezcano , "linux-doc@vger.kernel.org" , "linux-arm-kernel@lists.infradead.org" , "devicetree@vger.kernel.org" , "linux-gpio@vger.kernel.org" , "linux-serial@vger.kernel.org" , Linux-Arch , "linux-api@vger.kernel.org" , Maxime Coquelin , Nicolae Rosia , Kamil Lulko Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1483 Lines: 44 Hi Michal, 2015-05-09 9:53 GMT+02:00 Maxime Coquelin : > When Kernel is executed in place from ROM, the symbol addresses can be > lower than the page offset. > > Tested-by: Chanwoo Choi > Signed-off-by: Maxime Coquelin > --- > scripts/link-vmlinux.sh | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/scripts/link-vmlinux.sh b/scripts/link-vmlinux.sh > index 86a4fe7..b055d9d 100755 > --- a/scripts/link-vmlinux.sh > +++ b/scripts/link-vmlinux.sh > @@ -82,7 +82,7 @@ kallsyms() > kallsymopt="${kallsymopt} --all-symbols" > fi > > - if [ -n "${CONFIG_ARM}" ] && [ -n "${CONFIG_PAGE_OFFSET}" ]; then > + if [ -n "${CONFIG_ARM}" ] && [ -z "${CONFIG_XIP_KERNEL}" ] && [ -n "${CONFIG_PAGE_OFFSET}" ]; then > kallsymopt="${kallsymopt} --page-offset=$CONFIG_PAGE_OFFSET" > fi > > -- > 1.9.1 > The get_maintainer.pl does not explicitly provide your name as maintainer for this file. But looking at MAINTAINERS file, I think you are the one for it. Do you confirm? If this is the case and you agree with the patch, could you consider taking it for v4.2? Thanks in advance, Maxime -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/