Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp8764629rwb; Thu, 24 Nov 2022 04:06:51 -0800 (PST) X-Google-Smtp-Source: AA0mqf4x/UZgu5GOsfnHv8Oy7S6Tln9FRP0HWPQkIA3ONurvpHmuC8cUUMo5pZn2FMqf9Fv3QVOv X-Received: by 2002:a17:906:a156:b0:78d:9b8b:93cc with SMTP id bu22-20020a170906a15600b0078d9b8b93ccmr28073009ejb.529.1669291610972; Thu, 24 Nov 2022 04:06:50 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1669291610; cv=none; d=google.com; s=arc-20160816; b=T2iCpzEmBWfJmoeKw96cpZdVAq9YyvZFZG5m8ThLQ5/C5uODa8J10QpdvilSHyXlAX 349e2iraAvvDzb1OdbOBQzpGe9CvxxNOoObJ6fVoSyBc+Tr4zk/u1a8W4+IE6BfMyq/U lZRtne/p88480hWbsYY6VAOtsV01a2CIetP5iHLNu+nzqMyjyOwdR5kwluCUz+xBkVow ZTHwbAVypl2fBSaJ1pyWSsjKviwqBq7hbxBmZSYE7MkvO+Zs4JfJznChKd4WfgjTUlx9 bgFDYRBXZ6l+mmhxgafARFYNSlaqvXYb9UuTHkHGDf0Tqc5mpj5cpp+EJThR39cQoMOk sqXA== 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:references :cc:to:from:content-language:subject:user-agent:mime-version:date :message-id:dkim-signature; bh=5tFoaZJ9Zngdk5YXFm9CRQu0l0Dt7f+Q0OVbqus0B9g=; b=wk3qej1g3Uc+mB7nJOwpoa/5VZ8fsN0J678xKzXOoDPOXRaf+QERtUT5F5roQM+Q4Y fPOgzYj4eO28qVOUzQ7Rs+AHXFvstoqPCdkLDWsugSwxKQYZYPT7ZD8gQ6FSdYmCt9Ii qVcEPUiXKGs67oj04/89dalAtaFb2CARPCHmqIcNd9QRDTrnINVE/nwPJ8rH/yIy9437 9KzFoKeTEOxAh1Yv6pEblDk4iw96Wua0GCpmUX/N5UYaiaeIUpT8xh1JMfnRjTOkGGeE xbr7R0WCrn6l/0Kdn9Z1JIUzsH4a6LTaQl51aDjSqULlpKPxFjQZ/89smIzyX2tiW6Wj 0Pvg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bytedance-com.20210112.gappssmtp.com header.s=20210112 header.b=Szq1aC9W; 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=fail (p=NONE sp=NONE dis=NONE) header.from=bytedance.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id x10-20020a1709060a4a00b00767e24156dbsi150025ejf.256.2022.11.24.04.06.29; Thu, 24 Nov 2022 04:06:50 -0800 (PST) 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=@bytedance-com.20210112.gappssmtp.com header.s=20210112 header.b=Szq1aC9W; 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=fail (p=NONE sp=NONE dis=NONE) header.from=bytedance.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230006AbiKXLzv (ORCPT + 86 others); Thu, 24 Nov 2022 06:55:51 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34106 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229874AbiKXLzt (ORCPT ); Thu, 24 Nov 2022 06:55:49 -0500 Received: from mail-pj1-x1032.google.com (mail-pj1-x1032.google.com [IPv6:2607:f8b0:4864:20::1032]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 98692C661D for ; Thu, 24 Nov 2022 03:55:48 -0800 (PST) Received: by mail-pj1-x1032.google.com with SMTP id t17so1207731pjo.3 for ; Thu, 24 Nov 2022 03:55:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bytedance-com.20210112.gappssmtp.com; s=20210112; h=content-transfer-encoding:in-reply-to:references:cc:to:from :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=5tFoaZJ9Zngdk5YXFm9CRQu0l0Dt7f+Q0OVbqus0B9g=; b=Szq1aC9Wra2IsZFqObHsGmeRI22JZDC77KB/fn/y5FDl1j/mH9t1bt2oRO2s/VsJg7 7++YyfrZAapEEDfLW0AwNAOxQj2JqhfS2eyYXsf83BRjBsaGqzALFQUn9U/JszeJRktf 4HqbJk+4e6lzOTNxBu3E14KsUMxicRA6V93jEnLg9JNNLXUcDSEIbwXmlHdBRVR0b9IJ 89QLi93nA9G6E7Cy9sfDxGpbYmsM/TtKM6qMLLLbwwcP7FdsCcg8PzWXqNKRVlzBaN7s zesRFiiIFCpF7es4an9DB8E4QRu/X6DYVBbH4mUAbiePl2Xh9xTnkMT+Js/iC/OTZk0z LILA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:in-reply-to:references:cc:to:from :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=5tFoaZJ9Zngdk5YXFm9CRQu0l0Dt7f+Q0OVbqus0B9g=; b=2kwd+4nvzlNxGrXc4eGU8LG7Gj3Nqn8r6NUnuYHPhcYfZ+sjXtu8WGm7LBCOmOaAm7 /VCOQHoth1ptrSBJBGhXb7kQpdmwZpvqxJrWGajenLpQkPM7R7DUKJYa1Mjr67r67Acw sZIiad+cMFFmDHTtyFn5a2VPqXUVNlfAoblYE2Ncra9RXeShGiTGGdRMQiSTYaQFq+e4 t5ucyhR3qgqqNi7SWDtqLFPFmIxL3hc7C2gMA6PdjK+KNu5lYmbUDo1P8a1GtPKWmdh4 V3Lfqp567xbZC5E/i3B+8OPeilgy+tyMgLqk2pV3UaqDelpXk2gdiUqEii0vdoseuEt/ ZMAA== X-Gm-Message-State: ANoB5plXu9KFYe3wzG3tTQix08jNv0wCyZvnlNu9NXT+23XUD9ftoYN2 O11TIppePafNBnN18Zsd8wfDwQ== X-Received: by 2002:a17:902:e294:b0:17c:620f:13ac with SMTP id o20-20020a170902e29400b0017c620f13acmr16312497plc.9.1669290948065; Thu, 24 Nov 2022 03:55:48 -0800 (PST) Received: from [10.255.190.159] ([139.177.225.236]) by smtp.gmail.com with ESMTPSA id ij13-20020a170902ab4d00b0018685257c0dsm1139212plb.58.2022.11.24.03.55.41 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 24 Nov 2022 03:55:47 -0800 (PST) Message-ID: Date: Thu, 24 Nov 2022 19:55:39 +0800 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:102.0) Gecko/20100101 Thunderbird/102.4.0 Subject: Re: [PATCH v3 0/9] PCI/AER: Fix and optimize usage of status clearing api Content-Language: en-US From: Zhuo Chen To: Bjorn Helgaas , Sathyanarayanan Kuppuswamy Cc: ruscur@russell.cc, oohall@gmail.com, fancer.lancer@gmail.com, jdmason@kudzu.us, dave.jiang@intel.com, allenbh@gmail.com, james.smart@broadcom.com, dick.kennedy@broadcom.com, jejb@linux.ibm.com, martin.petersen@oracle.com, bhelgaas@google.com, linuxppc-dev@lists.ozlabs.org, linux-pci@vger.kernel.org, linux-kernel@vger.kernel.org, ntb@lists.linux.dev, linux-scsi@vger.kernel.org References: <20220928105946.12469-1-chenzhuo.1@bytedance.com> <17b88750-53c2-0653-045a-dde921e37e0c@bytedance.com> In-Reply-To: <17b88750-53c2-0653-045a-dde921e37e0c@bytedance.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,NICE_REPLY_A,RCVD_IN_DNSWL_NONE,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 Ping. Gentle reminder On 11/5/22 1:20 AM, Zhuo Chen wrote: > Hi Bjorn, a gentle reminder. > > Thanks and regards. > > On 9/28/22 6:59 PM, Zhuo Chen wrote: >> Hello. >> >> Here comes patch v3, which contains some fixes and optimizations of >> aer api usage. The v1 and v2 can be found on the mailing list. >> >> v3: >> - Modifications to comments proposed by Sathyanarayanan. Remove >>    pci_aer_clear_nonfatal_status() call in NTB and improve commit log. >> >> v2: >> - Modifications to comments proposed by Bjorn. Split patch into more >>    obvious parts. >> >> Zhuo Chen (9): >>    PCI/AER: Add pci_aer_clear_uncorrect_error_status() to PCI core >>    PCI/DPC: Use pci_aer_clear_uncorrect_error_status() to clear >>      uncorrectable error status >>    NTB: Remove pci_aer_clear_nonfatal_status() call >>    scsi: lpfc: Change to use pci_aer_clear_uncorrect_error_status() >>    PCI/AER: Unexport pci_aer_clear_nonfatal_status() >>    PCI/AER: Move check inside pcie_clear_device_status(). >>    PCI/AER: Use pcie_aer_is_native() to judge whether OS owns AER >>    PCI/ERR: Clear fatal error status when pci_channel_io_frozen >>    PCI/AER: Refine status clearing process with api >> >>   drivers/ntb/hw/idt/ntb_hw_idt.c |  2 -- >>   drivers/pci/pci.c               |  7 +++-- >>   drivers/pci/pci.h               |  2 ++ >>   drivers/pci/pcie/aer.c          | 45 +++++++++++++++++++-------------- >>   drivers/pci/pcie/dpc.c          |  3 +-- >>   drivers/pci/pcie/err.c          | 15 ++++------- >>   drivers/pci/pcie/portdrv_core.c |  3 +-- >>   drivers/scsi/lpfc/lpfc_attr.c   |  4 +-- >>   include/linux/aer.h             |  4 +-- >>   9 files changed, 44 insertions(+), 41 deletions(-) >> > -- Zhuo Chen