Received: by 2002:a05:6358:1087:b0:cb:c9d3:cd90 with SMTP id j7csp2281130rwi; Fri, 28 Oct 2022 05:22:26 -0700 (PDT) X-Google-Smtp-Source: AMsMyM5ss14EcaeLd4qo6cjkgtIQrj0h6pznCkeawB02zV3pDDL2kEAxaHGV+cFbXE8d4JMsNWsB X-Received: by 2002:a05:6402:5507:b0:452:183f:16d1 with SMTP id fi7-20020a056402550700b00452183f16d1mr51640233edb.96.1666959745747; Fri, 28 Oct 2022 05:22:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666959745; cv=none; d=google.com; s=arc-20160816; b=F1OoqtFrp0ostgmskkdG/o2MxMWCng1XQ8l/ncd1OOuz/Y1R2WQ0uoxNB5s4dsFScu hRuGVU2wc2N+AsJYDF5Lmp0UbseLhmIqNHrCyfSRHXxo3tH7iXnJVSUCUHNFnJFPwMzk cV7UflYBkbI4lULT97m+Rat2ZPC1nmXVpLFnl0RYsUz2rg7oD03Kl/O3Naj4VMnPTOfp rdLtv8Ie4n+12XzZto39cwZqVvV4myiMabAadg19eK/LGDNdoKiVm9pVmyghKeESuZLQ g3DlFleNf6mXLcuwLnjV2/ZcYvnB690iDlLFGxILj9IT1zVTI1+u2vsOjWSAEYWlRzCK o4Bw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:subject:user-agent:mime-version:date:message-id; bh=acVCgUPkGShpIASjd9JaNUyjkOYw8JlDtUYEU1wsUqM=; b=p/nlbDiWhB+Hbb7BASRQHCXJ0q3waoHwAKH/qYdQnKXAJr4WRSCuR/CdJR8tpTEqF2 t7Wu6j/5yAmFO34MUtcgN7RMy2ST9oz/sc1qV/POCDJ3g2kLHsgQIXFW12qCZswvAi1k 4i3dTGkzLGkMKdCk8LM56rC/an/Y9wLT7Z0RQA5zFSLAThSMgENAke7DHNl0NcNm68IR qwqC63QCRgXp74fFzWdA0yK73Ipf7GDFtyErOIyfWgtSEr/9K82GnMNg5Lg6EiW5oVHK ck86CDHtLijQtepRQLg0loBhl1W+aR2dwn8OYc7jpBpkp/s3nQJdJWGXtqfzrcylw7lR 9cEA== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id f24-20020a50a6d8000000b0045bd55b122fsi1611767edc.57.2022.10.28.05.22.00; Fri, 28 Oct 2022 05:22:25 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229761AbiJ1L5N (ORCPT + 99 others); Fri, 28 Oct 2022 07:57:13 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58856 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230146AbiJ1L5E (ORCPT ); Fri, 28 Oct 2022 07:57:04 -0400 Received: from mx1.zhaoxin.com (MX1.ZHAOXIN.COM [210.0.225.12]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6ABCA1D2F60 for ; Fri, 28 Oct 2022 04:57:01 -0700 (PDT) X-ASG-Debug-ID: 1666958216-086e23532754130001-xx1T2L Received: from ZXSHMBX3.zhaoxin.com (ZXSHMBX3.zhaoxin.com [10.28.252.165]) by mx1.zhaoxin.com with ESMTP id xPvKL4IXIYgT3cjC (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO); Fri, 28 Oct 2022 19:56:57 +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.12; Fri, 28 Oct 2022 19:56:56 +0800 Received: from [10.32.56.18] (125.76.214.122) 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.12; Fri, 28 Oct 2022 19:56:54 +0800 X-Barracuda-RBL-Trusted-Forwarder: 10.28.252.165 Message-ID: <8472b248-11ac-2148-e39f-12647044332b@zhaoxin.com> X-Barracuda-RBL-Trusted-Forwarder: 10.32.56.18 Date: Fri, 28 Oct 2022 19:56:43 +0800 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.4.0 Subject: Re: [PATCH 3/5] ACPI/PCI: Add AER bits #defines for PCIE/PCI-X bridges To: Bjorn Helgaas X-ASG-Orig-Subj: Re: [PATCH 3/5] ACPI/PCI: Add AER bits #defines for PCIE/PCI-X bridges CC: , , , , , , , , , , , , , , , References: <20221027215644.GA844326@bhelgaas> From: LeoLiuoc In-Reply-To: <20221027215644.GA844326@bhelgaas> Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 8bit X-Originating-IP: [125.76.214.122] X-ClientProxiedBy: ZXSHCAS2.zhaoxin.com (10.28.252.162) To ZXBJMBX03.zhaoxin.com (10.29.252.7) X-Barracuda-Connect: ZXSHMBX3.zhaoxin.com[10.28.252.165] X-Barracuda-Start-Time: 1666958217 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: 1390 X-Barracuda-BRTS-Status: 1 X-Barracuda-Bayes: INNOCENT GLOBAL 0.4999 1.0000 0.0000 X-Barracuda-Spam-Score: 0.00 X-Barracuda-Spam-Status: No, SCORE=0.00 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.101737 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,NICE_REPLY_A, SPF_HELO_NONE,SPF_PASS 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 在 2022/10/28 5:56, Bjorn Helgaas 写道: > On Thu, Oct 27, 2022 at 11:15:54AM +0800, LeoLiu-oc wrote: >> From: leoliu-oc >> >> Define PCI Express Advanced Error Reporting Extended Capabilities bits. >> >> Signed-off-by: leoliu-oc >> --- >> include/uapi/linux/pci_regs.h | 5 +++++ >> 1 file changed, 5 insertions(+) >> >> diff --git a/include/uapi/linux/pci_regs.h b/include/uapi/linux/pci_regs.h >> index 57b8e2ffb1dd..3662106fd8dc 100644 >> --- a/include/uapi/linux/pci_regs.h >> +++ b/include/uapi/linux/pci_regs.h >> @@ -799,6 +799,11 @@ >> #define PCI_ERR_ROOT_AER_IRQ 0xf8000000 /* Advanced Error Interrupt Message Number */ >> #define PCI_ERR_ROOT_ERR_SRC 0x34 /* Error Source Identification */ >> >> +/* PCI Express Advanced Error Reporting Extended Capabilities for Bridges */ >> +#define PCI_ERR_UNCOR_MASK2 0x30 /* Secondary Uncorrectable Error Mask */ >> +#define PCI_ERR_UNCOR_SEVER2 0x34 /* Secondary Uncorrectable Error Severit */ >> +#define PCI_ERR_CAP2 0x38 /* Secondary Advanced Error Capabilities */ > > Can you include a spec reference for these? I'm looking at PCIe r6.0, > sec 7.8.4, and I don't see anything I can match up with these. > > Bjorn Please refer to PCI Express to PCI/PCI-X Bridge Specification, sec 5.2.3.2, 5.2.3.3 and 5.2.3.4. Thanks leoliu-oc