From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753457AbeBUJyk (ORCPT ); Wed, 21 Feb 2018 04:54:40 -0500 Received: from mailout1.hostsharing.net ([83.223.95.204]:49199 "EHLO mailout1.hostsharing.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752656AbeBUJyj (ORCPT ); Wed, 21 Feb 2018 04:54:39 -0500 Date: Wed, 21 Feb 2018 10:54:35 +0100 From: Lukas Wunner To: George Cherian Cc: Bjorn Helgaas , "Rafael J. Wysocki" , Mika Westerberg , linux-pci@vger.kernel.org, linux-kernel@vger.kernel.org, bhelgaas@google.com, Jayachandran.Nair@cavium.com, Robert.Richter@cavium.com, Lorenzo Pieralisi , Huang Ying Subject: Re: [PATCH] PCI: Add quirk for Cavium Thunder-X2 PCIe erratum #173 Message-ID: <20180221095435.xe5lmes7mpxca3en@wunner.de> References: <1517554846-16703-1-git-send-email-george.cherian@cavium.com> <2323301.ORZpb3hFRe@aspire.rjw.lan> <20180216203434.GC11014@bhelgaas-glaptop.roam.corp.google.com> <2858019.9TUCWsDpTB@aspire.rjw.lan> <20180220015433.GA9656@wunner.de> <20180220190037.GB32228@bhelgaas-glaptop.roam.corp.google.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: NeoMutt/20170113 (1.7.2) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Feb 21, 2018 at 02:58:13PM +0530, George Cherian wrote: > I will explain the setup used > To the Cavium ThunderX RC the following PLX device is connected. > PLX Technology, Inc. PEX 8747 48-Lane, 5-Port PCI Express Gen 3 (8.0 GT/s) > Switch > There is no device connected downstream to the PLX switch. > > AFAIU the pcie_port driver probes PLX and enters autosuspend after 100ms > since pci_bridge_d3_possible() returns true. > > And later pci_sysfs_init() ends up doing a config access of PLX which fails > with a "synchronous external abort" Then you're missing a pci_config_pm_runtime_get() in pci_sysfs_init() or further down in the call stack, rather than a quirk which just papers over the issue. Thanks, Lukas