Received: by 2002:ac0:946b:0:0:0:0:0 with SMTP id j40csp194471imj; Thu, 14 Feb 2019 18:24:47 -0800 (PST) X-Google-Smtp-Source: AHgI3IY/flICYNIAIlsMA9xJP2rv4JqNW57zOhGmONj/KLZ8i1D9kgrkUBlemRyOIRlQY6X7bS1l X-Received: by 2002:a17:902:f095:: with SMTP id go21mr7416354plb.199.1550197487693; Thu, 14 Feb 2019 18:24:47 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1550197487; cv=none; d=google.com; s=arc-20160816; b=Db7ok6lC4o0s+X9Kmaw6gfpiu18ai/7pRN8BVksXECXfZ5YCOmYJGZCkay6loCOa5c 8YZAHvxn81CUqq2m1fvKX2Akuu9swLSDlhsoRGeN8QPOg7ht5r4Ud8lY5hxFvQPQ5199 n43DPyuNoCz+W9TnfvsexFIgfIwicTljLbEeK59MRVm8fZCjGk9/CEejk6YSxwbilDQf PD87/9liSmE9H0EBd/NJWu7otCVxROHi14bvDG2d0O8IMjee63K53rD0EWFlOkAGCFok SBEls1O3Ctq6+JF6Id9eUtWI7DZbZFZeS+tKJKFfI8dk16zGtJC76H5ZwVnBf7Wz2XTd oEIQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=/ScFaHOFjqQxIxkzcUcWeOfw2UHuS0pyHZaxr88LyRw=; b=waQe6ivTOi3koXCQcNyyYeOljsIqXI/2FEl9Vv1rKWRLf7vmJUG799KQlMmwZlOp0J 5G9cA/d0tdQHAL1r89pVKlVIJbe10h9fuF+dszXUnqOmrNrPmTmytt1ofaKnxmoey5f0 aD9TB994BFlPpZdikS+8940WS7ljz3AfNOnoZOu/1lR/OgnafP6n+X3KLZLbw5Y7SjjK Ryfeg2YRT4M6st0t82IIMW3tm0WN1KKLcwo1+/mLi2EHrReFPhLPDfA5uMl5e/BR3wg3 e30qsHcNG/Kkm7uTfK+zvpJpFLdLSqA3AHjJq436yDA9NNiXdzp7WEP6gn4sQ0QmHUVH 8wSw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b="E4HV/MpM"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id m8si2267300pgp.322.2019.02.14.18.24.31; Thu, 14 Feb 2019 18:24:47 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b="E4HV/MpM"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729208AbfBNXlp (ORCPT + 99 others); Thu, 14 Feb 2019 18:41:45 -0500 Received: from mail.kernel.org ([198.145.29.99]:55788 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726178AbfBNXlo (ORCPT ); Thu, 14 Feb 2019 18:41:44 -0500 Received: from localhost (unknown [69.71.4.100]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id A171A20835; Thu, 14 Feb 2019 23:41:43 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1550187703; bh=HeY7w7Sqzynqib3CLLk9zdx89T71gOTkRPAr72jLGkQ=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=E4HV/MpMNhMbmAlHKrujpIf3MgEMq2KfYfa8yxNGrnEesDJkvPuMU6ofdBXdKZ4db EPylqvGbJbTQ2y1auiBfxi0oFwUTKonUSrYRvsZB2I/MZvhqNWf/AA3CCfhJjRgEQL grbS9DzQppz8nvTy3YWjBPCPgcbHqrW1EkQ5UMZ4= Date: Thu, 14 Feb 2019 17:41:42 -0600 From: Bjorn Helgaas To: honghui.zhang@mediatek.com Cc: lorenzo.pieralisi@arm.com, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, linux-pci@vger.kernel.org, linux-kernel@vger.kernel.org, ryder.lee@mediatek.com, matthias.bgg@gmail.com, youlin.pei@mediatek.com, poza@codeaurora.org, fred@fredlawl.com, rafael.j.wysocki@intel.com, jianjun.wang@mediatek.com Subject: Re: [RFC PATCH v2] PCI/portdrv: Support for subtractive decode bridge Message-ID: <20190214234142.GP96272@google.com> References: <1550121677-10474-1-git-send-email-honghui.zhang@mediatek.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1550121677-10474-1-git-send-email-honghui.zhang@mediatek.com> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Feb 14, 2019 at 01:21:17PM +0800, honghui.zhang@mediatek.com wrote: > From: Honghui Zhang > > The Class Code for subtractive decode PCI-to-PCI bridge is 060401h, > add one entry to make portdrv support this type bridge. > > Signed-off-by: Honghui Zhang Applied to pci/portdrv for v5.1, thanks! > --- > drivers/pci/pcie/portdrv_pci.c | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/drivers/pci/pcie/portdrv_pci.c b/drivers/pci/pcie/portdrv_pci.c > index 0acca35..c129f2f 100644 > --- a/drivers/pci/pcie/portdrv_pci.c > +++ b/drivers/pci/pcie/portdrv_pci.c > @@ -185,6 +185,8 @@ static void pcie_portdrv_err_resume(struct pci_dev *dev) > static const struct pci_device_id port_pci_ids[] = { { > /* handle any PCI-Express port */ > PCI_DEVICE_CLASS(((PCI_CLASS_BRIDGE_PCI << 8) | 0x00), ~0), > + /* subtractive decode PCI-to-PCI bridge, class type is 060401h */ > + PCI_DEVICE_CLASS(((PCI_CLASS_BRIDGE_PCI << 8) | 0x01), ~0), > }, { /* end: all zeroes */ } > }; > > -- > 2.6.4 > > > _______________________________________________ > linux-arm-kernel mailing list > linux-arm-kernel@lists.infradead.org > http://lists.infradead.org/mailman/listinfo/linux-arm-kernel