From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932578Ab2CAUqY (ORCPT ); Thu, 1 Mar 2012 15:46:24 -0500 Received: from moutng.kundenserver.de ([212.227.17.8]:64167 "EHLO moutng.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932467Ab2CAUqX (ORCPT ); Thu, 1 Mar 2012 15:46:23 -0500 From: Arnd Bergmann To: "Russell King - ARM Linux" Subject: Re: [PATCH 5/8] ARM: tegra: work around tegra THUMB2_KERNEL bug Date: Thu, 1 Mar 2012 20:46:17 +0000 User-Agent: KMail/1.12.2 (Linux/3.3.0-rc1; KDE/4.3.2; x86_64; ; ) Cc: Stephen Warren , Alan Ott , Colin Cross , Olof Johansson , Grant Likely , Linus Walleij , Alan Stern , "Greg Kroah-Hartman" , Lucas De Marchi , "linux-arm-kernel@lists.infradead.org" , "linux-kernel@vger.kernel.org" , "linux-tegra@vger.kernel.org" , "linux-usb@vger.kernel.org" References: <1330630010-11241-1-git-send-email-alan@signal11.us> <74CDBE0F657A3D45AFBB94109FB122FF17BE861726@HQMAIL01.nvidia.com> <20120301204203.GA19274@n2100.arm.linux.org.uk> In-Reply-To: <20120301204203.GA19274@n2100.arm.linux.org.uk> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201203012046.17768.arnd@arndb.de> X-Provags-ID: V02:K0:vddfHrc+YhLbmgPrsRhfp4J10+zuhZ9BcFsFmctW1y1 IsG6DdVVENqjuh/oTpDhGETsPHb0Qov7i6gwYo8LrkSIzoKPmM ljFHER9L3KqU5GYlA153HxcUvZQzrEBigi/hL63rd3S2Ri8GdC kbJn4M8FE1vzUco7NTdWlstZl9VvGLL1E+2TgkVm2gDALABgVM /ZL+Xn+eAs32Y06o3HaiFi+A3kCLFI5nwO9FOdP1NT8v+Zpd6H U0TYjMJGIsqRyQFxYxV4gKCKYbVdGWH6JEtVMf5RI6CvKk3jY/ 08dcUftSH+AoWcnkJ9vUDoMZcDx+GR6aUzdq5NS29L/HdBPB2X mCeI4WbiHFRrYyLIHok0= Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thursday 01 March 2012, Russell King - ARM Linux wrote: > On Thu, Mar 01, 2012 at 12:02:42PM -0800, Stephen Warren wrote: > > Alan Ott wrote at Thursday, March 01, 2012 12:27 PM: > > > From: Arnd Bergmann > > > > > > The tegra smp code cannot currently be built for t2, so > > > disable that combination for now, as a workaround. > > > > > > Signed-off-by: Arnd Bergmann > > > > At least in next-20120229 with the .config I'm using, everything appears > > to compile fine. The link step does fail, but the error messages I get > > don't appear to be Tegra specific: > > > > xxx/kernel/sched/clock.c:334: relocation truncated to fit: R_ARM_THM_JUMP11 against symbol `sched_clock' defined in .text section in arch/arm/kernel/built-in.o > > kernel/built-in.o: In function `post_relocation': > > xxx/kernel/module.c:2860: relocation truncated to fit: R_ARM_THM_JUMP11 against symbol `module_finalize' defined in .text section in arch/arm/kernel/built-in.o > > kernel/built-in.o: In function `show_interrupts': > > xxx/kernel/irq/proc.c:431: relocation truncated to fit: R_ARM_THM_JUMP11 against symbol `arch_show_interrupts' defined in .text section in arch/arm/kernel/built-in.o > > drivers/built-in.o: In function `pci_set_master': > > xxx/drivers/pci/pci.c:2674: relocation truncated to fit: R_ARM_THM_JUMP11 against symbol `pcibios_set_master' defined in .text section in arch/arm/kernel/built-in.o > > At a guess, it suggests your kernel image is too big for the relocations > contained within the code. That's something for Thumb people to look > into and solve. IIRC, that was not the issue I was trying to fix when I originally made the patch. It's quite likely that the original bug was fixed already, so I'd suggest we drop the patch for now and see if the problem comes back when all other randconfig problems have been resolved on Tegra. Arnd