From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755149AbdEHRPY (ORCPT ); Mon, 8 May 2017 13:15:24 -0400 Received: from bhuna.collabora.co.uk ([46.235.227.227]:46053 "EHLO bhuna.collabora.co.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755047AbdEHRPW (ORCPT ); Mon, 8 May 2017 13:15:22 -0400 Date: Mon, 8 May 2017 19:15:06 +0200 From: Peter Senna Tschudin To: Kishon Vijay Abraham I Cc: Bjorn Helgaas , Jingoo Han , Richard Zhu , Lucas Stach , Murali Karicheri , Minghuan Lian , Mingkai Hu , Roy Zang , Thomas Petazzoni , Niklas Cassel , Jesper Nilsson , Joao Pinto , Zhou Wang , Gabriele Paoloni , Stanimir Varbanov , Pratyush Anand , linux-pci@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: Regression: 442ec4c04d1: PCI: dwc: all: Split struct pcie_port into host-only and core structures Message-ID: <20170508171506.GA9791@collabora.com> References: <20170508150224.GA7458@collabora.com> <967686bf-5f1b-29aa-ee2f-b976addbe98f@ti.com> <1d5b46a7-b8ed-f58d-0064-bb19f664cd5c@ti.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1d5b46a7-b8ed-f58d-0064-bb19f664cd5c@ti.com> User-Agent: Mutt/1.8.0 (2017-02-23) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, May 08, 2017 at 09:20:36PM +0530, Kishon Vijay Abraham I wrote: > Hi, > > On Monday 08 May 2017 09:09 PM, Kishon Vijay Abraham I wrote: > > Hi, > > > > On Monday 08 May 2017 08:32 PM, Peter Senna Tschudin wrote: > >> Hello Kishon, > >> > >> Our iMX6 hardware (imx6q-b850v3.dts) is not booting with latest > >> linux-next and I could bisect until: > >> > >> commit 442ec4c04d1235f8c664a74004dae54a7a574d18 > >> Author: Kishon Vijay Abraham I > >> Date: Wed Feb 15 18:48:14 2017 +0530 > >> > >> PCI: dwc: all: Split struct pcie_port into host-only and core structures > >> > >> Which seem to be causing our issues. Our device (imx6q-b850v3.dts) boots > >> fine with 4.10, and also boots if we disable pcie with: > >> > >> diff --git a/arch/arm/boot/dts/imx6q-b850v3.dts b/arch/arm/boot/dts/imx6q-b850v3.dts > >> index 2c1e98e..e655fd7 100644 > >> --- a/arch/arm/boot/dts/imx6q-b850v3.dts > >> +++ b/arch/arm/boot/dts/imx6q-b850v3.dts > >> @@ -212,3 +212,8 @@ > >> }; > >> }; > >> }; > >> + > >> +&pcie { > >> + status = "disabled"; > >> +}; > >> > >> But otherwise our system freezes while initializing PCI, see dmesg with > >> some more information. Is this something specific of our system/dt or > >> can this be a bug that is affecting others as well? > > > > Haven't seen this in dra7xx. I've tried with few ethernet PCIe cards and also a > > PCIe-to-PCI bridge. > > Can you enable PCI_DEBUG and share the logs? Enabling CONFIG_PCI_DEBUG did not change anything on the output on the scenario that does not work, suggestions? And unfortuantely the parameter pci=earlydump seems to be x86 only...