Received: by 2002:a05:6358:5282:b0:b5:90e7:25cb with SMTP id g2csp3469762rwa; Tue, 23 Aug 2022 05:24:24 -0700 (PDT) X-Google-Smtp-Source: AA6agR7cgHNO+7tl+/EbaY1IfFN8RnfOc47XFfEJYNKXRVrq7JLforzejl1BkP4G6OwewmvQAH1n X-Received: by 2002:a17:902:b086:b0:173:f3f:4a85 with SMTP id p6-20020a170902b08600b001730f3f4a85mr166704plr.116.1661257464210; Tue, 23 Aug 2022 05:24:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1661257464; cv=none; d=google.com; s=arc-20160816; b=RJX0jWVIrLmT+MH17wxcLGAt0Tq/6BE7b4SAG4AU4T/UbohHe6pXW3l2CV2BrW5iEb TFS8iCKFhSPDGrOe2wbZVeYR97182xhyDkPFRRf0TdjXMty2DqMowGN3bo8xYT78vvRa pYFoA1mcPAkgX/KMabuEGK7SftUj1Ib0cwpHIKAlaIVTMxw7mgS4rgEIW5vcWslPsT5s fSQAcFG9ublxw3dUeFQQtvbVqw0YI6LOAg3wpwuUYuCJeCudO7Dkxu31cONQesAcGxr4 A+t+S6JFG2CUwKN69h4krbbHrSq9kiLqmF/EUGX5dkl4SBDN+veQi74Clw+qOpyTMgdd 0BPA== 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=dbO4kJiPSw1jM6L9JittIV3d+Q4zlCuR0pnv127EAh5yTEvfs8TuM6W5Pgc852pIRj ifw/LhloTgNS5DlmEMuGPVGjIQhsdMhtqc7KWd+NN9wOjan5HteE3QfoR7ODXTLZpohi dp4BaigCod9irUTH0lP7qXuGs0jGB6R1BsjRREXTo7Kf3uxTyEZTnQxfdWIccSN67oUb ckG4HMeKmDHhc33HFbRPAy0lgUo3uebvULmlFOuOv/Fb0HMd6o0bQ040oRDhbwIf3zjQ vDMlWLd4LbQrgEb0w1VMNpU0XL+2WLGMzPtHsnaBbtRLAXuq3LnJuINOnpZn5l6mHZBi nGsQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=w7x15z2x; 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 c1-20020a170902d48100b0016f1ca795f5si9420167plg.53.2022.08.23.05.24.13; Tue, 23 Aug 2022 05:24:24 -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=w7x15z2x; 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 S1354991AbiHWKdv (ORCPT + 99 others); Tue, 23 Aug 2022 06:33:51 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60982 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1353215AbiHWKRd (ORCPT ); Tue, 23 Aug 2022 06:17:33 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C3A5F80E8C; Tue, 23 Aug 2022 02:01:37 -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 ams.source.kernel.org (Postfix) with ESMTPS id 83E99B81C3B; Tue, 23 Aug 2022 09:01:36 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id CF8CEC433C1; Tue, 23 Aug 2022 09:01:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1661245295; bh=7oHLfdxUfI49xPBE6W9NwDX0o2JYr7uHVpkexMqKnlc=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=w7x15z2xQ9JQ3+KmuASdbpkHgZ8HynBIT0S/8OK4oUdEOUFUwezmBwNzo/yFNnEMz Qg9LLrFSjSoRiC5GpI4reNVc90baMYtf/coUa663584EDqFVYnF2Zd5F0ZbMpLtO7Y jCsfK3PJSZx4o2cyNmnL+HjX43iY8hZ2dQpg1PTs= 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 4.19 032/287] PCI: Add defines for normal and subtractive PCI bridges Date: Tue, 23 Aug 2022 10:23:21 +0200 Message-Id: <20220823080101.355499862@linuxfoundation.org> X-Mailer: git-send-email 2.37.2 In-Reply-To: <20220823080100.268827165@linuxfoundation.org> References: <20220823080100.268827165@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