Received: by 2002:a05:7412:b101:b0:e2:908c:2ebd with SMTP id az1csp2467427rdb; Wed, 15 Nov 2023 01:17:18 -0800 (PST) X-Google-Smtp-Source: AGHT+IGVTFYwWWZoIpCI4/ZW6ehu3hSxvt2eX9U+CZaKigYJdkUD4STAWWBjAm0QC92WAQa8d8km X-Received: by 2002:a17:903:249:b0:1bd:c7e2:462 with SMTP id j9-20020a170903024900b001bdc7e20462mr5097117plh.11.1700039838705; Wed, 15 Nov 2023 01:17:18 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1700039838; cv=none; d=google.com; s=arc-20160816; b=dqvazxxKGmO8rNwEBhLzblI4b4ZCvM6BJcVhXE8MuKuyzJr+oTyEavfBgt9e/7G99U MyBetbQO0vosIlpEzoj20FFu0iWFFpdHsK4M0i1w5165Pg0aeAOkFPkMtIrckpB+xMRs ezHw7jHY//1JbOdeZOdQ6/EcbHARoWUraT18K8zgJ2Eoh+1j6M3lwk62sknWtwzHFGaX aYwe7gzh3vqHSMSK+4STjY3Kx3LonkF0i7UUT1FuMhPDf5lnccNVsb6YLDVAbpB4PJkb GMN6PCF2SkLMIgiBC3W3hODjzB5jFbzM2ya11779FXMTneUSxj/znLxEk+Npq/nzzMBI z3nw== 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 :message-id:date:subject:cc:to:from; bh=oyKoVSfMw6BqmFa9RWUFrdRClRMO9Qak2rF1JvIfdQM=; fh=m78OHke778HCKRWBAKUmJlH7wnphMgZrmsNcQ/ZbGbw=; b=LBVgRGwv898cMqZppjIxLJSQkjVpTGbOMao6DKqu/v17vdyO9znbA9vJt6gPBpywz4 oT4cjqSjjYablZ37R77i7CPQSlagYetLI9wYjhrsJv/TSL+3xDXu8NKbZmN0dNxDWNVO tBBHmlecJD7I91IGxa1O16RmOBQVDoReI+5k0tl2b6LAOlP8VsA8LJiL87xAUd/g8mCf YB8PHe5U3/Lo37mJPNv76UzQHWECy/TL0rIe55Poo3wwDd5T2aWLHqOZdnhsKr7fL5lD InZRUv/L77uHeaOyTrc4vHVkDGJmWmWqdEY/arjNo6piG9auQNP5W3jO9qFY+AnguIAh mLqg== 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 c14-20020a170902d48e00b001cc2bb98bdasi10386173plg.448.2023.11.15.01.17.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 15 Nov 2023 01:17:18 -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 4FA258062406; Wed, 15 Nov 2023 01:17:16 -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 S234743AbjKOJQr (ORCPT + 99 others); Wed, 15 Nov 2023 04:16:47 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34142 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234741AbjKOJQp (ORCPT ); Wed, 15 Nov 2023 04:16:45 -0500 Received: from mx2.zhaoxin.com (mx2.zhaoxin.com [203.110.167.99]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 01E0D11C for ; Wed, 15 Nov 2023 01:16:39 -0800 (PST) X-ASG-Debug-ID: 1700039775-1eb14e538e15da0001-xx1T2L Received: from ZXSHMBX2.zhaoxin.com (ZXSHMBX2.zhaoxin.com [10.28.252.164]) by mx2.zhaoxin.com with ESMTP id NCSNkDLaKjybgSav (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO); Wed, 15 Nov 2023 17:16:15 +0800 (CST) X-Barracuda-Envelope-From: LeoLiu-oc@zhaoxin.com X-Barracuda-RBL-Trusted-Forwarder: 10.28.252.164 Received: from ZXBJMBX03.zhaoxin.com (10.29.252.7) by ZXSHMBX2.zhaoxin.com (10.28.252.164) 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:15 +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:13 +0800 X-Barracuda-RBL-Trusted-Forwarder: 10.28.252.164 From: LeoLiu-oc X-Barracuda-RBL-Trusted-Forwarder: 10.29.252.7 To: , , , , , , , , , , CC: , , , , LeoLiuoc Subject: [PATCH 0/3] Parse the HEST PCIe AER and set to relevant registers Date: Wed, 15 Nov 2023 17:16:09 +0800 X-ASG-Orig-Subj: [PATCH 0/3] Parse the HEST PCIe AER and set to relevant registers Message-ID: <20231115091612.580685-1-LeoLiu-oc@zhaoxin.com> X-Mailer: git-send-email 2.34.1 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: ZXSHMBX2.zhaoxin.com[10.28.252.164] X-Barracuda-Start-Time: 1700039775 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: 1038 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.116774 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:17:16 -0800 (PST) From: LeoLiuoc According to the Section 18.3.2.4, 18.3.2.5 and 18.3.2.6 in ACPI SPEC r6.5, the register value form HEST PCI Express AER Structure should be written to relevant PCIe Device's AER Capabilities. So the purpose of the patch set is to extract register value from HEST PCI Express AER structures and program them into PCIe Device's AER registers. Refer to the ACPI SPEC r6.5 for the more detailed description. leoliu-oc (3): ACPI/APEI: Add hest_parse_pcie_aer() PCI: Add AER bits #defines for PCIe to PCI/PCI-X Bridge PCI/ACPI: Add pci_acpi_program_hest_aer_params() drivers/acpi/apei/hest.c | 77 +++++++++++++++++++++++++- drivers/pci/pci-acpi.c | 100 ++++++++++++++++++++++++++++++++++ drivers/pci/pci.h | 9 +++ drivers/pci/probe.c | 1 + include/acpi/actbl1.h | 7 +++ include/acpi/apei.h | 8 +++ include/uapi/linux/pci_regs.h | 3 + 7 files changed, 203 insertions(+), 2 deletions(-) -- 2.34.1