Received: by 2002:ac0:bc90:0:0:0:0:0 with SMTP id a16csp3013012img; Mon, 25 Mar 2019 01:47:43 -0700 (PDT) X-Google-Smtp-Source: APXvYqyxsg2Lw92F2XfODssul10U7YeK7GnGzQRspTZ97Lo1IjRxcJKT5sAEzdBpZhjvJkXJ/Eg2 X-Received: by 2002:a62:3001:: with SMTP id w1mr22559632pfw.59.1553503663342; Mon, 25 Mar 2019 01:47:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1553503663; cv=none; d=google.com; s=arc-20160816; b=vVy+o4E1jpVOw5jLKOnz4C8YUkDDXJVYyRHGonO7YEdcrVvVuwOlpEu+aoZ0cWIv5C /f+XzRY0UgY4PNu1ovQs5VbiOy+aa2ZdIwiWDXBITkbqHSftliCQqRQfe8mEA4M04Fui 3CH09qmaZo8EfTUnkc5n4yYUWwxVW9BRMFcd44Z5KxlgM0ORg+gXR2DD0D7PSOlFn4b9 vmbvRuRz3DueQpURtllNZiy+wNcv9L+NZyS/VppEp/8T5ui4Hgy9HezLhRMNLwViwJU4 LN1fqmaYDCBa9NfKZz/p/lMPYB1/FFfwOqrZCWM/LpzvxFQ4kKGqJFhNLZNCF1LOVxcv wpJQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature; bh=Tn2iFshbMVV8+/NjtTvedum7vG9Ug59TrF8UYE3kO8g=; b=lx4wmMrwUv1jVLIsTCQJe9A5UgyxYxGw9lu1Xs6YN9V5CFKwGPpAm6tdXOYFhB+Mna cvzqon345E2k4Kzx3mtzRuOB0X7x2DgWDVAme9k6oBRpZHibVq48kTtjzwHUczEFMJEr 3QjCGpXOVTWskah84YZfgqKN1kuinpKqhjbQtkmRk4VTHD3VIzRB40YR8LGbEhjVffBw ua5fSnAE0Cie/rtcSuWOs38IVy7usNnMXH0n2Bgv5CQzqIEtUEAJMSnnBFTIC/Ymf4oV ID6KXLohHFKuxxhaUXvMYmjXpN3hiTfSABYx3HbpWcWRQBfwz9CVl/Qp8usLWw5Co7CY KG2Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@c-s.fr header.s=mail header.b=ocd2h4Iu; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id j12si3896029pgk.95.2019.03.25.01.47.28; Mon, 25 Mar 2019 01:47:43 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@c-s.fr header.s=mail header.b=ocd2h4Iu; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730009AbfCYIqm (ORCPT + 99 others); Mon, 25 Mar 2019 04:46:42 -0400 Received: from pegase1.c-s.fr ([93.17.236.30]:14826 "EHLO pegase1.c-s.fr" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729823AbfCYIqm (ORCPT ); Mon, 25 Mar 2019 04:46:42 -0400 Received: from localhost (mailhub1-int [192.168.12.234]) by localhost (Postfix) with ESMTP id 44SSY76SqDz9v0Yh; Mon, 25 Mar 2019 09:46:35 +0100 (CET) Authentication-Results: localhost; dkim=pass reason="1024-bit key; insecure key" header.d=c-s.fr header.i=@c-s.fr header.b=ocd2h4Iu; dkim-adsp=pass; dkim-atps=neutral X-Virus-Scanned: Debian amavisd-new at c-s.fr Received: from pegase1.c-s.fr ([192.168.12.234]) by localhost (pegase1.c-s.fr [192.168.12.234]) (amavisd-new, port 10024) with ESMTP id NYLuaqNDWwwx; Mon, 25 Mar 2019 09:46:35 +0100 (CET) Received: from messagerie.si.c-s.fr (messagerie.si.c-s.fr [192.168.25.192]) by pegase1.c-s.fr (Postfix) with ESMTP id 44SSY75Mnpz9v0Yj; Mon, 25 Mar 2019 09:46:35 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=c-s.fr; s=mail; t=1553503595; bh=Tn2iFshbMVV8+/NjtTvedum7vG9Ug59TrF8UYE3kO8g=; h=Subject:To:Cc:References:From:Date:In-Reply-To:From; b=ocd2h4IuwReE7/obA0Zd2hZLc80s/BwG1adgd7fX/E/HotSaqXXw0VrdO3qD/nkDT vk++JokWfnj13ugwTvLERalwLxu3vzjHRKWvwmHy7Oxw7EdFEqNQDl0sjG4irUwO7G GeMLxMq+dkyB5YamS4/gIYIcT202mogfHHa6WfNs= Received: from localhost (localhost [127.0.0.1]) by messagerie.si.c-s.fr (Postfix) with ESMTP id 52F678B74F; Mon, 25 Mar 2019 09:46:40 +0100 (CET) X-Virus-Scanned: amavisd-new at c-s.fr Received: from messagerie.si.c-s.fr ([127.0.0.1]) by localhost (messagerie.si.c-s.fr [127.0.0.1]) (amavisd-new, port 10023) with ESMTP id 93AfAA_Ar67L; Mon, 25 Mar 2019 09:46:40 +0100 (CET) Received: from PO15451 (po15451.idsi0.si.c-s.fr [172.25.231.2]) by messagerie.si.c-s.fr (Postfix) with ESMTP id 26B1F8B89B; Mon, 25 Mar 2019 09:46:40 +0100 (CET) Subject: Re: Regression in 5.1.0-rc2: PowerBook G4 Aluminum fails to boot - bisected to commit 0df977eafc792 To: Larry Finger , Michael Ellerman , Benjamin Herrenschmidt , Paul Mackerras , ppc-dev Cc: LKML References: From: Christophe Leroy Message-ID: <1c1f7eae-0c49-dcb2-f27b-96a83d811df7@c-s.fr> Date: Mon, 25 Mar 2019 09:46:39 +0100 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.6.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: fr Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Le 25/03/2019 à 01:49, Larry Finger a écrit : > A build of kernel 5.1.0-rc2 resulted in a failure to boot on my > PowerBook G4 Aluminum. The bootstrap loads the initial kernel and issues > the appropriate start, but the machine hangs at that point. > > The problem does not depend on the choice of PPC32 processor type. This > machine has a 7447A according to /proc/cpuinfo. > > The problem was bisected to the following: > > commit 0df977eafc792a5365a7f81d8d5920132e03afad > Author: Christophe Leroy > Date:   Thu Feb 21 10:37:54 2019 +0000 > >     powerpc/6xx: Don't use SPRN_SPRG2 for storing stack pointer while > in RTAS > >     When calling RTAS, the stack pointer is stored in SPRN_SPRG2 >     in order to be able to restore it in case of machine check in RTAS. > >     As machine check is not a perfomance critical path, this patch >     frees SPRN_SPRG2 by using a field in thread struct instead. > >     Signed-off-by: Christophe Leroy >     Signed-off-by: Michael Ellerman > > I reverted this patch and found that the system began execution, and > then failed, likely due to the reassignment of SPRN_SPRG2. > > I had found this problem with 5.1.0-rc1, but -rc2 was out by the time I > finished the bisection. Unfortunately, none of the changes in -rc2 fixed > the problem. I think I identified the issue, see https://patchwork.ozlabs.org/patch/1063962/ It is now booting properly under QEMU with your .config Could you please test it on your target ? Thanks Christophe > > Attached is the .config that I used. > > Thanks, > > Larry