Received: by 2002:ac0:e350:0:0:0:0:0 with SMTP id g16csp2314686imn; Mon, 1 Aug 2022 20:32:08 -0700 (PDT) X-Google-Smtp-Source: AGRyM1sAYx07KL4ZJx6UdyHxm8LnWIrNsY7AtBrz6UUq12EHOu5B0EVT8ScKuPVdxYgJtnkP7msQ X-Received: by 2002:a17:907:7209:b0:72b:924b:60a8 with SMTP id dr9-20020a170907720900b0072b924b60a8mr15171838ejc.442.1659411127802; Mon, 01 Aug 2022 20:32:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1659411127; cv=none; d=google.com; s=arc-20160816; b=MEF952BC6Tk4hITnO5G5BiS/IHqbQ8vP45v0l0pCS3eXCEd8PwWDY7fMxPJb2LN0Ak hF3iZveZe4GNYXFUJX1v/7GlLp6gweQ7cYytgb3JOtD/Cz+qfdRdf9znkgvnTlu0NDFl YwwzVllridbHnc9EzYxaFLn38RKEO9/2TADwziB/FlqkKRHwcQsXF/EtmPGPK1HEXZ75 TBg7lCpy4IsKwX+Fr1edJk3vQnWDC00OnP4KoFGHSDjLzDN1/b/UMTQpHThcs2AS3Py8 YHG36zca+kQLqsnV3PxJPObr9TDf4WNN4gPNYiaVO4PB8kfr6YGOq3DwAuDFg1yQ09uh yzMw== 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:dkim-signature; bh=0OeG3shfDltphYsSXUVO2yZlivCYznbwaGe0X6RqjkI=; b=jAjdtoVjjncyCrmjeits5TajXW+/TSeeJAgQfi7TvBWQP3atQx8BKusLfK4rR00ba6 ph9QemVr1MNHumytfAmgWPb5MgoB9X+LiYwAjobelOml7TkdWT9zgmV7ip89Gm8D9tlx kC+N9fpy1A1EAE+Sn1fKozzwvs14WA7Ofn5lRG3TiDmTfzOm5JV/QOo9uaj7z5Ec6+Og RnGXMi5z70yU5ku9eIFAavbUk9squNd0jWa2c89sNBIsAueQR9ufgi1Vxrv05Qpu8mei xbz0Do4dCaG6t3G8uzDXWThDzVqL//mfjAPEQQ67V1kR7JfiK7NyCR3bJgumEDCt24eo fStw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bytedance-com.20210112.gappssmtp.com header.s=20210112 header.b=EU7FRMol; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-crypto-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 wy6-20020a170906fe0600b00730a3ae3954si78813ejb.708.2022.08.01.20.31.29; Mon, 01 Aug 2022 20:32:07 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-crypto-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=EU7FRMol; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-crypto-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 S232192AbiHBD36 (ORCPT + 99 others); Mon, 1 Aug 2022 23:29:58 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44274 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230290AbiHBD35 (ORCPT ); Mon, 1 Aug 2022 23:29:57 -0400 Received: from mail-qv1-xf2f.google.com (mail-qv1-xf2f.google.com [IPv6:2607:f8b0:4864:20::f2f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6A53A2127B for ; Mon, 1 Aug 2022 20:29:56 -0700 (PDT) Received: by mail-qv1-xf2f.google.com with SMTP id d1so8344078qvs.0 for ; Mon, 01 Aug 2022 20:29:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bytedance-com.20210112.gappssmtp.com; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc; bh=0OeG3shfDltphYsSXUVO2yZlivCYznbwaGe0X6RqjkI=; b=EU7FRMol2oZb8rxXgI4zEUJOXkVWUo/91fIoGU7Z2xS4hMCSYL4MX+SDkyHUQahCkX F0YLwFAUY62SuL6wbqVd0iwaKzavQqrBOjiKVa+mddt/8dfoA+4eZ9ts9PpaP0GGIeSB CaPU77OHQArUbz+pWCh3rMBB4yU4Nz2sgHwSbyXwyD5DNnjmej0rxVBUHYmMJhJtYeHb mQmPqF0GiD33M3I9fkdGJ2OZ2CqiV3tU1pP/Os++5LxVpE0QBJlb6ZyrcKP8rDvhMKmP sw5T/2mQy/EtfifaVX0UXfVUB0sdxPM9D8KE8kI+i5WxbYscp11O0PcyA66KWX3Gf668 WxAg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc; bh=0OeG3shfDltphYsSXUVO2yZlivCYznbwaGe0X6RqjkI=; b=HKKz3zKXImErA+oruBEjGmrPAW757F/0O12zxTEwoNuE4evxQUX0oJP8cGV2xYEZ+7 vP+VUuR5piPfXW0OM7+ScrzuL5oqYDNUD6Msk/CY4Aevmi3MBSQlmmdk1g+HUBPRIXmZ I/jKCVBBGGyJy17IFdv1xguKTTMtenL5YxyKOSkaMRZDrj/vMD0BDFw4scLRQ+W57Aze Lse8IC85hyrf8OaIe04HGTKaehHfaoFXTFrAkbIi/SM42QRrZq9wT5SqTZMHUKbUQ9Vj 7tHfQXQXvlNBjDVBQP/gQUV29JpUxBlMYizZGDWWaKCj1M4Lx8Yb9tzbW40ah+KMQfJq xPCg== X-Gm-Message-State: ACgBeo06DMlej57nn+0MDMzrI+wvPuTdrJd5szloc2EVUUAl8VOs4S7w vNoxjZY/d0WiMmJBiTEKQU+0aHrAHRR6yzyJ X-Received: by 2002:a17:902:f787:b0:16a:1e2b:e97 with SMTP id q7-20020a170902f78700b0016a1e2b0e97mr18686767pln.27.1659410985435; Mon, 01 Aug 2022 20:29:45 -0700 (PDT) Received: from C02F63J9MD6R.bytedance.net ([61.120.150.78]) by smtp.gmail.com with ESMTPSA id 139-20020a621991000000b0050dc76281e0sm9433003pfz.186.2022.08.01.20.29.41 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Mon, 01 Aug 2022 20:29:44 -0700 (PDT) From: Zhuo Chen To: wangzhou1@hisilicon.com, herbert@gondor.apana.org.au, davem@davemloft.net Cc: chenzhuo.1@bytedance.com, linux-crypto@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH RESEND] crypto: hisilicon - Remove pci_aer_clear_nonfatal_status() call Date: Tue, 2 Aug 2022 11:29:37 +0800 Message-Id: <20220802032937.27117-1-chenzhuo.1@bytedance.com> X-Mailer: git-send-email 2.30.1 (Apple Git-130) MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,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-crypto@vger.kernel.org Calls to pci_cleanup_aer_uncorrect_error_status() have already been removed after commit 62b36c3ea664 ("PCI/AER: Remove pci_cleanup_aer_uncorrect_error_status() calls"). But in commit 6c6dd5802c2d ("crypto: hisilicon/qm - add controller reset interface") pci_aer_clear_nonfatal_status() was used again, so remove it in this patch. note: pci_cleanup_aer_uncorrect_error_status() was renamed to pci_aer_clear_nonfatal_status() in commit 894020fdd88c ("PCI/AER: Rationalize error status register clearing") Signed-off-by: Zhuo Chen --- drivers/crypto/hisilicon/qm.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/crypto/hisilicon/qm.c b/drivers/crypto/hisilicon/qm.c index b4ca2eb034d7..fc11e17abbfc 100644 --- a/drivers/crypto/hisilicon/qm.c +++ b/drivers/crypto/hisilicon/qm.c @@ -5431,8 +5431,6 @@ pci_ers_result_t hisi_qm_dev_slot_reset(struct pci_dev *pdev) if (pdev->is_virtfn) return PCI_ERS_RESULT_RECOVERED; - pci_aer_clear_nonfatal_status(pdev); - /* reset pcie device controller */ ret = qm_controller_reset(qm); if (ret) { -- 2.30.1 (Apple Git-130)