From patchwork Wed Apr 29 14:37:16 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ard Biesheuvel X-Patchwork-Id: 47713 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-wi0-f199.google.com (mail-wi0-f199.google.com [209.85.212.199]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id A09E12121F for ; Wed, 29 Apr 2015 14:39:40 +0000 (UTC) Received: by wiun10 with SMTP id n10sf14645853wiu.1 for ; Wed, 29 Apr 2015 07:39:40 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:delivered-to:mime-version:in-reply-to:references :date:message-id:subject:from:to:cc:precedence:list-id :list-unsubscribe:list-archive:list-post:list-help:list-subscribe :content-type:content-transfer-encoding:sender:errors-to :x-original-sender:x-original-authentication-results:mailing-list; bh=AiDfR1ChdjICYSr0cGXK6cH0RFeTfkXvjWsR3Jso/5o=; b=e2NhL5YbKsUF0xU1NMwSzQ19VAI0/l2dUo4/QclV3gnE9uWOYHBBpGDyE01iNvWGo3 VD5ucslZRZabO3TCzdSqmwPG09U1I5hQP7w6AA2thWo8UtJy87QZgRCEqJGtX0y2M3IA NlV7ZfCN2FVJjKdx385sLRA5ONqz5y3bKLHL26FuwGjjlrw/NW/05CXIPyZM8AZQvuWp K+NbehwIEMHURuYLDbiwY9z16rvicpQHF1kd44aT7Y2UZymXd3E33GNrfyR0lAMvFIIn Gx2O1ouNlgXTm0T/ZjjcLIEMJ0XGqfwtDx7uWhS6gQ8YdYZXGbuqjbAS4/sw3FEmW70r Nl9Q== X-Gm-Message-State: ALoCoQlECIZQf7/JS12xFgCfwSp4l6IBWzd4z5n96NI5Zv9lv4ReQ6M1UcPXyhMWDZTEFy2VmDU1 X-Received: by 10.112.46.172 with SMTP id w12mr13484676lbm.18.1430318379946; Wed, 29 Apr 2015 07:39:39 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.204.168 with SMTP id kz8ls199053lac.105.gmail; Wed, 29 Apr 2015 07:39:39 -0700 (PDT) X-Received: by 10.152.234.139 with SMTP id ue11mr19287662lac.28.1430318379807; Wed, 29 Apr 2015 07:39:39 -0700 (PDT) Received: from mail-lb0-f181.google.com (mail-lb0-f181.google.com. [209.85.217.181]) by mx.google.com with ESMTPS id h1si19487895lam.172.2015.04.29.07.39.39 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 29 Apr 2015 07:39:39 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.181 as permitted sender) client-ip=209.85.217.181; Received: by lbbzk7 with SMTP id zk7so21966470lbb.0 for ; Wed, 29 Apr 2015 07:39:39 -0700 (PDT) X-Received: by 10.112.204.72 with SMTP id kw8mr19322826lbc.88.1430318379669; Wed, 29 Apr 2015 07:39:39 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.112.67.65 with SMTP id l1csp2546718lbt; Wed, 29 Apr 2015 07:39:38 -0700 (PDT) X-Received: by 10.66.137.2 with SMTP id qe2mr42185078pab.77.1430318375568; Wed, 29 Apr 2015 07:39:35 -0700 (PDT) Received: from bombadil.infradead.org (bombadil.infradead.org. [2001:1868:205::9]) by mx.google.com with ESMTPS id vq7si39661710pbc.94.2015.04.29.07.39.34 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 29 Apr 2015 07:39:35 -0700 (PDT) Received-SPF: none (google.com: linux-arm-kernel-bounces+patch=linaro.org@lists.infradead.org does not designate permitted sender hosts) client-ip=2001:1868:205::9; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1YnT7e-00047b-7k; Wed, 29 Apr 2015 14:37:58 +0000 Received: from mail-ig0-f169.google.com ([209.85.213.169]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1YnT7T-0003oq-0S for linux-arm-kernel@lists.infradead.org; Wed, 29 Apr 2015 14:37:47 +0000 Received: by igblo3 with SMTP id lo3so49267280igb.0 for ; Wed, 29 Apr 2015 07:37:16 -0700 (PDT) MIME-Version: 1.0 X-Received: by 10.107.163.79 with SMTP id m76mr7774715ioe.85.1430318236310; Wed, 29 Apr 2015 07:37:16 -0700 (PDT) Received: by 10.36.13.21 with HTTP; Wed, 29 Apr 2015 07:37:16 -0700 (PDT) In-Reply-To: <20150429140516.GA32151@lunn.ch> References: <20150429140516.GA32151@lunn.ch> Date: Wed, 29 Apr 2015 16:37:16 +0200 Message-ID: Subject: Re: Regression: Kirkwood fails to boot because of bf35706f3d0929b From: Ard Biesheuvel To: Andrew Lunn X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20150429_073747_196247_9EE08893 X-CRM114-Status: GOOD ( 14.99 ) X-Spam-Score: -0.7 (/) X-Spam-Report: SpamAssassin version 3.4.0 on bombadil.infradead.org summary: Content analysis details: (-0.7 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low trust [209.85.213.169 listed in list.dnswl.org] -0.0 RCVD_IN_MSPIKE_H3 RBL: Good reputation (+3) [209.85.213.169 listed in wl.mailspike.net] -0.0 SPF_PASS SPF: sender matches SPF record -0.0 RCVD_IN_MSPIKE_WL Mailspike good senders Cc: Florian Fainelli , linux ARM , ezequiel.garcia@free-electrons.com X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: , List-Help: , List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patch=linaro.org@lists.infradead.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: ard.biesheuvel@linaro.org X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.181 as permitted sender) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 On 29 April 2015 at 16:05, Andrew Lunn wrote: > Hi Ard > > It seems as thought all Kirkwood boards are dead in v4.1-rc1. They > fail to boot with the message: > > Starting kernel ... > > Uncompressing Linux... done, booting the kernel. > > Error: unrecognized/unsupported processor variant (0x56251311). > > With a bit of testing, Ezequiel and Florian have found the guilty > commit is: > > bf35706f3d09 ("ARM: 8314/1: replace PROCINFO embedded branch with relative offset") > > Author: Ard Biesheuvel > Date: Wed Mar 18 07:29:32 2015 +0100 > > ARM: 8314/1: replace PROCINFO embedded branch with relative offset > > This patch replaces the 'branch to setup()' instructions embedded > in the PROCINFO structs with the offset to that setup function > relative to the base of the struct. This preserves the position > independent nature of that field, but uses a data item rather > than an instruction. > > This is mainly done to prevent linker failures on large kernels, > where the setup function is out of reach for the branch. > > > Kirkwood uses arch/arm/mm/proc-feroceon.S. > > Please can you have this patch either fixed or reverted. Come by > #mvlinux if you want to chat with us, ask for testing, etc. > Apologies for the breakage. Does this fix it? Regards, Ard. diff --git a/arch/arm/mm/proc-feroceon.S b/arch/arm/mm/proc-feroceon.S index e494d6d6acbe..92e08bf37aad 100644 --- a/arch/arm/mm/proc-feroceon.S +++ b/arch/arm/mm/proc-feroceon.S @@ -602,7 +602,6 @@ __\name\()_proc_info: PMD_SECT_AP_WRITE | \ PMD_SECT_AP_READ initfn __feroceon_setup, __\name\()_proc_info - .long __feroceon_setup .long cpu_arch_name .long cpu_elf_name .long HWCAP_SWP|HWCAP_HALF|HWCAP_THUMB|HWCAP_FAST_MULT|HWCAP_EDSP