Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp191539imm; Wed, 29 Aug 2018 18:07:28 -0700 (PDT) X-Google-Smtp-Source: ANB0VdZF2RpS6e0bei/tJtDCeu+L6juaKd1n+WoL/2fn0+84RTMnpnvmP9Muj6uSFvyiS+xeFSPY X-Received: by 2002:a17:902:b60e:: with SMTP id b14-v6mr7983349pls.111.1535591248932; Wed, 29 Aug 2018 18:07:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1535591248; cv=none; d=google.com; s=arc-20160816; b=X2IUaPJC6pjDJNgNDQtzoC8f/X+4FC7ESosuIKfW666gnw9iIZMNeR2lgikrQxa0I0 OMjlUZSDQ7Q/wRrtttJ65L0NsCgrb6IZiypbw0czExso+UJtyhULiJ1S2QxxrB81o6nY JhMPe/IxBO5AMoQ0qvsphEg1TZuFgjJptGqHggaGl5p4sHDn2F4P9IdI8jSm75U4ASot 8FI5qKbtz9S1Ux8ObDmvlBq3P4lsBZNwZgAie+lhLcDUTlVpw9weIltinWYS0oajrKHH zHQnwRz0JJOxqQ7B4t7ChhxsWKcWXk22ndknfgkdWjUsYnwCYixWb6o52L/NpI4kYPxW 6qbw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature :arc-authentication-results; bh=p3pRx46qgCpnfJXndZx1Lwzvcex6UmU/qlyeKwtD2eM=; b=z39L8wnfRvNLFh/96MNfNKfEWIvAiEUJ2P9GUg9J+BLFcJa+OOw75onCQI9MTzVu0b tNeMXizGOEKd1RRw+P/SjcD5/l6RnUhcd/uYjnlmH7G/IRCakW3Xm4jN5kSiOXBOHV1t zjcPQOHQOqLu72AH1vtFHgrlX0PJN0xBmZmypyzQ0bcrDPOspYrFv6oeZOJSedB8opyL IMAsjLV1GkWGYcWqegXnEj+8giVI80OCqHLiyEEjgS6/Agr3Rj6/j4Fvac1HVcttQ9wY LysOdipDWoN4Ewk+HzJ+bjw+ZvfLlWQUpFeLU8vnBSToLfTeqcevNSg6eLSNPC4tVgA2 TRZg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=DCYZUBPi; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id m10-v6si5006956pgv.374.2018.08.29.18.07.13; Wed, 29 Aug 2018 18:07:28 -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=@kernel.org header.s=default header.b=DCYZUBPi; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727125AbeH3FFd (ORCPT + 99 others); Thu, 30 Aug 2018 01:05:33 -0400 Received: from mail.kernel.org ([198.145.29.99]:59204 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725768AbeH3FFd (ORCPT ); Thu, 30 Aug 2018 01:05:33 -0400 Received: from mail-qt0-f170.google.com (mail-qt0-f170.google.com [209.85.216.170]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id CD84B20684; Thu, 30 Aug 2018 01:05:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1535591160; bh=p3pRx46qgCpnfJXndZx1Lwzvcex6UmU/qlyeKwtD2eM=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=DCYZUBPi2k3ZfqVKjjIidtb0HVxlPJhE7oMWKKDLOeCxueHYdEaiiyGy+bjNi63o9 VZ/OYpKNggAzSu8RIxrr804mb/mmdnW60tGJxYVLv5mu++cs7CpEFTKkYpJ1cvnMnS 1VOSeBOAeh6YNtH96SLlI+cDMCt+XDR2ZkEI5z8w= Received: by mail-qt0-f170.google.com with SMTP id h4-v6so8029370qtj.7; Wed, 29 Aug 2018 18:05:59 -0700 (PDT) X-Gm-Message-State: APzg51DrZnL9oZ+BP2OVyAoFgNY3iQ71na8qsOukQkOELRbALUlndqY0 /BLAJqkzLdyHjh5EgZVSaWPwdn30bC81kaoCqA== X-Received: by 2002:a0c:95f7:: with SMTP id t52-v6mr9135590qvt.246.1535591158946; Wed, 29 Aug 2018 18:05:58 -0700 (PDT) MIME-Version: 1.0 References: <1520208889-3908-1-git-send-email-frowand.list@gmail.com> <1520208889-3908-2-git-send-email-frowand.list@gmail.com> In-Reply-To: From: Rob Herring Date: Wed, 29 Aug 2018 20:05:47 -0500 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: v4.17 regression: PowerMac G3 won't boot, was Re: [PATCH v5 1/3] of: cache phandle nodes to reduce cost of of_find_node_by_phandle() To: fthain@telegraphics.com.au Cc: Frank Rowand , userm57@yahoo.com, Benjamin Herrenschmidt , Chintan Pandya , devicetree@vger.kernel.org, "linux-kernel@vger.kernel.org" , linuxppc-dev Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Aug 29, 2018 at 7:44 PM Finn Thain wrote: > > Hi Frank, > > Linux v4.17 and later will no longer boot on a G3 PowerMac. The boot hangs > very early, before any video driver loads. > > Stan and I were able to bisect the regression between v4.16 and v4.17 and > arrived at commit 0b3ce78e90fc ("of: cache phandle nodes to reduce cost of > of_find_node_by_phandle()"). > > I don't see any obvious bug in 0b3ce78e90fc or b9952b5218ad. But if you > revert these from v4.18 (which is also affected) that certainly resolves > the issue. Perhaps a bad assumption on phandle values causing a problem. Can you provide a dump of all the phandle or linux,phandle values from /proc/device-tree. Rob