Received: by 2002:a05:6358:5282:b0:b5:90e7:25cb with SMTP id g2csp3503620rwa; Tue, 23 Aug 2022 05:59:09 -0700 (PDT) X-Google-Smtp-Source: AA6agR4bxkxvIsYqdZky7jNfdJ9nBOsAgTE7oDvpxiXz6hKAOyXElwFSHBMXBzaS38iDzgM2Mlk0 X-Received: by 2002:a17:90a:930b:b0:1ed:5441:1fff with SMTP id p11-20020a17090a930b00b001ed54411fffmr3236124pjo.238.1661259549487; Tue, 23 Aug 2022 05:59:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1661259549; cv=none; d=google.com; s=arc-20160816; b=KnmCLOA63/enouE3X6Nwj3BHjzxIU0CvP+VMLVLHSpi1STe3dey88GOzciIoTNGoDG Ax6BfcEOisThm/WHfxZShUE2+2H833vUfQcxyNqBgRZXkQTB4wEdbW/EAGh5anLNQ39G FBO9AZ7NYPy5Be09tKMzzht3oTOf9k20966THQY2rlnJTcA9pN0IWP3WimCdXh9eEU7r X8eBNAQGLlMgoOw5r3QJfRr3NFU6nRYOl0e/arE7j900FRZNFw4rGLTX9YerkKjGWoyM MK87DqD2hkSQjInZEkdVboQlnGllXD6jcJRqoE1x8Gq83qepSulzAWJR5u0TCixlxApA hfdQ== 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=cZLlSw1ld5GpKJHPauphBvCsvCAa3gIL1XQkAQBnFtpT0vBh5T1TWvZJOMW3ZMJxAZ 0DMHkmKTjvTzpKEvUefoOPZm32nU4+75bjedgplXLb5NJKKrXCSOZ1Fas2t+B51ezvxJ pUZ91p7KjiJHW+TAOrW07DkEd+nsQXuLctDlv4WTKauFwOQEhTXrY26bWYEjbQgyyuTQ ue4qi1YXvkhGEFwdob89ofE5fApDCZy3OBja6X7XY3w54S2GSTW55tzXjvdSa62+MXSx xuVcl4u2/VyWDOvLCt8GGqBxbnKITjU3NnTSsx9o/n+v7wSen6xq69XWvUuWCOVd3h7d gbzQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=uv550xjw; 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 8-20020a630c48000000b004128ed0ebecsi15603743pgm.568.2022.08.23.05.58.58; Tue, 23 Aug 2022 05:59:09 -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=uv550xjw; 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 S1351650AbiHWLLm (ORCPT + 99 others); Tue, 23 Aug 2022 07:11:42 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48696 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1357202AbiHWLJ4 (ORCPT ); Tue, 23 Aug 2022 07:09:56 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AB33C883E2; Tue, 23 Aug 2022 02:16:57 -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 AEB6260F54; Tue, 23 Aug 2022 09:16:56 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 84A5DC433C1; Tue, 23 Aug 2022 09:16:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1661246216; bh=7oHLfdxUfI49xPBE6W9NwDX0o2JYr7uHVpkexMqKnlc=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=uv550xjw1xl34Or9BqDnuzSSQjkpNFevYssQHBrqrAgeqYB0kcxAXXB35At4bA8pK DwjD4XVIGCdkir/ufumPM7/+tnGFG11/cTXEyEaBiMvvGfFFd1YCFGVahsCpSa3syX dijR9vYDlDLstIltvEtCqsrWD2mXfdbTAXTyEj0I= 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.4 039/389] PCI: Add defines for normal and subtractive PCI bridges Date: Tue, 23 Aug 2022 10:21:57 +0200 Message-Id: <20220823080117.261150337@linuxfoundation.org> X-Mailer: git-send-email 2.37.2 In-Reply-To: <20220823080115.331990024@linuxfoundation.org> References: <20220823080115.331990024@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