From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-9.0 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, MENTIONS_GIT_HOSTING,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 6BA25C4741F for ; Wed, 30 Sep 2020 23:49:02 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 29FE820C09 for ; Wed, 30 Sep 2020 23:49:02 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=ragnatech-se.20150623.gappssmtp.com header.i=@ragnatech-se.20150623.gappssmtp.com header.b="tRyeEN3n" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732183AbgI3XtB (ORCPT ); Wed, 30 Sep 2020 19:49:01 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35196 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731202AbgI3XtA (ORCPT ); Wed, 30 Sep 2020 19:49:00 -0400 Received: from mail-lj1-x243.google.com (mail-lj1-x243.google.com [IPv6:2a00:1450:4864:20::243]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 615A4C0613D0 for ; Wed, 30 Sep 2020 16:49:00 -0700 (PDT) Received: by mail-lj1-x243.google.com with SMTP id u4so3058591ljd.10 for ; Wed, 30 Sep 2020 16:49:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ragnatech-se.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:content-transfer-encoding:in-reply-to; bh=1K6GZ5cts7m5+dPoKFk/BNjOtI5JoHWgjjAufBHq48Y=; b=tRyeEN3nhgw2RRiORdqa8mpKabxwtR2R8hUhmoETiBpNETmt2SnVpE5e0nP7yROGy9 tMHSmwiXfQxTXWC44UEShc2AgHdCjJS5UaQCxQi9+e7M5Ga5b0iOtCt7qjgRkMxxBPfH 3rJCakAOPi3yqMGC+Dp6OUPQBUNmhzbPk0YHNp7nTvYw5jQZX8GU1fAh4CfMPrViGxmb kzUaTEpstRZnM9P6CEIfcsWNvfaEdZVwRQWg1L2EvrHPobqfO0VfvBAf/oyFuTzlyW4Z DrqR/BYHu+yofs46Dxey5ewEqwVuVeyADzoGUH208xPIe160j3zc+ebPnE3YNFuxcUhv c8ZQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:content-transfer-encoding :in-reply-to; bh=1K6GZ5cts7m5+dPoKFk/BNjOtI5JoHWgjjAufBHq48Y=; b=hQGKZNM2kmAQOke0wwkEdxqV8pAtYkvh4kWZ0CvKUb9nDo6tUuLavPcE6wXDe5VCFL UKgQ0r/2FqnuGBLr4tmst97ma+Lp/cKSz4mXHXpn36l/ok/aFyQrdk8DZO6KfeS8QCl1 jX6O2YE5aoyZD1BvWv6FA3YDzYpET2ANTicgF+vYVkSau3NChGnBwJKjH8PtPxJJztqG 1UF88v9VBhecKu5HDoRsoiazpXINt+5u0B3xykgHfV7xDEyS03QZiKJL4h8OAIbuCvBP hxVR26JF9g7kFiuX/5MoB4q4q+shr7Q/4wV45nS23UWOB4303iao2/oTBogjxrNcjZtS hSkw== X-Gm-Message-State: AOAM533QAJFW9YkTNWMlgsoSq8NQyriE2nmJuUqw0zijRI9kivmdW/Bj sjNdZgjkA8TASaON5rWt0jisRA== X-Google-Smtp-Source: ABdhPJxf7ZY83Qyw/h83m+REyH2P0HviHDKEwswK3B/J5Q6hMpcTf1FtPONgOIKku3H2miUH7CQbUg== X-Received: by 2002:a2e:80d2:: with SMTP id r18mr1585556ljg.98.1601509738794; Wed, 30 Sep 2020 16:48:58 -0700 (PDT) Received: from localhost (h-209-203.A463.priv.bahnhof.se. [155.4.209.203]) by smtp.gmail.com with ESMTPSA id q18sm346450lfr.138.2020.09.30.16.48.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 30 Sep 2020 16:48:58 -0700 (PDT) Date: Thu, 1 Oct 2020 01:48:57 +0200 From: Niklas =?utf-8?Q?S=C3=B6derlund?= To: Bjorn Helgaas Cc: Rob Herring , Bjorn Helgaas , Marc Zyngier , devicetree@vger.kernel.org, PCI , "open list:ARM/Rockchip SoC..." , linux-arm-kernel , Lorenzo Pieralisi , Heiko Stuebner , Frank Rowand , Shawn Lin , Jiaxun Yang , Android Kernel Team , Samuel Dionne-Riel , "linux-kernel@vger.kernel.org" Subject: Re: [PATCH v2] of: address: Work around missing device_type property in pcie nodes Message-ID: <20200930234857.g2gxdablzaewvwfq@oden.dyn.berto.se> References: <20200930225154.GA2631019@bjorn-Precision-5520> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20200930225154.GA2631019@bjorn-Precision-5520> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Bjorn, On 2020-09-30 17:51:54 -0500, Bjorn Helgaas wrote: > On Wed, Sep 30, 2020 at 03:34:10PM -0500, Rob Herring wrote: > > On Wed, Sep 30, 2020 at 12:37 PM Niklas Söderlund > > wrote: > > > > > > Hi Marc, > > > > > > On 2020-09-30 18:23:21 +0100, Marc Zyngier wrote: > > > > Hi Niklas, > > > > > > > > [+ Samuel] > > > > > > > > On 2020-09-30 17:27, Niklas Söderlund wrote: > > > > > Hi Marc, > > > > > > > > > > I'm afraid this commit breaks booting my rk3399 device. > > > > > > > > > > I bisected the problem to this patch merged as [1]. I'm testing on a > > > > > Scarlet device and I'm using the unmodified upstream > > > > > rk3399-gru-scarlet-inx.dtb for my tests. > > > > > > > > > > The problem I'm experience is a black screen after the bootloader and > > > > > the device is none responsive over the network. I have no serial console > > > > > to this device so I'm afraid I can't tell you if there is anything > > > > > useful on to aid debugging there. > > > > > > > > > > If I try to test one commit earlier [2] the system boots as expected and > > > > > everything works as it did for me in v5.8 and earlier. I have worked > > > > > little with this device and have no clue about what is really on the PCI > > > > > buss. But running from [2] I have this info about PCI if it's helpful, > > > > > please ask if somethings missing. > > > > > > > > Please see the thread at [1]. The problem was reported a few weeks back > > > > by Samuel, and I was expecting Rob and Lorenzo to push a fix for this. > > > > > > Thanks for providing a solution. > > > > > > > > > > > Rob, Lorenzo, any update on this? > > > > The fix is in Bjorn's tree[1]. > > > > Bjorn, going to send this to Linus before v5.9 is out? > > Definitely, thanks for the reminder. I'm assuming the fix in question > is https://git.kernel.org/pub/scm/linux/kernel/git/helgaas/pci.git/commit/?h=for-linus&id=e338eecf3fe79054e8a31b8c39a1234b5acfdabe That patch solves my boot problem. Cherry-picked and tested directly on-top of v5.9-rc7 (which fails to boot without the patch in question). > > > [1] https://git.kernel.org/pub/scm/linux/kernel/git/helgaas/pci.git/log/?h=for-linus -- Regards, Niklas Söderlund From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-9.5 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, MENTIONS_GIT_HOSTING,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 8C8E7C4741F for ; Wed, 30 Sep 2020 23:49:32 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 1EB5B20B1F for ; Wed, 30 Sep 2020 23:49:32 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="Ljjy8c8+"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=ragnatech-se.20150623.gappssmtp.com header.i=@ragnatech-se.20150623.gappssmtp.com header.b="tRyeEN3n" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 1EB5B20B1F Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=ragnatech.se Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-rockchip-bounces+linux-rockchip=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References:Message-ID: Subject:To:From:Date:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=TGXVBN6G1vFyN52du9N4xNHtYyE08hF0BXJGzRgeojk=; b=Ljjy8c8+tCEDCq/bupu/bv5MM g8jvbnxvNmJvU/9g+miKjouU7ntkq+dTSH2LDk/G6cLQMrNCT7EtttHaHhBkJ4KZIB5AlWm2FdQMy mVOm6/ScUyZXn/YlxtNtIsh7vtATM9YHe+PogfP5iWopKKu4h3/Vy/0ZfU2VWUT566A00sRB2JJVI KUkDutUYh4SJjtz0lZM9ugOB3LosNVF7NnfCWfDG7FE3yMmow81+ifUal9CqUv8JHq0TqvN871ARv RfJimp7UnyfVYW+felsZO8Jchu9uGJ0os+MR656ySWqyrVVjQ47v2BsaZ16AIyl77D8fH6cNiCl40 iNHJ/gzOg==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kNlqf-00014N-2p; Wed, 30 Sep 2020 23:49:25 +0000 Received: from mail-lj1-x242.google.com ([2a00:1450:4864:20::242]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kNlqG-0000qH-E1 for linux-rockchip@lists.infradead.org; Wed, 30 Sep 2020 23:49:02 +0000 Received: by mail-lj1-x242.google.com with SMTP id c2so3056285ljj.12 for ; Wed, 30 Sep 2020 16:48:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ragnatech-se.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:content-transfer-encoding:in-reply-to; bh=1K6GZ5cts7m5+dPoKFk/BNjOtI5JoHWgjjAufBHq48Y=; b=tRyeEN3nhgw2RRiORdqa8mpKabxwtR2R8hUhmoETiBpNETmt2SnVpE5e0nP7yROGy9 tMHSmwiXfQxTXWC44UEShc2AgHdCjJS5UaQCxQi9+e7M5Ga5b0iOtCt7qjgRkMxxBPfH 3rJCakAOPi3yqMGC+Dp6OUPQBUNmhzbPk0YHNp7nTvYw5jQZX8GU1fAh4CfMPrViGxmb kzUaTEpstRZnM9P6CEIfcsWNvfaEdZVwRQWg1L2EvrHPobqfO0VfvBAf/oyFuTzlyW4Z DrqR/BYHu+yofs46Dxey5ewEqwVuVeyADzoGUH208xPIe160j3zc+ebPnE3YNFuxcUhv c8ZQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:content-transfer-encoding :in-reply-to; bh=1K6GZ5cts7m5+dPoKFk/BNjOtI5JoHWgjjAufBHq48Y=; b=H/diEuvlGTCj0eIWfeRHgd2UJBtWenSwcpSQ1+05wbQW2C9l1/je0SLcM3C4kp/aZn bzOBejQlvydSHN9Z9XxzhWVekx88d0FtQztE/n/Hc6vpMR+cEUBVqeesm7JljcT1tTmY 516grzs5iL7WZIeLINGwxZ2b8d+vG7Yt2nZiqKUvaULCY38+t1+mK5uXAiEkNjb7zrMR JtbG8FM8Pvjti2dne56GMRdij9q8gdFWO9t2YskVxgEXvykvgSA0c81Dhl/m7edv0CWz kSbsWiVN272i4HXdAOzFyS0n6dg61YRdyEm8TawQQ27QBIiRCSARZzDcwmoLQHub9e1J IHLg== X-Gm-Message-State: AOAM531bJr/LlpD51Rg7vjtoFhXBuJ0C5/7L+c7iqSvdlwL5XkQpPC4a HMlMBgjU00moExRfizpxBHmi6w== X-Google-Smtp-Source: ABdhPJxf7ZY83Qyw/h83m+REyH2P0HviHDKEwswK3B/J5Q6hMpcTf1FtPONgOIKku3H2miUH7CQbUg== X-Received: by 2002:a2e:80d2:: with SMTP id r18mr1585556ljg.98.1601509738794; Wed, 30 Sep 2020 16:48:58 -0700 (PDT) Received: from localhost (h-209-203.A463.priv.bahnhof.se. [155.4.209.203]) by smtp.gmail.com with ESMTPSA id q18sm346450lfr.138.2020.09.30.16.48.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 30 Sep 2020 16:48:58 -0700 (PDT) Date: Thu, 1 Oct 2020 01:48:57 +0200 From: Niklas =?utf-8?Q?S=C3=B6derlund?= To: Bjorn Helgaas Subject: Re: [PATCH v2] of: address: Work around missing device_type property in pcie nodes Message-ID: <20200930234857.g2gxdablzaewvwfq@oden.dyn.berto.se> References: <20200930225154.GA2631019@bjorn-Precision-5520> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20200930225154.GA2631019@bjorn-Precision-5520> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200930_194900_657929_A769C6A9 X-CRM114-Status: GOOD ( 31.31 ) X-BeenThere: linux-rockchip@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Upstream kernel work for Rockchip platforms List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Rob Herring , Lorenzo Pieralisi , Heiko Stuebner , devicetree@vger.kernel.org, Samuel Dionne-Riel , PCI , Shawn Lin , "linux-kernel@vger.kernel.org" , Jiaxun Yang , "open list:ARM/Rockchip SoC..." , Marc Zyngier , Bjorn Helgaas , Android Kernel Team , Frank Rowand , linux-arm-kernel Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Sender: "Linux-rockchip" Errors-To: linux-rockchip-bounces+linux-rockchip=archiver.kernel.org@lists.infradead.org Hi Bjorn, On 2020-09-30 17:51:54 -0500, Bjorn Helgaas wrote: > On Wed, Sep 30, 2020 at 03:34:10PM -0500, Rob Herring wrote: > > On Wed, Sep 30, 2020 at 12:37 PM Niklas S=F6derlund > > wrote: > > > > > > Hi Marc, > > > > > > On 2020-09-30 18:23:21 +0100, Marc Zyngier wrote: > > > > Hi Niklas, > > > > > > > > [+ Samuel] > > > > > > > > On 2020-09-30 17:27, Niklas S=F6derlund wrote: > > > > > Hi Marc, > > > > > > > > > > I'm afraid this commit breaks booting my rk3399 device. > > > > > > > > > > I bisected the problem to this patch merged as [1]. I'm testing o= n a > > > > > Scarlet device and I'm using the unmodified upstream > > > > > rk3399-gru-scarlet-inx.dtb for my tests. > > > > > > > > > > The problem I'm experience is a black screen after the bootloader= and > > > > > the device is none responsive over the network. I have no serial = console > > > > > to this device so I'm afraid I can't tell you if there is anything > > > > > useful on to aid debugging there. > > > > > > > > > > If I try to test one commit earlier [2] the system boots as expec= ted and > > > > > everything works as it did for me in v5.8 and earlier. I have wor= ked > > > > > little with this device and have no clue about what is really on = the PCI > > > > > buss. But running from [2] I have this info about PCI if it's hel= pful, > > > > > please ask if somethings missing. > > > > > > > > Please see the thread at [1]. The problem was reported a few weeks = back > > > > by Samuel, and I was expecting Rob and Lorenzo to push a fix for th= is. > > > > > > Thanks for providing a solution. > > > > > > > > > > > Rob, Lorenzo, any update on this? > > = > > The fix is in Bjorn's tree[1]. > > = > > Bjorn, going to send this to Linus before v5.9 is out? > = > Definitely, thanks for the reminder. I'm assuming the fix in question > is https://git.kernel.org/pub/scm/linux/kernel/git/helgaas/pci.git/commit= /?h=3Dfor-linus&id=3De338eecf3fe79054e8a31b8c39a1234b5acfdabe That patch solves my boot problem. Cherry-picked and tested directly on-top of v5.9-rc7 (which fails to = boot without the patch in question). > = > > [1] https://git.kernel.org/pub/scm/linux/kernel/git/helgaas/pci.git/log= /?h=3Dfor-linus -- = Regards, Niklas S=F6derlund _______________________________________________ Linux-rockchip mailing list Linux-rockchip@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-rockchip From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-9.5 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, MENTIONS_GIT_HOSTING,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id B7BB0C4363D for ; Wed, 30 Sep 2020 23:50:47 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 4EEC720B1F for ; Wed, 30 Sep 2020 23:50:47 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="lGA0iqpT"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=ragnatech-se.20150623.gappssmtp.com header.i=@ragnatech-se.20150623.gappssmtp.com header.b="tRyeEN3n" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 4EEC720B1F Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=ragnatech.se Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References:Message-ID: Subject:To:From:Date:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=9IF4wWiZAkAxhyYqbzBSb0FaWALvwEhbnTo8Pahiqsg=; b=lGA0iqpTxWzQwPlrglSqsoFQa clgNv1irLNRDUs0NGYLVLBAKbqt8AFcObbls1qHYRBRD/6/AtrQt5Yyfuu5OnnMgnD9xJnMkjPjRg MV8r7DRpW7qhwfRbHSrWcJ4OCxptIPGrxuAX4oiXb5v63C8pSTLWPlKFQ5ou5747zqaKRNhpXp/ex WxBDssf5UiIgguMBBeUCSAgoLfuv+hqDs7437YEKz6d5P8jexyfM95jPvCS5PfOFCFk+Y5iCDylR/ n9SuQoCzUjSi21wwnq47qJf8A22ItPZoNS7kNn0zb6mm9pGIWGceVaUCF4SMpvZmYZ2kQwff8g0lC Lh82uMEKA==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kNlqa-00010x-IC; Wed, 30 Sep 2020 23:49:20 +0000 Received: from mail-lj1-x242.google.com ([2a00:1450:4864:20::242]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kNlqG-0000qC-E0 for linux-arm-kernel@lists.infradead.org; Wed, 30 Sep 2020 23:49:02 +0000 Received: by mail-lj1-x242.google.com with SMTP id k25so3067122ljg.9 for ; Wed, 30 Sep 2020 16:49:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ragnatech-se.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:content-transfer-encoding:in-reply-to; bh=1K6GZ5cts7m5+dPoKFk/BNjOtI5JoHWgjjAufBHq48Y=; b=tRyeEN3nhgw2RRiORdqa8mpKabxwtR2R8hUhmoETiBpNETmt2SnVpE5e0nP7yROGy9 tMHSmwiXfQxTXWC44UEShc2AgHdCjJS5UaQCxQi9+e7M5Ga5b0iOtCt7qjgRkMxxBPfH 3rJCakAOPi3yqMGC+Dp6OUPQBUNmhzbPk0YHNp7nTvYw5jQZX8GU1fAh4CfMPrViGxmb kzUaTEpstRZnM9P6CEIfcsWNvfaEdZVwRQWg1L2EvrHPobqfO0VfvBAf/oyFuTzlyW4Z DrqR/BYHu+yofs46Dxey5ewEqwVuVeyADzoGUH208xPIe160j3zc+ebPnE3YNFuxcUhv c8ZQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:content-transfer-encoding :in-reply-to; bh=1K6GZ5cts7m5+dPoKFk/BNjOtI5JoHWgjjAufBHq48Y=; b=enAkFfS2CfGyZpa08sM4QKrovGawKDjaa8W9KFI7BSdaREfX2O3hW7vOR7TJSPdifG wl0qk8sQ33R6NcpesLbrsj6FDzeh7D/BJys4cyannumh7uO6t/q6Z+7kGD/nEk/VghVD 6O8XUD40MCCOQrxLlv4eLIJkxyZXiqU2PiYVVwurkhfjqBLBIpfbHURNGp1XSShNlzd8 Aqg2YqQVeHm2uZHccaoMc8cH2Ek13FqVVWXgVx9kTFTbgKRvruuWspGPBVWJuCQvtdGN etXrfJ7oqPk76q8rdJoTMjelmez6xztCBfe339GjXleRk5Dr5XLEOoiiZux5+rpztkUu sAqQ== X-Gm-Message-State: AOAM530SlE3PPDMsIQgSuUh6kGCKmOp03gjX7xKgG/ELdxgG8Dhg1gtG tsNaGl2ZeWAQ18kfXWMkDBzskQ== X-Google-Smtp-Source: ABdhPJxf7ZY83Qyw/h83m+REyH2P0HviHDKEwswK3B/J5Q6hMpcTf1FtPONgOIKku3H2miUH7CQbUg== X-Received: by 2002:a2e:80d2:: with SMTP id r18mr1585556ljg.98.1601509738794; Wed, 30 Sep 2020 16:48:58 -0700 (PDT) Received: from localhost (h-209-203.A463.priv.bahnhof.se. [155.4.209.203]) by smtp.gmail.com with ESMTPSA id q18sm346450lfr.138.2020.09.30.16.48.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 30 Sep 2020 16:48:58 -0700 (PDT) Date: Thu, 1 Oct 2020 01:48:57 +0200 From: Niklas =?utf-8?Q?S=C3=B6derlund?= To: Bjorn Helgaas Subject: Re: [PATCH v2] of: address: Work around missing device_type property in pcie nodes Message-ID: <20200930234857.g2gxdablzaewvwfq@oden.dyn.berto.se> References: <20200930225154.GA2631019@bjorn-Precision-5520> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20200930225154.GA2631019@bjorn-Precision-5520> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200930_194900_650390_1FCE9B10 X-CRM114-Status: GOOD ( 32.70 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Rob Herring , Lorenzo Pieralisi , Heiko Stuebner , devicetree@vger.kernel.org, Samuel Dionne-Riel , PCI , Shawn Lin , "linux-kernel@vger.kernel.org" , Jiaxun Yang , "open list:ARM/Rockchip SoC..." , Marc Zyngier , Bjorn Helgaas , Android Kernel Team , Frank Rowand , linux-arm-kernel Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Hi Bjorn, On 2020-09-30 17:51:54 -0500, Bjorn Helgaas wrote: > On Wed, Sep 30, 2020 at 03:34:10PM -0500, Rob Herring wrote: > > On Wed, Sep 30, 2020 at 12:37 PM Niklas S=F6derlund > > wrote: > > > > > > Hi Marc, > > > > > > On 2020-09-30 18:23:21 +0100, Marc Zyngier wrote: > > > > Hi Niklas, > > > > > > > > [+ Samuel] > > > > > > > > On 2020-09-30 17:27, Niklas S=F6derlund wrote: > > > > > Hi Marc, > > > > > > > > > > I'm afraid this commit breaks booting my rk3399 device. > > > > > > > > > > I bisected the problem to this patch merged as [1]. I'm testing o= n a > > > > > Scarlet device and I'm using the unmodified upstream > > > > > rk3399-gru-scarlet-inx.dtb for my tests. > > > > > > > > > > The problem I'm experience is a black screen after the bootloader= and > > > > > the device is none responsive over the network. I have no serial = console > > > > > to this device so I'm afraid I can't tell you if there is anything > > > > > useful on to aid debugging there. > > > > > > > > > > If I try to test one commit earlier [2] the system boots as expec= ted and > > > > > everything works as it did for me in v5.8 and earlier. I have wor= ked > > > > > little with this device and have no clue about what is really on = the PCI > > > > > buss. But running from [2] I have this info about PCI if it's hel= pful, > > > > > please ask if somethings missing. > > > > > > > > Please see the thread at [1]. The problem was reported a few weeks = back > > > > by Samuel, and I was expecting Rob and Lorenzo to push a fix for th= is. > > > > > > Thanks for providing a solution. > > > > > > > > > > > Rob, Lorenzo, any update on this? > > = > > The fix is in Bjorn's tree[1]. > > = > > Bjorn, going to send this to Linus before v5.9 is out? > = > Definitely, thanks for the reminder. I'm assuming the fix in question > is https://git.kernel.org/pub/scm/linux/kernel/git/helgaas/pci.git/commit= /?h=3Dfor-linus&id=3De338eecf3fe79054e8a31b8c39a1234b5acfdabe That patch solves my boot problem. Cherry-picked and tested directly on-top of v5.9-rc7 (which fails to = boot without the patch in question). > = > > [1] https://git.kernel.org/pub/scm/linux/kernel/git/helgaas/pci.git/log= /?h=3Dfor-linus -- = Regards, Niklas S=F6derlund _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel