Received: by 2002:a05:6358:111d:b0:dc:6189:e246 with SMTP id f29csp1882418rwi; Tue, 1 Nov 2022 00:39:18 -0700 (PDT) X-Google-Smtp-Source: AMsMyM73XLwuEECjzvcjkCY4ClTjf7X67SVnpupjNwARoRv62xCzMAAzhd3GIbOzxPmvgGwzqfr3 X-Received: by 2002:a17:907:88ca:b0:7ad:b635:2f1c with SMTP id rq10-20020a17090788ca00b007adb6352f1cmr14960001ejc.6.1667288357848; Tue, 01 Nov 2022 00:39:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1667288357; cv=none; d=google.com; s=arc-20160816; b=GTBrutPoPNNiXKZ+zfbM0z37w7O0eUZoATZkyirW816boaqWAg7g4C39/ZY03ZEFBS oETyXpNB97A8a+6FYmPMaht9pfOnFfOsBh30lw2dH27jdAIiXZ/fpl/wPJ4asv07/agw GtA8MClisery3mzqzvfrhBpPdywPxwvA4jtDW6nL2X+fzWf3tDg8PgY2b1o60pMWlBrb LhIGBaj7mshBTbYrXRkLLqFxjXxDRg+ASPsgxkZBjpge7/AoQElvb0bma8yOBzFqg10A ab5+ZcGEHxY8EBb3pdWuiJLwK3ylnudxjbOMPoaulxTiIfmCEBvdkJGIdI3w6UDT15d3 9YiQ== 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=EkSXrYQ0Yhmb/UMgtEvCDYnoraB9gPv3ihmBc/RHkBM=; b=RWxPDfA3BgVXe/6Lveglu9RWB8GaJ32Xj6qEjEvNiEPF2mLIMoeaSjD+Q4JQu5jnBN B0jB7uvJXocgOQKtCryxPV789Oe+Ep8VNxB2Od/K06Bi7xgAJr47+Nxjqp+C+Xv0yeEX GWW4RNg2V0PDs+tfW0m9FXxrkgYFgi3wb1Zqoj7JYgiUYYzdQY4SbszkGJVcJnYKlLb9 bt6A1ShsMxj32ycT32dzK6PrQ4iOrJuTEBF8aFV7qqNaTCWF2YMMHtUPimkgx4s7ua6b 7/KFkxCWUKhGWo3365g9Ebx0sEAxLLgBmaK9302DuzMiFaUjVxsUo0+XeQjXPqQue8OG /A0A== 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 bt19-20020a0564020a5300b0045c42a9f588si8943747edb.408.2022.11.01.00.38.54; Tue, 01 Nov 2022 00:39:17 -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 S229846AbiKAHZ2 (ORCPT + 98 others); Tue, 1 Nov 2022 03:25:28 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47568 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229812AbiKAHZY (ORCPT ); Tue, 1 Nov 2022 03:25:24 -0400 Received: from mx2.zhaoxin.com (mx2.zhaoxin.com [203.110.167.99]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6CF8413F9D for ; Tue, 1 Nov 2022 00:25:22 -0700 (PDT) X-ASG-Debug-ID: 1667287519-1eb14e7e6464290001-xx1T2L Received: from ZXSHMBX3.zhaoxin.com (ZXSHMBX3.zhaoxin.com [10.28.252.165]) by mx2.zhaoxin.com with ESMTP id ANfyOyV56KqKhGxX (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO); Tue, 01 Nov 2022 15:25:19 +0800 (CST) X-Barracuda-Envelope-From: LeoLiu-oc@zhaoxin.com X-Barracuda-RBL-Trusted-Forwarder: 10.28.252.165 Received: from ZXBJMBX03.zhaoxin.com (10.29.252.7) by ZXSHMBX3.zhaoxin.com (10.28.252.165) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.12; Tue, 1 Nov 2022 15:25:19 +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; Tue, 1 Nov 2022 15:25:17 +0800 X-Barracuda-RBL-Trusted-Forwarder: 10.28.252.165 Message-ID: <9429d525-5e06-95a2-3340-f6e2b6009f76@zhaoxin.com> X-Barracuda-RBL-Trusted-Forwarder: 10.32.56.18 Date: Tue, 1 Nov 2022 15:25:17 +0800 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.4.1 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: Sathyanarayanan Kuppuswamy , , , , , , , , , , , , , , , , References: <20221028151512.GA889708@bhelgaas> From: LeoLiuoc In-Reply-To: <20221028151512.GA889708@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: ZXSHMBX3.zhaoxin.com[10.28.252.165] X-Barracuda-Start-Time: 1667287519 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: 1356 X-Barracuda-BRTS-Status: 1 X-Barracuda-Bayes: INNOCENT GLOBAL 0.4904 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.101826 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=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 在 2022/10/28 23:15, Bjorn Helgaas 写道: > On Fri, Oct 28, 2022 at 07:19:25PM +0800, LeoLiuoc wrote: >> 在 2022/10/27 12:17, Sathyanarayanan Kuppuswamy 写道: >>> On 10/26/22 8:14 PM, LeoLiu-oc wrote: > >>> Can you add spec reference? >>> >> Please refer to Section 18.3.2 ACPI Error Source of acpi spec v6.3. Links to >> the online versions of ACPI Spec 6.3 is >> https://uefi.org/htmlspecs/ACPI_Spec_6_4_html/18_ACPI_Platform_Error_Interfaces/error-source-discovery.html#acpi-error-source. >> >> Section 18.3.2.4 describes PCI Express Root Port AER Structure, section >> 18.3.2.5 describes PCI Express Device AER Structure, section 18.3.2.6 >> describes PCI Express/PCI-X Bridge AER Structure. > > Thanks. It's OK to have the spec references in the email thread, but > the real point is that they should be in the commit log and, when it > makes sense, in code comments. > > Cite the most recent spec version when you can. In this case, I think > it is ACPI r6.5. > > Personally I don't really care for URL references because they tend to > get stale over time as websites are reorganized and domains change. > Something like "ACPI r6.5, sec 18.3.2.4" is unambiguous and will > remain usable forever. > > Bjorn Got it. Thanks for your advice. This will be modified in the next version. Thanks leoliu-oc