From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Return-Path: MIME-Version: 1.0 In-Reply-To: <20170510175752.6519-1-l.stach@pengutronix.de> References: <20170510175752.6519-1-l.stach@pengutronix.de> From: Fabio Estevam Date: Wed, 10 May 2017 15:35:17 -0300 Message-ID: Subject: Re: [PATCH] PCI: imx6: fix downstream bus scanning To: Lucas Stach List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: lorenzo.pieralisi@arm.com, Richard Zhu , "linux-pci@vger.kernel.org" , Tim Harvey , patchwork-lst@pengutronix.de, Peter Senna Tschudin , Sascha Hauer , Bjorn Helgaas , "linux-arm-kernel@lists.infradead.org" Content-Type: text/plain; charset="us-ascii" Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+bjorn=helgaas.com@lists.infradead.org List-ID: Hi Lucas, On Wed, May 10, 2017 at 2:57 PM, Lucas Stach wrote: > The change in Linux 4.12 to make PCI configuartion requests non-posted > means that we are now getting a synchronous abort when the CFG space > read to probe for downstream devices times out. > > Synchronous aborts need to be handled differently from the async aborts > we were getting before, in particular the PC needs to be advanced when > resolving the abort. This is mostly a copy of what other PCI drivers do > on ARM to handle those aborts. > > Signed-off-by: Lucas Stach > --- > This is a fix that needs to go in for 4.12, but I would hope to get > some thorough testing before. This fixes the kernel crash on my mx6q board with a PCI switch, thanks! PCI Wifi card is also correctly detected. _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel From mboxrd@z Thu Jan 1 00:00:00 1970 From: festevam@gmail.com (Fabio Estevam) Date: Wed, 10 May 2017 15:35:17 -0300 Subject: [PATCH] PCI: imx6: fix downstream bus scanning In-Reply-To: <20170510175752.6519-1-l.stach@pengutronix.de> References: <20170510175752.6519-1-l.stach@pengutronix.de> Message-ID: To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org Hi Lucas, On Wed, May 10, 2017 at 2:57 PM, Lucas Stach wrote: > The change in Linux 4.12 to make PCI configuartion requests non-posted > means that we are now getting a synchronous abort when the CFG space > read to probe for downstream devices times out. > > Synchronous aborts need to be handled differently from the async aborts > we were getting before, in particular the PC needs to be advanced when > resolving the abort. This is mostly a copy of what other PCI drivers do > on ARM to handle those aborts. > > Signed-off-by: Lucas Stach > --- > This is a fix that needs to go in for 4.12, but I would hope to get > some thorough testing before. This fixes the kernel crash on my mx6q board with a PCI switch, thanks! PCI Wifi card is also correctly detected.