Received: by 2002:a05:6359:c8b:b0:c7:702f:21d4 with SMTP id go11csp373832rwb; Wed, 28 Sep 2022 04:03:30 -0700 (PDT) X-Google-Smtp-Source: AMsMyM44S+7qYLj2qj2HJtcKhs/XxClh9qteutlCKe6jhLAv1RWZIVISxmWu83UmneJ3Vz1teAXp X-Received: by 2002:a17:902:7887:b0:178:5e8a:e84e with SMTP id q7-20020a170902788700b001785e8ae84emr32254773pll.64.1664363010292; Wed, 28 Sep 2022 04:03:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1664363010; cv=none; d=google.com; s=arc-20160816; b=Sj18cAAwHKFDBk4/Pi/mqofHM8hQObFtfyleV9Zi9xz7SZMdhVo8i634lEPbSyrJIr QVqGBIjdoqDVDZzH/0Mw+L1Ikz9e1Rh9938VUWTV+H1bsYjiBQNqzZfa3B+vVr+lLDsi z73SZWDpkbA5Y60O8OqTus1/u4c0n8Y9yYBqifqyM5LjGNmxeROBXmMjTusR5DpF56JR BzsOxk7vLVyeTPZ287XPunyReiAgWqfe3EQYaSWXJBOdpuTAMDRH7XdWPYawSyvsp0pf HMDcclqaHSJ6L6KE+m98LBirSutgJ3R1gqTuxE+8HO1uoavt+ABY0qU6gOK2/8c6PdYI oigw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=OcX91QSmfcORtUJuhjxsYlI4jDkm84+aPMTKqsh2mFg=; b=BtjpQnL3a0woc4uJmmRlpQYwQDlURnSp8L5OFLZ7fz9Y7qbk5JBb057ZVy41uiyM6l fSP0LVkHdBIMImPB5LSNfK6N9C8QNGtZF2cMzbGao6CbQbDNR34eBkXKUbmJttYDrpFy XdmOZ1v37CIJf4HzbhCQzD+5GG+JbN/wvpR/bCYWM5axS1jEAuNRJ+gnj5h+aCHnIhcF Jqg5t4ETl5vHvjqqz3JEqn3cQQNTkkqhUnYKnfZvh2e/5Jpq2K/HS2czJz0uy30XxEDd owcxSWRfJj3qGzr7WaJhxhfrCNBHeGuZRMKRQ6nxMBsPYncZeSwlTTyT8RTfJ2+EV2Eq J76A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=B22A+5wg; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id bd10-20020a170902830a00b00176675b0cf2si4531739plb.381.2022.09.28.04.03.17; Wed, 28 Sep 2022 04:03:30 -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=@gmail.com header.s=20210112 header.b=B22A+5wg; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234038AbiI1LCU (ORCPT + 99 others); Wed, 28 Sep 2022 07:02:20 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51972 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234036AbiI1LBC (ORCPT ); Wed, 28 Sep 2022 07:01:02 -0400 Received: from mail-lf1-x130.google.com (mail-lf1-x130.google.com [IPv6:2a00:1450:4864:20::130]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6415CE7E38; Wed, 28 Sep 2022 04:00:40 -0700 (PDT) Received: by mail-lf1-x130.google.com with SMTP id k10so19803339lfm.4; Wed, 28 Sep 2022 04:00:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date; bh=OcX91QSmfcORtUJuhjxsYlI4jDkm84+aPMTKqsh2mFg=; b=B22A+5wg/gpUg3toqo4rJeKFnUzSSnLoGxNGs8VRO3g0wdmQbtK6mgG/i3q14yO2vo gQKY919BK1PBejNcNheYfn98WzgaSHM15ncLgQfaiSv2DhBcSYTHuRUVylsKvh8oVAxq bAr9bG39yRRyRQIQG8hcT29xbgJhsghWNtUnP6zh6Nh2y3Y6R23E2SKY3OnbiNrlV9Hv vBzjNHfwCIT+m791PM9xrvBJbhxLMcthuomHcNynvO/4FmtiwC+48v2C+CtK/9rKShPn uZFVYF2G1sUIX2kXFCxThLI5i9YqGPzJtxXnhlK+hNJPnXFPNX51P8567jqadv01p1Cm ahoQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date; bh=OcX91QSmfcORtUJuhjxsYlI4jDkm84+aPMTKqsh2mFg=; b=X8oYMQPGOzqmLyPqO7AotbB0eIZUdgtjOWybjVY3OOhC4eX4F4YAv02+xWEoJrLFSO iqVBV2W/Zc/opmt7tumrYWQ5BQQVdkRXNp4RblePgAUsR6lpz1bWIX8FKD+26p1VGJqT +E5dab5JIhyOsOJhqeyt83MC7qbfBaJC11F6dvPbuAwWrDFNJV7SStXSvemhh9LTRFT1 BySsCfwdt5QvtvjIRlUzyf34+tJ4XQ+Ok5qyoOIKqeI4Dp/ua/EW46JRsbJFB2gmtlw9 VYUTgtet4jpvD7jl1pUj7csjBLXpMZOioQKHxIeUMmWEdhJFkQvdl1zOwbAhAnvP+g8W hCeg== X-Gm-Message-State: ACrzQf0etG4OdX/bAlu2TwD6/v20S1xmuXjY0896Y9jED6lEZBPx2c1i fZks9tYGYOhPr7zPc7jerGw= X-Received: by 2002:a05:6512:12c8:b0:49b:8005:1d9d with SMTP id p8-20020a05651212c800b0049b80051d9dmr13713891lfg.489.1664362838099; Wed, 28 Sep 2022 04:00:38 -0700 (PDT) Received: from mobilestation ([95.79.140.178]) by smtp.gmail.com with ESMTPSA id z18-20020a19f712000000b00494a11c5f52sm442697lfe.256.2022.09.28.04.00.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 28 Sep 2022 04:00:37 -0700 (PDT) Date: Wed, 28 Sep 2022 14:00:35 +0300 From: Serge Semin To: Zhuo Chen Cc: bhelgaas@google.com, ruscur@russell.cc, oohall@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, linuxppc-dev@lists.ozlabs.org, linux-pci@vger.kernel.org, linux-kernel@vger.kernel.org, ntb@lists.linux.dev, linux-scsi@vger.kernel.org Subject: Re: [PATCH v2 3/9] NTB: Change to use pci_aer_clear_uncorrect_error_status() Message-ID: <20220928110035.ehbdxvpzkitbomoe@mobilestation> References: <20220927153524.49172-1-chenzhuo.1@bytedance.com> <20220927153524.49172-4-chenzhuo.1@bytedance.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220927153524.49172-4-chenzhuo.1@bytedance.com> X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,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 On Tue, Sep 27, 2022 at 11:35:18PM +0800, Zhuo Chen wrote: > Status bits for ERR_NONFATAL errors only are cleared in > pci_aer_clear_nonfatal_status(), but we want clear uncorrectable > error status in idt_init_pci(), so we change to use > pci_aer_clear_uncorrect_error_status(). Have the modification changed since: https://lore.kernel.org/linux-pci/20220901181634.99591-2-chenzhuo.1@bytedance.com/ ? AFAICS it hasn't. Then my ab-tag should have been preserved on v2. One more time: Acked-by: Serge Semin Don't forget to add it should you have some more patchset re-spins. -Sergey > > Signed-off-by: Zhuo Chen > --- > drivers/ntb/hw/idt/ntb_hw_idt.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/drivers/ntb/hw/idt/ntb_hw_idt.c b/drivers/ntb/hw/idt/ntb_hw_idt.c > index 0ed6f809ff2e..d5f0aa87f817 100644 > --- a/drivers/ntb/hw/idt/ntb_hw_idt.c > +++ b/drivers/ntb/hw/idt/ntb_hw_idt.c > @@ -2657,8 +2657,8 @@ static int idt_init_pci(struct idt_ntb_dev *ndev) > ret = pci_enable_pcie_error_reporting(pdev); > if (ret != 0) > dev_warn(&pdev->dev, "PCIe AER capability disabled\n"); > - else /* Cleanup nonfatal error status before getting to init */ > - pci_aer_clear_nonfatal_status(pdev); > + else /* Cleanup uncorrectable error status before getting to init */ > + pci_aer_clear_uncorrect_error_status(pdev); > > /* First enable the PCI device */ > ret = pcim_enable_device(pdev); > -- > 2.30.1 (Apple Git-130) >