From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757986AbdJKT1J (ORCPT ); Wed, 11 Oct 2017 15:27:09 -0400 Received: from mail.kernel.org ([198.145.29.99]:37812 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757163AbdJKT1H (ORCPT ); Wed, 11 Oct 2017 15:27:07 -0400 DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 5421A218D7 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=helgaas@kernel.org Date: Wed, 11 Oct 2017 14:27:04 -0500 From: Bjorn Helgaas To: Sinan Kaya Cc: James Puthukattukaran , Bjorn Helgaas , "linux-pci@vger.kernel.org" , Linux Kernel Mailing List Subject: Re: [PATCH v7] PCI: Workaround wrong flags completions for IDT switch Message-ID: <20171011192704.GN25517@bhelgaas-glaptop.roam.corp.google.com> References: <59C02719.5050103@oracle.com> <9741d204-1dd6-2cc2-c133-2ef49c8a404b@codeaurora.org> <59CAB001.10207@oracle.com> <7084085b-89e7-80fa-d10b-06f121eb57be@codeaurora.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <7084085b-89e7-80fa-d10b-06f121eb57be@codeaurora.org> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Sep 26, 2017 at 04:03:13PM -0400, Sinan Kaya wrote: > On 9/26/2017 3:52 PM, James Puthukattukaran wrote: > >> I think you want to do the part above as part of a quirk that runs before > >> the probe. > > > > I don't think there's a way to run this early enough? > > Bjorn? > > I have seen multiple quirk types in quirks.c some prefixed with EARLY and > other LATE. I'm hoping an early quirk on the switch would be early enough, since the workaround needs to be done for devices downstream from the switch. Bjorn