Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp232048imm; Thu, 30 Aug 2018 22:02:59 -0700 (PDT) X-Google-Smtp-Source: ANB0VdZIgBPMVRCfCF3eRO4v0JThulSfxf/cFBRUkOvWn4B0BIbfP094dofoAkASBycX9/lwvEe/ X-Received: by 2002:a62:b20c:: with SMTP id x12-v6mr13820323pfe.201.1535691779106; Thu, 30 Aug 2018 22:02:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1535691779; cv=none; d=google.com; s=arc-20160816; b=rewN+Kgda5/NFw+ZoJTZ8bH4ruh3fM87HP6zX/XlWx4xjSJndusn1PJS/MDmSv84T4 tCkINFyRbBhrXc9IBePBvCTSOmuVs5OFi3KTHxFC0zVL59XAhe8PjrMtGaQLN0mtkuBU r790+Wnqji5wPC/A89Ur4KXqIr+X9RSVcvC4AHEKQ12FlaV22PzIwBqRHhZjL4Hah0Na QrY8WYVwrGh/GMfOgCgIvPLfrKw4Oycqr/yvHwM/UIpyn7jf11et1s5DIaURONow5mO4 5pnvnd5b9c62HNxpBsZ2SRri7ChiPS725uGgUD3JLGy7onDCk/rKFB2XW1Di6r9dINKR UsCw== 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:mime-version :references:in-reply-to:date:cc:to:from:subject:message-id :arc-authentication-results; bh=TBAtsZ4aLlT/EvW+kk2RWJoEdRM3CEwxrKwatuUuuTI=; b=NqJqwS7c2lbEYK+8LpuMUkxqCMuYIgKdxY1qX3gp3b4WLtZWIVgLlr9QqV+OzX9Jh0 qv6noZS3xzWSjD6HbkSfGeM8upgveLHZg5S30k5Ihm5u8329Trj60bm9kH6GDJMd46dG rtCjxCBCfbw03AtVMpEI4OExTp19R9+2yLBqL8kgpmMfjdsBQLfWal1h7zIMkyVJHRv3 e2oDUsN0RasKXGyQJ/PuUwL01TnMJi1Ggq9Qb2C1s4+veIlBgtRwEBsZmaPUjP9IrXsK NyFnugpaqTBjKBMh1j7tBcaru2N34FSTlcKtqGMW6IsaAIsVy8+7zvEp0S2IrDI3A3yo BEzg== ARC-Authentication-Results: i=1; mx.google.com; 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 s71-v6si8934288pfa.367.2018.08.30.22.02.44; Thu, 30 Aug 2018 22:02:59 -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; 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 S1727360AbeHaJEh (ORCPT + 99 others); Fri, 31 Aug 2018 05:04:37 -0400 Received: from gate.crashing.org ([63.228.1.57]:39119 "EHLO gate.crashing.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727197AbeHaJEh (ORCPT ); Fri, 31 Aug 2018 05:04:37 -0400 Received: from localhost (localhost.localdomain [127.0.0.1]) by gate.crashing.org (8.14.1/8.14.1) with ESMTP id w7V4wfZB006011; Thu, 30 Aug 2018 23:58:42 -0500 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() From: Benjamin Herrenschmidt To: Frank Rowand , Finn Thain Cc: Stan Johnson , Rob Herring , Chintan Pandya , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linuxppc-dev@lists.ozlabs.org Date: Fri, 31 Aug 2018 14:58:41 +1000 In-Reply-To: <0ad5dbfd-08f3-b97d-34b9-70fc9a729921@gmail.com> References: <1520208889-3908-1-git-send-email-frowand.list@gmail.com> <1520208889-3908-2-git-send-email-frowand.list@gmail.com> <0ad5dbfd-08f3-b97d-34b9-70fc9a729921@gmail.com> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.28.5 (3.28.5-1.fc28) Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 2018-08-30 at 21:36 -0700, Frank Rowand wrote: > > No idea whether that's relevant; I haven't done any further investigation. > > Complete dmesg output is attached. Please let me know if there's any more > > information you need to help find the bug. > > > > Thanks. > > I don't have any useful answers yet, but I am following the thread and have > also quickly scanned the two commits for any obvious cause. I will look > into this some more, but have a few other tasks that I need to complete > first. > > A long shot, but something to consider, is that I failed to cover the > cases of dynamic devicetree updates (removing nodes that contain a > phandle) in ways other than overlays. Michael Ellerman has reported > such a problem for powerpc/mobility with of_detach_node(). A patch to > fix that is one of the tasks I need to complete. The only thing I can think of is booting via the BootX bootloader on those ancient macs results in a DT with no phandles. I didn't see an obvious reason why that would cause that patch to break though. Cheers, Ben.