Received: by 2002:a05:6358:1087:b0:cb:c9d3:cd90 with SMTP id j7csp104166rwi; Wed, 26 Oct 2022 21:29:12 -0700 (PDT) X-Google-Smtp-Source: AMsMyM4RzSv1y1yMTQa21VrW6sGD7Wg3iLiBJ6DRm8U4QT4dXXylzggIm6Nx4++Tpo4hI4Y+cvua X-Received: by 2002:a17:907:70b:b0:740:ef93:2ffb with SMTP id xb11-20020a170907070b00b00740ef932ffbmr39512893ejb.93.1666844952456; Wed, 26 Oct 2022 21:29:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666844952; cv=none; d=google.com; s=arc-20160816; b=zVWLBjZ82IaFax3J5euIpBAOir/cFbWFvQA5myXGtMdJfj3yGgwZHcMHIWm4Ii3wSG rlnoutFN9xpSH2atKtruj2fVqXVxjSG8y2QQZWJbc2za542Y3j0h09bt2R0BSC42P9Yx XPWF63pvH0BHd6b0KOZaBlGghNKTt8GyrW3bc8OGmxoXeq07CXsFi02+aZteNDu3M0mz j2fQwMXX1A7wMnq0E8sH9PHaoTJ2XhPMAi3YG0UvdSyaNt7rfP+MMZTj53Wwkn8iIB5Q CaFPq3GinsT8mXv8Vcbf0IetyE2Y6957535bd6+gBZM80hWytJwkrcBIKfU4ngrDR0mS ljNw== 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:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=Wsdyf0tLutKspVDhWEY8ODiTjB8LQiL4MfyPrbK38oA=; b=0GSdGjRiiN+XiX/7SSv1h6EW+O7qE+XqIHM+Aw0rVM4DukfUb2WWpfm9od57xr9jaY XVCNM0O0be1NO60FXjwpjjkI9YGe7vUA3/567UGL3BVhCjwSoFbX37XaB/HKp2woR8zi CrHGdk4NgEDywPRsB+UosXbO5dby+DX1dsW6GAhtPGT9GoYIsFtxJW8gm2tRQbT38Znm DlnkYLao4/0NYgAHKbRIyqOwIz81VM/1kuAaQQMGKBUBS4KC0vAbYbTHTJTMnimjcI3b QoFl7O3ZRSvLVrR4v5Lt3XPvz1gVMEITLVRHIWXqPk9hEdDF3e6AO5xZFNmJbSpM2Xlg HlCw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b="l94wk7x/"; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id 9-20020a170906318900b00782e9b7305dsi363640ejy.266.2022.10.26.21.28.47; Wed, 26 Oct 2022 21:29:12 -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; dkim=pass header.i=@intel.com header.s=Intel header.b="l94wk7x/"; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233626AbiJ0ESC (ORCPT + 99 others); Thu, 27 Oct 2022 00:18:02 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56444 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229456AbiJ0ER5 (ORCPT ); Thu, 27 Oct 2022 00:17:57 -0400 Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1C165A0330; Wed, 26 Oct 2022 21:17:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1666844277; x=1698380277; h=message-id:date:mime-version:subject:to:cc:references: from:in-reply-to:content-transfer-encoding; bh=c2WM3jy4H4MuU5+8696owJAO8S+vMks/LJZNj3CcUtI=; b=l94wk7x/b5r35T7ZXFhj05SI//9AKy0D4514rjvzy7BVqZkzCFvUHIWT Ycu/AgI5/Oy5SckxGpqJrhqXfOLBr8t3EQxOzxxFceYhCEIJBqwcA+k6c wlo+lExZGxjb35ObhDEZ9fhfB8x2oPMwxnrhXhMvKW9Ok1ZUkuj8870Fu 7AtcbueRAKWcEmlzSEH6ej891VqPNdOWSmZY+cocZWtDvx8KS6WycV/Ic lvdRFdaCr3oWosWxZf2KTObznjRhCDdsTWZ3zf2ozQW+N7mSnLWVpQAwE yGZQz7bhb9HhkDG7MtK1KWw59jLPxKV1e+BBgPgr57kzpFETZJg/A4KNU w==; X-IronPort-AV: E=McAfee;i="6500,9779,10512"; a="306855089" X-IronPort-AV: E=Sophos;i="5.95,215,1661842800"; d="scan'208";a="306855089" Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by fmsmga104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 26 Oct 2022 21:17:48 -0700 X-IronPort-AV: E=McAfee;i="6500,9779,10512"; a="737518965" X-IronPort-AV: E=Sophos;i="5.95,215,1661842800"; d="scan'208";a="737518965" Received: from holmeskx-mobl.amr.corp.intel.com (HELO [10.209.105.249]) ([10.209.105.249]) by fmsmga002-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 26 Oct 2022 21:17:36 -0700 Message-ID: Date: Wed, 26 Oct 2022 21:17:36 -0700 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Firefox/102.0 Thunderbird/102.2.2 Subject: Re: [PATCH 0/5] Parse the PCIE AER structure and set to relevant registers Content-Language: en-US To: LeoLiu-oc , rafael@kernel.org, lenb@kernel.org, james.morse@arm.com, tony.luck@intel.com, bp@alien8.de, robert.moore@intel.com, ying.huang@intel.com, rdunlap@infradead.org, bhelgaas@google.com, linux-acpi@vger.kernel.org, linux-pci@vger.kernel.org, linux-kernel@vger.kernel.org, devel@acpica.org Cc: CobeChen@zhaoxin.com, TonyWWang@zhaoxin.com, ErosZhang@zhaoxin.com References: <20221027031458.2855599-1-LeoLiu-oc@zhaoxin.com> From: Sathyanarayanan Kuppuswamy In-Reply-To: <20221027031458.2855599-1-LeoLiu-oc@zhaoxin.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-4.8 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_NONE 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 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 > bridge's Correctable Error Mask register. Can you add spec reference? > > 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(-) > -- Sathyanarayanan Kuppuswamy Linux Kernel Developer