All of lore.kernel.org
 help / color / mirror / Atom feed
From: Peter Senna Tschudin <peter.senna@collabora.com>
To: Kishon Vijay Abraham I <kishon@ti.com>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>,
	Jesper Nilsson <jesper.nilsson@axis.com>,
	Joao Pinto <Joao.Pinto@synopsys.com>,
	Richard Zhu <hongxing.zhu@nxp.com>,
	Gabriele Paoloni <gabriele.paoloni@huawei.com>,
	Jingoo Han <jingoohan1@gmail.com>,
	Pratyush Anand <pratyush.anand@gmail.com>,
	linux-pci@vger.kernel.org, linux-kernel@vger.kernel.org,
	Stanimir Varbanov <svarbanov@mm-sol.com>,
	Minghuan Lian <minghuan.Lian@freescale.com>,
	Zhou Wang <wangzhou1@hisilicon.com>,
	Murali Karicheri <m-karicheri2@ti.com>,
	Niklas Cassel <niklas.cassel@axis.com>,
	Bjorn Helgaas <bhelgaas@google.com>,
	Mingkai Hu <mingkai.hu@freescale.com>,
	Roy Zang <tie-fei.zang@freescale.com>,
	linux-arm-kernel@lists.infradead.org,
	Lucas Stach <l.stach@pengutronix.de>
Subject: Re: Regression: 442ec4c04d1: PCI: dwc: all: Split struct pcie_port into host-only and core structures
Date: Mon, 8 May 2017 19:15:06 +0200	[thread overview]
Message-ID: <20170508171506.GA9791@collabora.com> (raw)
In-Reply-To: <1d5b46a7-b8ed-f58d-0064-bb19f664cd5c@ti.com>

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 <kishon@ti.com>
> >> 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...



_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

WARNING: multiple messages have this Message-ID (diff)
From: peter.senna@collabora.com (Peter Senna Tschudin)
To: linux-arm-kernel@lists.infradead.org
Subject: Regression: 442ec4c04d1: PCI: dwc: all: Split struct pcie_port into host-only and core structures
Date: Mon, 8 May 2017 19:15:06 +0200	[thread overview]
Message-ID: <20170508171506.GA9791@collabora.com> (raw)
In-Reply-To: <1d5b46a7-b8ed-f58d-0064-bb19f664cd5c@ti.com>

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 <kishon@ti.com>
> >> 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...

WARNING: multiple messages have this Message-ID (diff)
From: Peter Senna Tschudin <peter.senna@collabora.com>
To: Kishon Vijay Abraham I <kishon@ti.com>
Cc: Bjorn Helgaas <bhelgaas@google.com>,
	Jingoo Han <jingoohan1@gmail.com>,
	Richard Zhu <hongxing.zhu@nxp.com>,
	Lucas Stach <l.stach@pengutronix.de>,
	Murali Karicheri <m-karicheri2@ti.com>,
	Minghuan Lian <minghuan.Lian@freescale.com>,
	Mingkai Hu <mingkai.hu@freescale.com>,
	Roy Zang <tie-fei.zang@freescale.com>,
	Thomas Petazzoni <thomas.petazzoni@free-electrons.com>,
	Niklas Cassel <niklas.cassel@axis.com>,
	Jesper Nilsson <jesper.nilsson@axis.com>,
	Joao Pinto <Joao.Pinto@synopsys.com>,
	Zhou Wang <wangzhou1@hisilicon.com>,
	Gabriele Paoloni <gabriele.paoloni@huawei.com>,
	Stanimir Varbanov <svarbanov@mm-sol.com>,
	Pratyush Anand <pratyush.anand@gmail.com>,
	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
Date: Mon, 8 May 2017 19:15:06 +0200	[thread overview]
Message-ID: <20170508171506.GA9791@collabora.com> (raw)
In-Reply-To: <1d5b46a7-b8ed-f58d-0064-bb19f664cd5c@ti.com>

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 <kishon@ti.com>
> >> 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...

  reply	other threads:[~2017-05-08 17:15 UTC|newest]

Thread overview: 71+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-05-08 15:02 Regression: 442ec4c04d1: PCI: dwc: all: Split struct pcie_port into host-only and core structures Peter Senna Tschudin
2017-05-08 15:02 ` Peter Senna Tschudin
2017-05-08 15:02 ` Peter Senna Tschudin
2017-05-08 15:13 ` Joao Pinto
2017-05-08 15:13   ` Joao Pinto
2017-05-08 15:13   ` Joao Pinto
2017-05-08 15:20   ` Kishon Vijay Abraham I
2017-05-08 15:20     ` Kishon Vijay Abraham I
2017-05-08 15:20     ` Kishon Vijay Abraham I
2017-05-08 15:31     ` Joao Pinto
2017-05-08 15:31       ` Joao Pinto
2017-05-08 15:31       ` Joao Pinto
2017-05-08 15:46       ` Kishon Vijay Abraham I
2017-05-08 15:46         ` Kishon Vijay Abraham I
2017-05-08 15:46         ` Kishon Vijay Abraham I
2017-05-08 15:39 ` Kishon Vijay Abraham I
2017-05-08 15:39   ` Kishon Vijay Abraham I
2017-05-08 15:39   ` Kishon Vijay Abraham I
2017-05-08 15:50   ` Kishon Vijay Abraham I
2017-05-08 15:50     ` Kishon Vijay Abraham I
2017-05-08 15:50     ` Kishon Vijay Abraham I
2017-05-08 17:15     ` Peter Senna Tschudin [this message]
2017-05-08 17:15       ` Peter Senna Tschudin
2017-05-08 17:15       ` Peter Senna Tschudin
2017-05-08 16:13   ` Peter Senna Tschudin
2017-05-08 16:13     ` Peter Senna Tschudin
2017-05-08 16:13     ` Peter Senna Tschudin
2017-05-08 16:34 ` Lucas Stach
2017-05-08 16:34   ` Lucas Stach
2017-05-08 16:34   ` Lucas Stach
2017-05-08 16:44   ` Peter Senna Tschudin
2017-05-08 16:44     ` Peter Senna Tschudin
2017-05-08 16:48     ` Lucas Stach
2017-05-08 16:48       ` Lucas Stach
2017-05-08 16:48       ` Lucas Stach
2017-05-08 16:58       ` Peter Senna Tschudin
2017-05-08 16:58         ` Peter Senna Tschudin
2017-05-08 16:58         ` Peter Senna Tschudin
2017-05-08 17:55   ` Lorenzo Pieralisi
2017-05-08 17:55     ` Lorenzo Pieralisi
2017-05-08 17:55     ` Lorenzo Pieralisi
2017-05-08 20:33     ` Peter Senna Tschudin
2017-05-08 20:33       ` Peter Senna Tschudin
2017-05-08 20:33       ` Peter Senna Tschudin
2017-05-09 16:27       ` Lorenzo Pieralisi
2017-05-09 16:27         ` Lorenzo Pieralisi
2017-05-09 16:27         ` Lorenzo Pieralisi
2017-05-08 18:23 ` Lorenzo Pieralisi
2017-05-08 18:23   ` Lorenzo Pieralisi
2017-05-08 18:23   ` Lorenzo Pieralisi
2017-05-09  1:30 ` Fabio Estevam
2017-05-09  1:30   ` Fabio Estevam
2017-05-09  1:30   ` Fabio Estevam
2017-05-09  6:34   ` Peter Senna Tschudin
2017-05-09  6:34     ` Peter Senna Tschudin
2017-05-09  6:34     ` Peter Senna Tschudin
2017-05-09 10:21     ` Fabio Estevam
2017-05-09 10:21       ` Fabio Estevam
2017-05-09 10:21       ` Fabio Estevam
2017-05-10 13:17       ` Peter Senna Tschudin
2017-05-10 13:17         ` Peter Senna Tschudin
2017-05-10 13:17         ` Peter Senna Tschudin
2017-05-10 13:27         ` Fabio Estevam
2017-05-10 13:27           ` Fabio Estevam
2017-05-10 13:27           ` Fabio Estevam
2017-05-10 13:32           ` Lucas Stach
2017-05-10 13:32             ` Lucas Stach
2017-05-10 13:32             ` Lucas Stach
2017-05-10 14:14             ` Peter Senna Tschudin
2017-05-10 14:14               ` Peter Senna Tschudin
2017-05-10 14:14               ` Peter Senna Tschudin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20170508171506.GA9791@collabora.com \
    --to=peter.senna@collabora.com \
    --cc=Joao.Pinto@synopsys.com \
    --cc=bhelgaas@google.com \
    --cc=gabriele.paoloni@huawei.com \
    --cc=hongxing.zhu@nxp.com \
    --cc=jesper.nilsson@axis.com \
    --cc=jingoohan1@gmail.com \
    --cc=kishon@ti.com \
    --cc=l.stach@pengutronix.de \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-pci@vger.kernel.org \
    --cc=m-karicheri2@ti.com \
    --cc=minghuan.Lian@freescale.com \
    --cc=mingkai.hu@freescale.com \
    --cc=niklas.cassel@axis.com \
    --cc=pratyush.anand@gmail.com \
    --cc=svarbanov@mm-sol.com \
    --cc=thomas.petazzoni@free-electrons.com \
    --cc=tie-fei.zang@freescale.com \
    --cc=wangzhou1@hisilicon.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.