Received: by 2002:a05:7412:b101:b0:e2:908c:2ebd with SMTP id az1csp2467287rdb; Wed, 15 Nov 2023 01:16:58 -0800 (PST) X-Google-Smtp-Source: AGHT+IEw6ns1mA6LQTzAu3KrdHoEt2d4bcA4tg26ED14ACz8hZXmD95+oAKWwQuV4VctBPBgaLFa X-Received: by 2002:a17:902:c081:b0:1cc:31c4:377b with SMTP id j1-20020a170902c08100b001cc31c4377bmr4417816pld.63.1700039818269; Wed, 15 Nov 2023 01:16:58 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1700039818; cv=none; d=google.com; s=arc-20160816; b=0TDN6kwgWAJpNADh1vkVwQ4ekxLKoVqx1f/4rw9KAfHu5OYKqyvIta+94Gn/5PRlc8 MAcOscVXpLFu/wGaJX6QVYasiu/oJATJgMin5aR0mTOtO2MmE4ILwsoQBaftaiCwSsWX fLbwmZHIUiSzCIHR4KTQ8gVQNhRTGyL5zRJw9JRJBEapNkb0bUQCMTkJn0sxHCEVRV7j JfwV4daxyMknAcelnlqXA8WeaTd7/lfoKjlzzPJNOubXJ5cBfg3wHqI+x2BK2nSe11mv lL7XwQ5dvnAXb+x4je2puFQJZzLXZQYeCXhihZw5RRBIm4+0QuDbGeUhHPVcpt3xcyxT hcmA== 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 :references:in-reply-to:message-id:date:subject:cc:to:from; bh=rAAUru4xJeDaXFJqITZHfmwwABwwSSza3JrTc2S0zMA=; fh=AQq8bW3T/xFrEqbKe6eM28oZsPLDiK/R3Up9mo2iLds=; b=xC7GIGwmQ+YaL4mSNazpp301kC79pum9xLjJLjRGvU1IvdZXNGz7IsxxJ7z6Ini7Tl bZSLyp7jnscnuJjyFXKpE6xU5gYrgnS7srq24jIJlBUCSmv7JM0I0iIqjNQaDBoqaVBE Oi3KTz4XceX8AsRd/NCVXraOwZfnUg5NtxDnOWZ+ccW9rVNgnShPnbY0WyOvF/8g1CQv Zndal0gURAZOXt/oMCcI+wMXiqy82XyPUA40dgLfQjS5LuM3t5RlftptYbW1lG8XcGNo lr67pOLpnz89ciCXbSmWwMUdgVLFYyEQCcB6Agr45owfKz9pKnRWmZgOFnNXBY31qvXl qhWg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from fry.vger.email (fry.vger.email. [2620:137:e000::3:8]) by mx.google.com with ESMTPS id v3-20020a170902b7c300b001cc55215729si9431998plz.363.2023.11.15.01.16.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 15 Nov 2023 01:16:58 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 as permitted sender) client-ip=2620:137:e000::3:8; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by fry.vger.email (Postfix) with ESMTP id 732E6806137B; Wed, 15 Nov 2023 01:16:46 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at fry.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234684AbjKOJQ1 (ORCPT + 99 others); Wed, 15 Nov 2023 04:16:27 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52174 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234651AbjKOJQ0 (ORCPT ); Wed, 15 Nov 2023 04:16:26 -0500 Received: from mx1.zhaoxin.com (MX1.ZHAOXIN.COM [210.0.225.12]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0EDEAFE for ; Wed, 15 Nov 2023 01:16:23 -0800 (PST) X-ASG-Debug-ID: 1700039779-086e236ff01c390001-xx1T2L Received: from ZXSHMBX3.zhaoxin.com (ZXSHMBX3.zhaoxin.com [10.28.252.165]) by mx1.zhaoxin.com with ESMTP id adf1zcuxyAIICG7K (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO); Wed, 15 Nov 2023 17:16:19 +0800 (CST) X-Barracuda-Envelope-From: LeoLiu-oc@zhaoxin.com X-Barracuda-RBL-Trusted-Forwarder: 10.28.252.165 Received: from ZXBJMBX03.zhaoxin.com (10.29.252.7) by ZXSHMBX3.zhaoxin.com (10.28.252.165) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.27; Wed, 15 Nov 2023 17:16:18 +0800 Received: from xin.lan (10.32.64.1) by ZXBJMBX03.zhaoxin.com (10.29.252.7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.27; Wed, 15 Nov 2023 17:16:16 +0800 X-Barracuda-RBL-Trusted-Forwarder: 10.28.252.165 From: LeoLiu-oc X-Barracuda-RBL-Trusted-Forwarder: 10.29.252.7 To: , , , , , , , , , , CC: , , , , leoliu-oc Subject: [PATCH 2/3] PCI: Add AER bits #defines for PCIe to PCI/PCI-X Bridge Date: Wed, 15 Nov 2023 17:16:11 +0800 X-ASG-Orig-Subj: [PATCH 2/3] PCI: Add AER bits #defines for PCIe to PCI/PCI-X Bridge Message-ID: <20231115091612.580685-3-LeoLiu-oc@zhaoxin.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20231115091612.580685-1-LeoLiu-oc@zhaoxin.com> References: <20231115091612.580685-1-LeoLiu-oc@zhaoxin.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7BIT Content-Type: text/plain; charset=US-ASCII X-Originating-IP: [10.32.64.1] X-ClientProxiedBy: zxbjmbx1.zhaoxin.com (10.29.252.163) To ZXBJMBX03.zhaoxin.com (10.29.252.7) X-Barracuda-Connect: ZXSHMBX3.zhaoxin.com[10.28.252.165] X-Barracuda-Start-Time: 1700039779 X-Barracuda-Encrypted: ECDHE-RSA-AES128-GCM-SHA256 X-Barracuda-URL: https://10.28.252.35:4443/cgi-mod/mark.cgi X-Virus-Scanned: by bsmtpd at zhaoxin.com X-Barracuda-Scan-Msg-Size: 1192 X-Barracuda-BRTS-Status: 0 X-Barracuda-Bayes: INNOCENT GLOBAL 0.0000 1.0000 -2.0210 X-Barracuda-Spam-Score: -2.02 X-Barracuda-Spam-Status: No, SCORE=-2.02 using global scores of TAG_LEVEL=1000.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=9.0 tests= X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.3.116772 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- X-Spam-Status: No, score=-0.8 required=5.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,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 fry.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (fry.vger.email [0.0.0.0]); Wed, 15 Nov 2023 01:16:47 -0800 (PST) From: leoliu-oc Define secondary uncorrectable error mask register, secondary uncorrectable error severity register and secondary error capabilities and control register bits in AER capability for PCIe to PCI/PCI-X Bridge. Please refer to PCIe to PCI/PCI-X Bridge Specification, sec 5.2.3.2, 5.2.3.3 and 5.2.3.4. Signed-off-by: leoliu-oc --- include/uapi/linux/pci_regs.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/include/uapi/linux/pci_regs.h b/include/uapi/linux/pci_regs.h index a39193213ff2..987c513192e8 100644 --- a/include/uapi/linux/pci_regs.h +++ b/include/uapi/linux/pci_regs.h @@ -802,6 +802,9 @@ #define PCI_ERR_ROOT_FATAL_RCV 0x00000040 /* Fatal Received */ #define PCI_ERR_ROOT_AER_IRQ 0xf8000000 /* Advanced Error Interrupt Message Number */ #define PCI_ERR_ROOT_ERR_SRC 0x34 /* Error Source Identification */ +#define PCI_ERR_UNCOR_MASK2 0x30 /* PCIe to PCI/PCI-X Bridge */ +#define PCI_ERR_UNCOR_SEVER2 0x34 /* PCIe to PCI/PCI-X Bridge */ +#define PCI_ERR_CAP2 0x38 /* PCIe to PCI/PCI-X Bridge */ /* Virtual Channel */ #define PCI_VC_PORT_CAP1 0x04 -- 2.34.1