Received: by 2002:a05:6358:1087:b0:cb:c9d3:cd90 with SMTP id j7csp86452rwi; Wed, 26 Oct 2022 21:05:41 -0700 (PDT) X-Google-Smtp-Source: AMsMyM5dwXgVllPF4qGCA22g0oPtgQiL18f3ZWS4lX7Yfj/v8YLpgIdnxq4nv0PRVO3eypy7Fk/h X-Received: by 2002:a17:902:8c92:b0:178:29d4:600f with SMTP id t18-20020a1709028c9200b0017829d4600fmr48066432plo.40.1666843541430; Wed, 26 Oct 2022 21:05:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666843541; cv=none; d=google.com; s=arc-20160816; b=RACoNuIxWQWNyZuv8M8SkfjF1VjCGjjt/4yizx9y+SC4a1UGfkacpgNnaOZm9DbqlU ghMFxENhGC6sHzcCM5gFCOSKx6Bu+RDo65s9XzjkGtx9QGDsqipYQOiXZdsNqUN4uB+C ZSzTIDVEBb2R20qHtAEi0UMgFJjF6i1re3KZ/0nOp8CVSZFO8J9UA9QozZUqh/chEd1P a8YoVHz5p8vRTvSnqWn/s6Quxu2t/s6Wn6prVl3DPg2WSF6tFKU1J4qKwwajR6tHuSY7 GqBL7Y4SLC4MJO873zzXYzdzHExFzgWJOCtc7p2TPaIaNaieEOcPWXj6XZlIOvsjS0sG ESiA== 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=hcQMIFa55PWNt3Ansj0J7pWGvMYHGDgIEaGoX4Fvyj4=; b=lxnXwQhF+2Pp1SxtSknsec4njTSaLAgHLx6LNgYX5O1T6JyeGCiNuz0wlld2ml7yaV NbcQYcTInZdvUGzFLSd4owjZHd/UigrexLbuZT1m0xR8DdR6WiYiK8eB9L2mpTGFsEXY OZ4CM37qjs94m8hieRR9R5/lA6PcNHJP5z3jD6gRZn2YatnzTwatMcuqgMSi6UL08QTE qvd5Mu3qX03GTUgjWNOA+qx3x0v9JeWSgYVgmhdPtEbeqHXZ5+JoYrDyYfhG1vEpJTiV BqvaIczz7tX2cQh9PHywOgdn2r6KpZ8tH0t8tGzOWo+1szqvv4YF1rD/f/6mqfosErtz 5mQw== 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 j4-20020a654284000000b0045ff2a2f569si200377pgp.808.2022.10.26.21.05.24; Wed, 26 Oct 2022 21:05:41 -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 S233956AbiJ0DqG (ORCPT + 99 others); Wed, 26 Oct 2022 23:46:06 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53698 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229592AbiJ0Dp5 (ORCPT ); Wed, 26 Oct 2022 23:45:57 -0400 Received: from mx2.zhaoxin.com (mx2.zhaoxin.com [203.110.167.99]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9C3023CBC4 for ; Wed, 26 Oct 2022 20:45:51 -0700 (PDT) X-ASG-Debug-ID: 1666840501-1eb14e7e6453440001-xx1T2L Received: from ZXSHMBX1.zhaoxin.com (ZXSHMBX1.zhaoxin.com [10.28.252.163]) by mx2.zhaoxin.com with ESMTP id 3nQPDXg0rWtNe8Ta (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO); Thu, 27 Oct 2022 11:15:01 +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; Thu, 27 Oct 2022 11:15:01 +0800 Received: from localhost.localdomain (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.12; Thu, 27 Oct 2022 11:14:59 +0800 X-Barracuda-RBL-Trusted-Forwarder: 10.28.252.163 From: LeoLiu-oc X-Barracuda-RBL-Trusted-Forwarder: 10.29.252.7 To: , , , , , , , , , , , , CC: , , , leoliu-oc Subject: [PATCH 0/5] Parse the PCIE AER structure and set to relevant registers Date: Thu, 27 Oct 2022 11:14:58 +0800 X-ASG-Orig-Subj: [PATCH 0/5] Parse the PCIE AER structure and set to relevant registers Message-ID: <20221027031458.2855599-1-LeoLiu-oc@zhaoxin.com> X-Mailer: git-send-email 2.20.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: ZXSHMBX1.zhaoxin.com[10.28.252.163] X-Barracuda-Start-Time: 1666840501 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: 940 X-Barracuda-BRTS-Status: 1 X-Barracuda-Bayes: INNOCENT GLOBAL 0.4116 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.101705 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,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 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. 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(-) -- 2.20.1