Received: by 2002:a05:6a10:7420:0:0:0:0 with SMTP id hk32csp793045pxb; Thu, 17 Feb 2022 15:05:32 -0800 (PST) X-Google-Smtp-Source: ABdhPJzvrQuEt7cgDUbcrn8CFODgP//YpqhDcFR9n7YhutFzurk7+4ccn0fugUhoYbJ91NrC3v1V X-Received: by 2002:a17:90b:4a92:b0:1b8:a3c5:1afe with SMTP id lp18-20020a17090b4a9200b001b8a3c51afemr9650436pjb.69.1645139132380; Thu, 17 Feb 2022 15:05:32 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1645139132; cv=none; d=google.com; s=arc-20160816; b=bPhLdbhGYIOenKDPObhVJ4snQE9XPRY/JVVOE4WCSqaLzmEdfjJv0EbvEkG0Ut+ybt 1bQkpll0ypxxO/XmKVsa1vPPIuc2Gs4QORPrAO1q58BIB0zrU7JYotFUtO+ac+Ym7CmU dUPl+XOskf5+foZoVuhd2J29wEwYiSwwCfCZo9bWofkcE7fINNzsf43SAPPDhla1c1bt j3VoA9nnGu6isPCRgCG63ymQ98V8m8kovZJCkM24F8INnXOiXmWNuzrWQvbz4xBpteyQ +cEdMlryUnOCcbmPnwHcQBXTXo9omS99h8MC/FO9/tXnR3nM/41XhjyxgB/CI6pBkU1r lSXw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-transfer-encoding :content-disposition:mime-version:message-id:subject:cc:to:from:date :dkim-signature; bh=y4F3/xlGdfKP9rKu1Lr0LaSmOZLHtHjEwekZL/MhssA=; b=YOTFGM0jPDEYKb1htBga7D1sY1XU7mnwbhxvBOlHVAev0WBpw5o7Bs7CycC5ljXxiB Sk1npbjjjWyqWpnRTX7RoNev+sPlVZEV+4c5oQL7ekR8xZJ0QcQFSSPSW8ZghZ3S1x6g muJ+LI2BwTxRv4exH5H8lhQpyTPi9DUktK78fXospmzm3cHcqV+ft3eK7ZjV7g0JR83K Iz9egfVSNa6cKUAvyCB6tQ1YBfjaDemWJq0Y6FjjJXTHPxegcyMwUsihiuYFZeuIvWoZ AzKu7wNZ2Eb1W/KqiCT4WrbcG58Sb2WAxbRP0ZnPcQwQntkj1MLQdJHZtxww3bOWbMRt Y45w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=a3BHLJEL; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 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 lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id e123si9619048pgc.862.2022.02.17.15.05.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 17 Feb 2022 15:05:32 -0800 (PST) Received-SPF: softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=a3BHLJEL; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (out1.vger.email [IPv6:2620:137:e000::1:20]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id CBA852B6D4A; Thu, 17 Feb 2022 15:01:02 -0800 (PST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237424AbiBQVL5 (ORCPT + 99 others); Thu, 17 Feb 2022 16:11:57 -0500 Received: from mxb-00190b01.gslb.pphosted.com ([23.128.96.19]:43632 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231852AbiBQVLz (ORCPT ); Thu, 17 Feb 2022 16:11:55 -0500 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3D9A310FF4; Thu, 17 Feb 2022 13:11:38 -0800 (PST) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 4BBB9B824C4; Thu, 17 Feb 2022 21:11:37 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id BBEAEC340E8; Thu, 17 Feb 2022 21:11:35 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1645132296; bh=CzdKQukUPaQ8IcMbLnou9OTW4H72Tf7SKjxZcmHGj9E=; h=Date:From:To:Cc:Subject:In-Reply-To:From; b=a3BHLJELWH/c1d0oC/ubykhYkMmGYhinD4mFYBoruFJ5Yz7VJcf++0Jf9P8gvrUSt cpWHAB/yNlPC0EBatdEtekOEW9BLmahyBElhmjqhnbsTPaAhZJyFIZOs1u2CmTGBIS o78u91m/r3NNqpEqrIiGfTMUKLDtIALkH8ps6oGMIDOpD90PzZjA50nZ0ct97sWtgT dDkpHwu3RQYN8UcvjhYbE0SL1HqA5zeX+pMFWaduOSsKZm/K9JE1+3FWu+/IrZ//fW UaDVMNGNOBswwhUHwKHGxIQWNzMOXA7gV4uSV5RfSO3u4uHemKwSJJVRieCMn0g2dL Fc7KrPYZWFyAQ== Date: Thu, 17 Feb 2022 15:11:34 -0600 From: Bjorn Helgaas To: Pali =?iso-8859-1?Q?Roh=E1r?= Cc: Bjorn Helgaas , Lorenzo Pieralisi , Rob Herring , Krzysztof =?utf-8?Q?Wilczy=C5=84ski?= , Ray Jui , Scott Branden , bcm-kernel-feedback-list@broadcom.com, linux-pci@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [RESEND PATCH v2 1/2] PCI: Add defines for normal and subtractive PCI bridges Message-ID: <20220217211134.GA305475@bhelgaas> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20220214114109.26809-1-pali@kernel.org> X-Spam-Status: No, score=-2.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,MAILING_LIST_MULTI, RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Feb 14, 2022 at 12:41:08PM +0100, Pali Roh?r wrote: > Add following two new PCI class codes defines into pci_ids.h include file: > > PCI_CLASS_BRIDGE_PCI_NORMAL > PCI_CLASS_BRIDGE_PCI_SUBTRACTIVE > > And use these defines in all kernel code for describing PCI class codes for > normal and subtractive PCI bridges. Looks good; is this another case? drivers/pci/controller/pci-mvebu.c: dev_rev |= (PCI_CLASS_BRIDGE_PCI << 8) << 8; > static void quirk_sb1250_ht(struct pci_dev *dev) > { > - dev->class = PCI_CLASS_BRIDGE_PCI << 8; > + dev->class = PCI_CLASS_BRIDGE_PCI_NORMAL;