From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752926AbdEHQei (ORCPT ); Mon, 8 May 2017 12:34:38 -0400 Received: from metis.ext.4.pengutronix.de ([92.198.50.35]:52957 "EHLO metis.ext.4.pengutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751571AbdEHQef (ORCPT ); Mon, 8 May 2017 12:34:35 -0400 Message-ID: <1494261248.2322.21.camel@pengutronix.de> Subject: Re: Regression: 442ec4c04d1: PCI: dwc: all: Split struct pcie_port into host-only and core structures From: Lucas Stach To: Peter Senna Tschudin Cc: Kishon Vijay Abraham I , Bjorn Helgaas , Jingoo Han , Richard Zhu , 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 Date: Mon, 08 May 2017 18:34:08 +0200 In-Reply-To: <20170508150224.GA7458@collabora.com> References: <20170508150224.GA7458@collabora.com> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.12.9-1+b1 Mime-Version: 1.0 Content-Transfer-Encoding: 7bit X-SA-Exim-Connect-IP: 2001:67c:670:100:fa0f:41ff:fe58:4010 X-SA-Exim-Mail-From: l.stach@pengutronix.de X-SA-Exim-Scanned: No (on metis.ext.pengutronix.de); SAEximRunCond expanded to false X-PTX-Original-Recipient: linux-kernel@vger.kernel.org Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Am Montag, den 08.05.2017, 17:02 +0200 schrieb Peter Senna Tschudin: > 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: Are you sure about this bisect? It seems more likely that the secondary bus scanning goes wrong. It seems Lorenzo Pieralisi's cfg space non-posting patches landed in next, so the root cause of this might just be the driver hooking the wrong fault code now. Async and synchronous aborts are different fault codes on ARM. Can you see of removing the "16 +" in hook_fault_code() in drivers/pci/dwc/pci-imx6.c fixes this issue? Regards, Lucas