Received: by 2002:a05:6358:1087:b0:cb:c9d3:cd90 with SMTP id j7csp87375rwi; Wed, 26 Oct 2022 21:06:52 -0700 (PDT) X-Google-Smtp-Source: AMsMyM5YadPz53PeUEFJFB19lCFDcPZl8w3mUwvLQ1JvX34DHp7VIp1+dt+tDFtRdFjNYfhYg63L X-Received: by 2002:a17:90b:3504:b0:213:5b03:639 with SMTP id ls4-20020a17090b350400b002135b030639mr6279709pjb.16.1666843612296; Wed, 26 Oct 2022 21:06:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666843612; cv=none; d=google.com; s=arc-20160816; b=qnLf0PtqgllOHfSzZ6lBYF0I1DuIo67I8nhmLSWt2gLQRS6soG0UAZERKFhEHYVJz4 Ep8ACUL15geN+A/ikvv1Ofwn2ZhUKUuAjyQEyZOKQ/NhTeZIaBqo6WJQqEsH8DnSTFKt V+KGUQ+idE9tBPuwXpbrcEA9ffSYs36rARalGBKUzYSupKrzmcRo2+4jnkFWC5rRglZU Hwd5tSVtkiWb6xGtUddne/+vA2Ck5XuncycYDBflyILJSos6C21+AaHJ12TMVNvv+wwo HLVN0d2bTET/lrdlw8yJW29UdtlVonz8GQfFToNzDC77Fdm8If8QkyP3V4dz+0tAA0MT KOdA== 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=xeAEqRFcx9CPIRXOfOdEII/WYB4MQcBOmDIPHquOJUo=; b=sghcGZ1lXQexQZFYFvSCsFJSOA0VdhT9xmZOhYeIZZubRJP7uZoYdHnLOuTgqcUacg CnQIw/xvcKjts3qnvp/QJh0jLpiclqNfTcJIh7MGyGybq9bNanP+fS3Vm9eEjjL8JR0j RdkAz+5U+1KDzGfI7j2gAJXCtDL8x3TrNaXqGz3iSzlkORpza5lrmJCs4uYlw59iJZw5 bO5HRQUnX/io4aniqwsp6gD7d+BeWcANYXDPyndiqVZXf07qtDjQhWvp5MC97dSpkQXR HWAgsi0QoBvQFWkg+8fMCubTDamSaKnB48dZgDRWLfWDAxmE6Rf6PRO65o+F0JbdWqDs 21hA== 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 15-20020a63060f000000b0044fb27b64c7si227553pgg.326.2022.10.26.21.06.39; Wed, 26 Oct 2022 21:06:52 -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 S234337AbiJ0DgM (ORCPT + 99 others); Wed, 26 Oct 2022 23:36:12 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60360 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234343AbiJ0DgE (ORCPT ); Wed, 26 Oct 2022 23:36:04 -0400 Received: from mx2.zhaoxin.com (mx2.zhaoxin.com [203.110.167.99]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3BF6D47BAF for ; Wed, 26 Oct 2022 20:35:51 -0700 (PDT) X-ASG-Debug-ID: 1666840590-1eb14e7e6353350001-xx1T2L Received: from ZXSHMBX2.zhaoxin.com (ZXSHMBX2.zhaoxin.com [10.28.252.164]) by mx2.zhaoxin.com with ESMTP id dcSdmVLfPpBzSFVa (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO); Thu, 27 Oct 2022 11:16:31 +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.12; Thu, 27 Oct 2022 11:16:30 +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:16:28 +0800 X-Barracuda-RBL-Trusted-Forwarder: 10.28.252.164 From: LeoLiu-oc X-Barracuda-RBL-Trusted-Forwarder: 10.29.252.7 To: , , , , , , , , , , , , CC: , , , leoliu-oc Subject: [PATCH 5/5] ACPI/PCI: config pcie devices's aer register Date: Thu, 27 Oct 2022 11:16:28 +0800 X-ASG-Orig-Subj: [PATCH 5/5] ACPI/PCI: config pcie devices's aer register Message-ID: <20221027031628.2856297-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: ZXSHMBX2.zhaoxin.com[10.28.252.164] X-Barracuda-Start-Time: 1666840590 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: 774 X-Barracuda-BRTS-Status: 1 X-Barracuda-Bayes: INNOCENT GLOBAL 0.4589 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=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 From: leoliu-oc In order to write the PCI Express Root Port/Device/Bridge AER Structure record to relevant devices's aer registers, call the func pci_acpi_program_hest_aer_params() for every pcie devices. Signed-off-by: leoliu-oc --- drivers/pci/probe.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/pci/probe.c b/drivers/pci/probe.c index b66fa42c4b1f..02bf9180e96d 100644 --- a/drivers/pci/probe.c +++ b/drivers/pci/probe.c @@ -2263,6 +2263,7 @@ static void pci_configure_device(struct pci_dev *dev) pci_configure_serr(dev); pci_acpi_program_hp_params(dev); + pci_acpi_program_hest_aer_params(dev); } static void pci_release_capabilities(struct pci_dev *dev) -- 2.20.1