Received: by 2002:a05:6358:1087:b0:cb:c9d3:cd90 with SMTP id j7csp2223089rwi; Fri, 28 Oct 2022 04:42:07 -0700 (PDT) X-Google-Smtp-Source: AMsMyM65jLLhEwb26IJnw2jQBNhrsM7qyNgsO8QqP/vICb7B0L2GTzgFQNPL0JPi1KkNwaz41Czy X-Received: by 2002:a17:907:75c6:b0:79c:d3f4:4a14 with SMTP id jl6-20020a17090775c600b0079cd3f44a14mr33484575ejc.61.1666957327182; Fri, 28 Oct 2022 04:42:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666957327; cv=none; d=google.com; s=arc-20160816; b=hIlHt5g4U+u3W8sSIq3yINUvvHIRn8S4fRo7HkHGzoUfYmj9074GgnnP/aahvFD2kX GDjmnpxbVH9tyJXY98nECPVBVnHBoizZKjsHSioqeXt1GFzjiABLKeGAhI5lOQaOF08F l1BT9bPsaI4GfrkcP4C4IQrG3Dr4FtB6yqURQP2TvNCPrGaxy/KNJROA3GeGknVcRu0j 2blzXOYu5b5O8RPFrQQxvPB+gKUU5I+vjbhg1VZdPX94rw4BZ+TXjteHOwM1AFO5RrBq fOvZraRNtjhD6mYQnQLQs6lfblMoYJCuKz7WBJVBQJw9b4E8vDrBXv8cfWRvFek9DKLa 43Hw== 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=yeQpxfc/0FsYFuy50cmbzw6Vo7VPBlaF2H1b0SXLaYo=; b=CMN0k4Mc0Zozx8CYtSSVFj+WNqRr8qXk79wHqSI849cOPKK+KL6MRnrbWRDEHKgDKB pWDEz0PrqgSmiZ2xhVwxybe/O58tK8dATij0WzZ9Yj4Z7/544+QsK+pmP0PtInej8QC3 lb86W6poOUZXUqPv1dptfYinxaWpGBhbN8Fi9gJa3YRIlltXf+4N1qbg2UobjKv9oeSh GuALX6BtJUrIZBLUv0A+JwgjxlXnGoddHThdEcoEIZfQ9yxiPfOGj5A7CKAEAx2dvo6t CMHs58YRHmtytSI68KRIo6lHs6CqGnfWlOIq7XNsIs20Sxnhuq+u87VB73tY/DDs9TWZ BNLg== 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 w4-20020a056402268400b0045c97ee2b01si4205384edd.616.2022.10.28.04.41.41; Fri, 28 Oct 2022 04:42:07 -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 S229866AbiJ1LXl (ORCPT + 99 others); Fri, 28 Oct 2022 07:23:41 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56074 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229549AbiJ1LXj (ORCPT ); Fri, 28 Oct 2022 07:23:39 -0400 Received: from mx2.zhaoxin.com (mx2.zhaoxin.com [203.110.167.99]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 731761B157B for ; Fri, 28 Oct 2022 04:23:38 -0700 (PDT) X-ASG-Debug-ID: 1666956215-1eb14e7e625a6e0001-xx1T2L Received: from ZXSHMBX1.zhaoxin.com (ZXSHMBX1.zhaoxin.com [10.28.252.163]) by mx2.zhaoxin.com with ESMTP id COoKn7aXrtQcQk2X (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO); Fri, 28 Oct 2022 19:23:35 +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:23:35 +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:23:33 +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:23:33 +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: Bjorn Helgaas X-ASG-Orig-Subj: Re: [PATCH 0/5] Parse the PCIE AER structure and set to relevant registers CC: , , , , , , , , , , , , , , , References: <20221027220931.GA843829@bhelgaas> From: LeoLiuoc In-Reply-To: <20221027220931.GA843829@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: ZXSHMBX1.zhaoxin.com[10.28.252.163] X-Barracuda-Start-Time: 1666956215 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: 2173 X-Barracuda-BRTS-Status: 1 X-Barracuda-Bayes: INNOCENT GLOBAL 0.4963 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 ---- ---------------------- -------------------------------------------------- X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,NICE_REPLY_A, SPF_HELO_NONE,SPF_PASS 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 在 2022/10/28 6:09, Bjorn Helgaas 写道: > On Thu, Oct 27, 2022 at 11:14:58AM +0800, 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 >> bridge's Correctable Error Mask register. > > I guess the point is to extract register values from HEST PCI Express > AER structures (ACPI r6.5, sec 18.3.2.4, etc.) and program them into > AER Capabilities? > Yes, the purpose of the patch sets is to extract register values from HEST PCI Express AER structures and program them into AER Capabilities 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 > > If/when you repost this, it would be nice if the patches ([1/5], > [2/5], etc) were responses to the cover letter ([0/5]). Since they're > not responses, b4 doesn't know they're connected and can't grab the > whole series at once. > > Also capitalize the subject lines consistently and s/PCIE/PCIe/ and > s/pcie/PCIe/ and s/aer/AER/, e.g., > > ACPI/APEI: Add apei_hest_parse_aer() > ACPI/APEI: Remove static from apei_hest_parse() > PCI: Add AER #defines for PCIe/PCI-X bridges > ACPI/PCI: Add pci_acpi_program_hest_aer_params() > ACPI/PCI: Configure devices AER registers based on HEST Got it. I will modify this in the next version patch set. Thanks leoliu-oc > >> 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(-) >> >> -- >> 2.20.1 >>