Received: by 2002:ac0:bc90:0:0:0:0:0 with SMTP id a16csp3392876img; Mon, 25 Mar 2019 09:21:40 -0700 (PDT) X-Google-Smtp-Source: APXvYqzsEmcA8myz+TEU5GhkT5QWfQT3cQ1+cfTNWY1uHKvxLhB03d9/5a1SAsZkU9j6pL0Xoh8q X-Received: by 2002:a63:8143:: with SMTP id t64mr24686791pgd.301.1553530900711; Mon, 25 Mar 2019 09:21:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1553530900; cv=none; d=google.com; s=arc-20160816; b=CxgsyKmqmwhUf4ayTwKehRtl/LQWllun5Og40WUqkSr8vNm9kcLyCnztqEFzPBkniQ 4HiOGMm7ivfbEfpN2CYf37gmqN411fH2paFMpCWF180Zzox7L9HUXYS/RzRWMRNJFUZp ogT/PCBsh1dkOt56gY7mkzp7cZzJBB7kcOLhugEnRbjC2G4XwRpzuOoPASx0oMMxkCPf //tYXmqNMk9mkPvIN6dpJL4Q6jnkiTK1P4FgxNTMaNi1kjadAX4yMv1c0eVLYb6YHzlw irPO9bvFvkYw/ere4SlgZ7yaG/C/kKbkby/qQP2bSfxzShIgc6znYQoI5NM14sJY4D+z R8xA== 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=kNhjFyAJj2F2IJvSUMRthN84gt9w56CKqbJ/olM8L5c=; b=FHdXUkX1ZIW5CuGHax0CUiaCBZu9H2NKJ0zVesaDDd68j39RpEQ0T5795DdE/smjpV bWk2UVk+38lBrQu+Uy9nVASbax8ahWbjH53vs3FF4Hk7L2cQXsET3YHI9fzxCXZViUxi /EC5u0Ex25osMwuosOudHTEpCPLJsfbc0WWv+UqI0STElq+OF0f9NMwnRh3HfYAQXZXS 6FfPfv0NiORBnToRrrRqFkRo7J4tcHlpWLsgyJQrwlftfeTkN8NT87fkKPXERNvCJsCe 37wKQRx4jmd+FsjIgvDNjjHfpo3hByVzchuc4+6k9uy2zjqQ2ClrJM5cNGJtnn8gLdnl QCFQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b=mwEvBQ+i; 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 s14si13547300pgs.98.2019.03.25.09.21.25; Mon, 25 Mar 2019 09:21:40 -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=fail header.i=@gmail.com header.s=20161025 header.b=mwEvBQ+i; 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 S1729072AbfCYQTS (ORCPT + 99 others); Mon, 25 Mar 2019 12:19:18 -0400 Received: from mail-ot1-f66.google.com ([209.85.210.66]:46820 "EHLO mail-ot1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725747AbfCYQTR (ORCPT ); Mon, 25 Mar 2019 12:19:17 -0400 Received: by mail-ot1-f66.google.com with SMTP id c18so8521637otl.13 for ; Mon, 25 Mar 2019 09:19:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=kNhjFyAJj2F2IJvSUMRthN84gt9w56CKqbJ/olM8L5c=; b=mwEvBQ+ipRV1kh+mAX4sg5T8MvtOw5lQLKAyDP5KtmkAwpb/YJeM70ld9m7o3fvbAp Jp0m9I1TqBMiAUvn0qWEKxfTi1HJU3s/C4KC7PFa3bUH0q7uXo52Ob+5h5rySV9gtzpq yY6pfmedYOVX5w77uC0WNodR7KU4F9Z228xCQin880bDGeqYrfsxBcpcodkU+r5qNCkZ fJyBXzfSAsyL47eA7d0IIonfarhs2sOu/Jix0Hb06w9cA2G7bJGjhQu/S9jJOX30fdmU QdXnwvs3wc+4DMIKDCkEQANbYSO9j/s5qgat5yS9B7tNqM+DmSGx72Nw8Tb2nVaDzTxa /01A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:subject:to:cc:references:from:message-id :date:user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=kNhjFyAJj2F2IJvSUMRthN84gt9w56CKqbJ/olM8L5c=; b=PMW5LctadYF6QnIfoozFUYbo71VxE6VnCqt7xc5D0yIEyvMDf7fBCySuFVPume2HQd t2JNGPgJudFJo5ksgGHldnAk+TisDymShxMzhq1WfDL9SGCe0Lc7rf5/d4zhnkqOcUbS gKJdELYhV4L4NWGPcBSUtoG7C2N8J7+ujPBdBshvjejY90z57y5gPvw8WZa3SoA6KPyW syBwiQwpkcPSaOf/k1X9+8aB5ofhp9VxaV+tVfskJ+zFJgmLBNGvR8WOOkDwzBfvawTX VRYwOS9IfueLynVe2P4JkvxDbBEJyJRKeD4lR27okS+e2mYfQyGhNVkCVrSAFXiuB8tl qgGw== X-Gm-Message-State: APjAAAWvhVVTpsa4vLEgmMq8XlGvk5NoOdzW1lH+ANOy6qGeyQVKuczN fFAV4QbF/6juhG0SWKTI4j5356nG X-Received: by 2002:a05:6830:20cc:: with SMTP id z12mr18834817otq.334.1553530756491; Mon, 25 Mar 2019 09:19:16 -0700 (PDT) Received: from [192.168.1.112] (cpe-24-31-245-230.kc.res.rr.com. [24.31.245.230]) by smtp.gmail.com with ESMTPSA id c131sm6457965oif.3.2019.03.25.09.19.15 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 25 Mar 2019 09:19:15 -0700 (PDT) Subject: Re: Regression in 5.1.0-rc2: PowerBook G4 Aluminum fails to boot - bisected to commit 0df977eafc792 To: Christophe Leroy , Michael Ellerman , Benjamin Herrenschmidt , Paul Mackerras , ppc-dev Cc: LKML References: <1c1f7eae-0c49-dcb2-f27b-96a83d811df7@c-s.fr> From: Larry Finger Message-ID: <4d7e3fc5-82d8-5bcf-0891-97445e284c36@lwfinger.net> Date: Mon, 25 Mar 2019 11:19:15 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.5.2 MIME-Version: 1.0 In-Reply-To: <1c1f7eae-0c49-dcb2-f27b-96a83d811df7@c-s.fr> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 3/25/19 3:46 AM, Christophe Leroy wrote: > > > 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. That patch fixes the issue. Larry