From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id EE16FC38A02 for ; Fri, 28 Oct 2022 11:19:45 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230033AbiJ1LTn (ORCPT ); Fri, 28 Oct 2022 07:19:43 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47156 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229819AbiJ1LTm (ORCPT ); Fri, 28 Oct 2022 07:19:42 -0400 Received: from mx2.zhaoxin.com (mx2.zhaoxin.com [203.110.167.99]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C3B1F10D0 for ; Fri, 28 Oct 2022 04:19:30 -0700 (PDT) X-ASG-Debug-ID: 1666955967-1eb14e7e615a670001-I98ny2 Received: from ZXSHMBX1.zhaoxin.com (ZXSHMBX1.zhaoxin.com [10.28.252.163]) by mx2.zhaoxin.com with ESMTP id FgnDhU8rPNPgZAr4 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO); Fri, 28 Oct 2022 19:19:27 +0800 (CST) X-Barracuda-Envelope-From: LeoLiu-oc@zhaoxin.com X-Barracuda-RBL-Trusted-Forwarder: 10.28.252.163 Received: from ZXBJMBX03.zhaoxin.com (10.29.252.7) by ZXSHMBX1.zhaoxin.com (10.28.252.163) 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:19:27 +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:19:25 +0800 X-Barracuda-RBL-Trusted-Forwarder: 10.28.252.163 Message-ID: X-Barracuda-RBL-Trusted-Forwarder: 10.32.56.18 Date: Fri, 28 Oct 2022 19:19:25 +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 0/5] Parse the PCIE AER structure and set to relevant registers To: Sathyanarayanan Kuppuswamy , , , , , , , , , , , , , X-ASG-Orig-Subj: Re: [PATCH 0/5] Parse the PCIE AER structure and set to relevant registers CC: , , References: <20221027031458.2855599-1-LeoLiu-oc@zhaoxin.com> From: LeoLiuoc In-Reply-To: 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: ZXSHMBX1.zhaoxin.com[10.28.252.163] X-Barracuda-Start-Time: 1666955967 X-Barracuda-Encrypted: ECDHE-RSA-AES128-GCM-SHA256 X-Barracuda-URL: https://10.28.252.36:4443/cgi-mod/mark.cgi X-Virus-Scanned: by bsmtpd at zhaoxin.com X-Barracuda-Scan-Msg-Size: 1763 X-Barracuda-BRTS-Status: 1 X-Barracuda-Bayes: INNOCENT GLOBAL 0.4979 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.101736 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- Precedence: bulk List-ID: X-Mailing-List: linux-acpi@vger.kernel.org 在 2022/10/27 12:17, Sathyanarayanan Kuppuswamy 写道: > > > On 10/26/22 8:14 PM, LeoLiu-oc wrote: >> From: leoliu-oc >> >> HEST PCIE AER error source information describes the Uncorrectable Error >> Severity, CorrectableError Mask and other aer register's value to write to the > > /s/CorrectableError/Correctable Error > /s/aer/AER Got it. I will modify this in next version patch set. Thanks leoliu-oc > >> bridge's Correctable Error Mask register. > > Can you add spec reference? > Please refer to Section 18.3.2 ACPI Error Source of acpi spec v6.3. Links to the online versions of ACPI Spec 6.3 is https://uefi.org/htmlspecs/ACPI_Spec_6_4_html/18_ACPI_Platform_Error_Interfaces/error-source-discovery.html#acpi-error-source. Section 18.3.2.4 describes PCI Express Root Port AER Structure, section 18.3.2.5 describes PCI Express Device AER Structure, section 18.3.2.6 describes PCI Express/PCI-X Bridge AER Structure. Thanks leoliu-oc >> >> leoliu-oc (5): >> ACPI/APEI: Add apei_hest_parse_aer() >> ACPI/APEI: remove static from apei_hest_parse() >> ACPI/PCI: Add AER bits #defines for PCIE/PCI-X bridges >> ACPI/PCI: Add pci_acpi_program_hest_aer_params() >> ACPI/PCI: config pcie devices's aer register >> >> drivers/acpi/apei/hest.c | 121 +++++++++++++++++++++++++++++++++- >> drivers/pci/pci-acpi.c | 92 ++++++++++++++++++++++++++ >> drivers/pci/pci.h | 5 ++ >> drivers/pci/probe.c | 1 + >> include/acpi/actbl1.h | 69 +++++++++++++++++++ >> include/acpi/apei.h | 9 +++ >> include/uapi/linux/pci_regs.h | 5 ++ >> 7 files changed, 300 insertions(+), 2 deletions(-) >> >