Received: by 2002:a05:6358:4e97:b0:b3:742d:4702 with SMTP id ce23csp1864893rwb; Fri, 19 Aug 2022 10:39:57 -0700 (PDT) X-Google-Smtp-Source: AA6agR7qXSy1m/4uulYxDJq7SL2aQYT4XHfWX3CgCo3QXIeBrah+wqojLoVocOml5b9TnZ84DXx1 X-Received: by 2002:a17:902:720c:b0:172:a1ff:8c21 with SMTP id ba12-20020a170902720c00b00172a1ff8c21mr8355222plb.159.1660930797235; Fri, 19 Aug 2022 10:39:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1660930797; cv=none; d=google.com; s=arc-20160816; b=NKBvdfKL0d93dJnPWpue0PXu5rhGoMrllGh8IGK5V1JB5628CmCxdVoqs/zYdwGscL p23PARgtvga+O1wnbzSuurrpuiEXC0B7einVl3rHduHlTXBy0nyLc7sYoh1q6yMHz2aE o3SXgYkXRLKybeGZKX1GS8a0La5vxEYNyggn+UskfHgwOYmReNXblusxY3X/T/S4gmIR 0SgF0/9sRoOycKAQEdG1RmhFXLo+x/mPgF2fFyps8uEVTliTi1PhR9cw1VTrYh8qaq9L Ju5Efx/7N8djaErxnqiV1BVP1L7QGr+oUoDhCmajAezOvJL4s4Lr8KcEyaVgztc+XaG9 uJ8w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=6vRsVwGyeVUh12UfjlW24pnqpXtPskQS16/UapPWBpc=; b=NOfdD0rIR8oVtmLpsoZXRrMC0j17L788YzsVPET14gJ3jWmB6ZIYbQhiWEADMx3mJf h4Es1CDluZJHJ4zdzB+p1Ln9ExH+WyqJOb7U9zXiMtnm7x9kukrHgb2v1SIV03GhABdt GN58M7zEy4xi/mvPsYgOZ/7W7rSTCa1HUpbO7oJ6sdFAdc9DyAh1FjXrowSr2a2uTyg4 8sdeldDviKdKY7kaO59M0mrfzvERgnjZICBmm7tcipf/Vq/STRa6qROclAQgblfSfkfE YvtzOF7K3uCvhCZ9wMiYz0YH/krGvm/uvOjhQo1reitAgLVRexoB27QC6MKpEVPh7+5q PtnQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=hdk3cUYG; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id b128-20020a621b86000000b005351ff87f27si237817pfb.270.2022.08.19.10.39.46; Fri, 19 Aug 2022 10:39:57 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=hdk3cUYG; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1350460AbiHSPwQ (ORCPT + 99 others); Fri, 19 Aug 2022 11:52:16 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52118 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1350555AbiHSPu7 (ORCPT ); Fri, 19 Aug 2022 11:50:59 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9B5EC13CCD; Fri, 19 Aug 2022 08:48:31 -0700 (PDT) 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 dfw.source.kernel.org (Postfix) with ESMTPS id 1BB1261701; Fri, 19 Aug 2022 15:48:29 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 25E06C433D6; Fri, 19 Aug 2022 15:48:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1660924108; bh=7oHLfdxUfI49xPBE6W9NwDX0o2JYr7uHVpkexMqKnlc=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=hdk3cUYGm2XjkcvmgbufzEGLabTB2W/kXcRcDdJWh0P4m/AENf6jN/sceRrJRlfCe HuF2Zfk4uDR2WoZJVwq0N0mOtFrzqXbao6NULjCKr0pPYoDb2AcHHneKM85IOohna9 fEosnay63lj0deRh1ajtvtZz7I3eShQkndb/IW/I= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, =?UTF-8?q?Pali=20Roh=C3=A1r?= , Bjorn Helgaas , Naresh Kamboju , Guenter Roeck Subject: [PATCH 5.10 059/545] PCI: Add defines for normal and subtractive PCI bridges Date: Fri, 19 Aug 2022 17:37:09 +0200 Message-Id: <20220819153831.870732188@linuxfoundation.org> X-Mailer: git-send-email 2.37.2 In-Reply-To: <20220819153829.135562864@linuxfoundation.org> References: <20220819153829.135562864@linuxfoundation.org> User-Agent: quilt/0.67 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham 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 From: Pali Rohár commit 904b10fb189cc15376e9bfce1ef0282e68b0b004 upstream. Add these PCI class codes to pci_ids.h: PCI_CLASS_BRIDGE_PCI_NORMAL PCI_CLASS_BRIDGE_PCI_SUBTRACTIVE Use these defines in all kernel code for describing PCI class codes for normal and subtractive PCI bridges. [bhelgaas: similar change in pci-mvebu.c] Link: https://lore.kernel.org/r/20220214114109.26809-1-pali@kernel.org Signed-off-by: Pali Rohár Signed-off-by: Bjorn Helgaas Cc: Guenter Roeck a Cc: Naresh Kamboju [ gregkh - take only the pci_ids.h portion for stable backports ] Signed-off-by: Greg Kroah-Hartman --- include/linux/pci_ids.h | 2 ++ 1 file changed, 2 insertions(+) --- a/include/linux/pci_ids.h +++ b/include/linux/pci_ids.h @@ -59,6 +59,8 @@ #define PCI_CLASS_BRIDGE_EISA 0x0602 #define PCI_CLASS_BRIDGE_MC 0x0603 #define PCI_CLASS_BRIDGE_PCI 0x0604 +#define PCI_CLASS_BRIDGE_PCI_NORMAL 0x060400 +#define PCI_CLASS_BRIDGE_PCI_SUBTRACTIVE 0x060401 #define PCI_CLASS_BRIDGE_PCMCIA 0x0605 #define PCI_CLASS_BRIDGE_NUBUS 0x0606 #define PCI_CLASS_BRIDGE_CARDBUS 0x0607