From patchwork Tue Mar 7 16:19:42 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bjorn Helgaas X-Patchwork-Id: 13164094 X-Patchwork-Delegate: herbert@gondor.apana.org.au Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id C161FC678D5 for ; Tue, 7 Mar 2023 16:21:26 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230015AbjCGQVZ (ORCPT ); Tue, 7 Mar 2023 11:21:25 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51014 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230016AbjCGQUr (ORCPT ); Tue, 7 Mar 2023 11:20:47 -0500 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 060C114E9E; Tue, 7 Mar 2023 08:20:35 -0800 (PST) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id A69EFB818F9; Tue, 7 Mar 2023 16:20:34 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 2CE2CC433EF; Tue, 7 Mar 2023 16:20:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1678206033; bh=8OmisYPM396GTnn0qHx1504HwFcjgvFJo3Io7iVLMOE=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=fM36JUgn5Etdhyi5d9yhB1i+nKo1nYhZ+rBHwBRa0Mfo8v396Z46Z0QsNy74YS4fT Soz5dIgU9vjO/2iO8wS8LhJHaREiGPUoWvoL8gpjbhXQWTSU8EB4r/uUMzplX1k1YW 1nb34j76XLaMfx4USK4qL7EFpDls8/dD6FuXkr676yrD7XNRudFxuPMC/9l3Qs1cjT dcUxuwlsUY6ke9IkfK8XbiyeSK+9cfIjhPSfdc/Ht4OnctzpsCRYL9W3svZlg7f66N 9pKp+lf+NBkth4w5h2IfZQtDFA/lFfI1m6yTnCTMWBJyDptvc9o5x3dp5689tuzjC+ CbMHv0NeJupFA== From: Bjorn Helgaas To: Herbert Xu , "David S . Miller" Cc: linux-crypto@vger.kernel.org, linux-kernel@vger.kernel.org, Bjorn Helgaas , Giovanni Cabiddu , qat-linux@intel.com Subject: [PATCH 1/6] crypto: qat - drop redundant adf_enable_aer() Date: Tue, 7 Mar 2023 10:19:42 -0600 Message-Id: <20230307161947.857491-2-helgaas@kernel.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20230307161947.857491-1-helgaas@kernel.org> References: <20230307161947.857491-1-helgaas@kernel.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org From: Bjorn Helgaas pci_enable_pcie_error_reporting() enables the device to send ERR_* Messages. Since f26e58bf6f54 ("PCI/AER: Enable error reporting when AER is native"), the PCI core does this for all devices during enumeration, so the driver doesn't need to do it itself. Remove the redundant pci_enable_pcie_error_reporting() call from the driver. Also remove the corresponding pci_disable_pcie_error_reporting() from the driver .remove() path. Note that this only controls ERR_* Messages from the device. An ERR_* Message may cause the Root Port to generate an interrupt, depending on the AER Root Error Command register managed by the AER service driver. Signed-off-by: Bjorn Helgaas Cc: Giovanni Cabiddu Cc: qat-linux@intel.com Acked-by: Giovanni Cabiddu --- drivers/crypto/qat/qat_4xxx/adf_drv.c | 11 ++---- drivers/crypto/qat/qat_c3xxx/adf_drv.c | 9 ++--- drivers/crypto/qat/qat_c62x/adf_drv.c | 9 ++--- drivers/crypto/qat/qat_common/adf_aer.c | 35 ------------------- .../crypto/qat/qat_common/adf_common_drv.h | 2 -- drivers/crypto/qat/qat_dh895xcc/adf_drv.c | 9 ++--- 6 files changed, 9 insertions(+), 66 deletions(-) diff --git a/drivers/crypto/qat/qat_4xxx/adf_drv.c b/drivers/crypto/qat/qat_4xxx/adf_drv.c index b3a4c7b23864..025de43a572b 100644 --- a/drivers/crypto/qat/qat_4xxx/adf_drv.c +++ b/drivers/crypto/qat/qat_4xxx/adf_drv.c @@ -403,21 +403,19 @@ static int adf_probe(struct pci_dev *pdev, const struct pci_device_id *ent) pci_set_master(pdev); - adf_enable_aer(accel_dev); - if (pci_save_state(pdev)) { dev_err(&pdev->dev, "Failed to save pci state.\n"); ret = -ENOMEM; - goto out_err_disable_aer; + goto out_err; } ret = adf_sysfs_init(accel_dev); if (ret) - goto out_err_disable_aer; + goto out_err; ret = hw_data->dev_config(accel_dev); if (ret) - goto out_err_disable_aer; + goto out_err; ret = adf_dev_init(accel_dev); if (ret) @@ -433,8 +431,6 @@ static int adf_probe(struct pci_dev *pdev, const struct pci_device_id *ent) adf_dev_stop(accel_dev); out_err_dev_shutdown: adf_dev_shutdown(accel_dev); -out_err_disable_aer: - adf_disable_aer(accel_dev); out_err: adf_cleanup_accel(accel_dev); return ret; @@ -450,7 +446,6 @@ static void adf_remove(struct pci_dev *pdev) } adf_dev_stop(accel_dev); adf_dev_shutdown(accel_dev); - adf_disable_aer(accel_dev); adf_cleanup_accel(accel_dev); } diff --git a/drivers/crypto/qat/qat_c3xxx/adf_drv.c b/drivers/crypto/qat/qat_c3xxx/adf_drv.c index 1f4fbf4562b2..17a390718b10 100644 --- a/drivers/crypto/qat/qat_c3xxx/adf_drv.c +++ b/drivers/crypto/qat/qat_c3xxx/adf_drv.c @@ -193,17 +193,15 @@ static int adf_probe(struct pci_dev *pdev, const struct pci_device_id *ent) } pci_set_master(pdev); - adf_enable_aer(accel_dev); - if (pci_save_state(pdev)) { dev_err(&pdev->dev, "Failed to save pci state\n"); ret = -ENOMEM; - goto out_err_disable_aer; + goto out_err_free_reg; } ret = hw_data->dev_config(accel_dev); if (ret) - goto out_err_disable_aer; + goto out_err_free_reg; ret = adf_dev_init(accel_dev); if (ret) @@ -219,8 +217,6 @@ static int adf_probe(struct pci_dev *pdev, const struct pci_device_id *ent) adf_dev_stop(accel_dev); out_err_dev_shutdown: adf_dev_shutdown(accel_dev); -out_err_disable_aer: - adf_disable_aer(accel_dev); out_err_free_reg: pci_release_regions(accel_pci_dev->pci_dev); out_err_disable: @@ -241,7 +237,6 @@ static void adf_remove(struct pci_dev *pdev) } adf_dev_stop(accel_dev); adf_dev_shutdown(accel_dev); - adf_disable_aer(accel_dev); adf_cleanup_accel(accel_dev); adf_cleanup_pci_dev(accel_dev); kfree(accel_dev); diff --git a/drivers/crypto/qat/qat_c62x/adf_drv.c b/drivers/crypto/qat/qat_c62x/adf_drv.c index 4ccaf298250c..fd799044cdd7 100644 --- a/drivers/crypto/qat/qat_c62x/adf_drv.c +++ b/drivers/crypto/qat/qat_c62x/adf_drv.c @@ -193,17 +193,15 @@ static int adf_probe(struct pci_dev *pdev, const struct pci_device_id *ent) } pci_set_master(pdev); - adf_enable_aer(accel_dev); - if (pci_save_state(pdev)) { dev_err(&pdev->dev, "Failed to save pci state\n"); ret = -ENOMEM; - goto out_err_disable_aer; + goto out_err_free_reg; } ret = hw_data->dev_config(accel_dev); if (ret) - goto out_err_disable_aer; + goto out_err_free_reg; ret = adf_dev_init(accel_dev); if (ret) @@ -219,8 +217,6 @@ static int adf_probe(struct pci_dev *pdev, const struct pci_device_id *ent) adf_dev_stop(accel_dev); out_err_dev_shutdown: adf_dev_shutdown(accel_dev); -out_err_disable_aer: - adf_disable_aer(accel_dev); out_err_free_reg: pci_release_regions(accel_pci_dev->pci_dev); out_err_disable: @@ -241,7 +237,6 @@ static void adf_remove(struct pci_dev *pdev) } adf_dev_stop(accel_dev); adf_dev_shutdown(accel_dev); - adf_disable_aer(accel_dev); adf_cleanup_accel(accel_dev); adf_cleanup_pci_dev(accel_dev); kfree(accel_dev); diff --git a/drivers/crypto/qat/qat_common/adf_aer.c b/drivers/crypto/qat/qat_common/adf_aer.c index fe9bb2f3536a..bb7289032088 100644 --- a/drivers/crypto/qat/qat_common/adf_aer.c +++ b/drivers/crypto/qat/qat_common/adf_aer.c @@ -2,7 +2,6 @@ /* Copyright(c) 2014 - 2020 Intel Corporation */ #include #include -#include #include #include #include @@ -173,40 +172,6 @@ const struct pci_error_handlers adf_err_handler = { }; EXPORT_SYMBOL_GPL(adf_err_handler); -/** - * adf_enable_aer() - Enable Advance Error Reporting for acceleration device - * @accel_dev: Pointer to acceleration device. - * - * Function enables PCI Advance Error Reporting for the - * QAT acceleration device accel_dev. - * To be used by QAT device specific drivers. - */ -void adf_enable_aer(struct adf_accel_dev *accel_dev) -{ - struct pci_dev *pdev = accel_to_pci_dev(accel_dev); - - pci_enable_pcie_error_reporting(pdev); -} -EXPORT_SYMBOL_GPL(adf_enable_aer); - -/** - * adf_disable_aer() - Disable Advance Error Reporting for acceleration device - * @accel_dev: Pointer to acceleration device. - * - * Function disables PCI Advance Error Reporting for the - * QAT acceleration device accel_dev. - * To be used by QAT device specific drivers. - * - * Return: void - */ -void adf_disable_aer(struct adf_accel_dev *accel_dev) -{ - struct pci_dev *pdev = accel_to_pci_dev(accel_dev); - - pci_disable_pcie_error_reporting(pdev); -} -EXPORT_SYMBOL_GPL(adf_disable_aer); - int adf_init_aer(void) { device_reset_wq = alloc_workqueue("qat_device_reset_wq", diff --git a/drivers/crypto/qat/qat_common/adf_common_drv.h b/drivers/crypto/qat/qat_common/adf_common_drv.h index 7189265573c0..13f32c7b13fa 100644 --- a/drivers/crypto/qat/qat_common/adf_common_drv.h +++ b/drivers/crypto/qat/qat_common/adf_common_drv.h @@ -88,8 +88,6 @@ int adf_ae_start(struct adf_accel_dev *accel_dev); int adf_ae_stop(struct adf_accel_dev *accel_dev); extern const struct pci_error_handlers adf_err_handler; -void adf_enable_aer(struct adf_accel_dev *accel_dev); -void adf_disable_aer(struct adf_accel_dev *accel_dev); void adf_reset_sbr(struct adf_accel_dev *accel_dev); void adf_reset_flr(struct adf_accel_dev *accel_dev); void adf_dev_restore(struct adf_accel_dev *accel_dev); diff --git a/drivers/crypto/qat/qat_dh895xcc/adf_drv.c b/drivers/crypto/qat/qat_dh895xcc/adf_drv.c index ebeb17b67fcd..feb6e000cc6d 100644 --- a/drivers/crypto/qat/qat_dh895xcc/adf_drv.c +++ b/drivers/crypto/qat/qat_dh895xcc/adf_drv.c @@ -193,17 +193,15 @@ static int adf_probe(struct pci_dev *pdev, const struct pci_device_id *ent) } pci_set_master(pdev); - adf_enable_aer(accel_dev); - if (pci_save_state(pdev)) { dev_err(&pdev->dev, "Failed to save pci state\n"); ret = -ENOMEM; - goto out_err_disable_aer; + goto out_err_free_reg; } ret = hw_data->dev_config(accel_dev); if (ret) - goto out_err_disable_aer; + goto out_err_free_reg; ret = adf_dev_init(accel_dev); if (ret) @@ -219,8 +217,6 @@ static int adf_probe(struct pci_dev *pdev, const struct pci_device_id *ent) adf_dev_stop(accel_dev); out_err_dev_shutdown: adf_dev_shutdown(accel_dev); -out_err_disable_aer: - adf_disable_aer(accel_dev); out_err_free_reg: pci_release_regions(accel_pci_dev->pci_dev); out_err_disable: @@ -241,7 +237,6 @@ static void adf_remove(struct pci_dev *pdev) } adf_dev_stop(accel_dev); adf_dev_shutdown(accel_dev); - adf_disable_aer(accel_dev); adf_cleanup_accel(accel_dev); adf_cleanup_pci_dev(accel_dev); kfree(accel_dev); From patchwork Tue Mar 7 16:19:43 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bjorn Helgaas X-Patchwork-Id: 13164095 X-Patchwork-Delegate: herbert@gondor.apana.org.au Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 60F1AC678D5 for ; Tue, 7 Mar 2023 16:21:33 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230021AbjCGQVb (ORCPT ); Tue, 7 Mar 2023 11:21:31 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51144 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230091AbjCGQUt (ORCPT ); Tue, 7 Mar 2023 11:20:49 -0500 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0FDBC92261; Tue, 7 Mar 2023 08:20:41 -0800 (PST) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 99EDB614A0; Tue, 7 Mar 2023 16:20:40 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id D3C5CC4339B; Tue, 7 Mar 2023 16:20:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1678206040; bh=dbyjoIVdZ4lBnTgQnn+nqKdpjYFtjMzQny5eKIQrvxA=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=gl7v1xToC0Fj2VOhdrTtFXJm+3RndbJwJe1QiLn4pRlQvztRKlcUabxrkXwXOyOEx 3dpzZA5qjcRVuN4HGF0RhO7p68uR41JEf5wjb4UZCy+lOo1iOGrLBZAkn5EQQrsbq0 /vKkwUlwYap1A2rBi+3OpLRmHJWZth1DiCgHo3IOZm7WzYe0dsY9VJ0WwVNlYohIZH /WPM5TBTo9FGhi3aNO92dLN5c3QrMIhU05sY9LJXU2lmoa04EdD5J51MJNe3hMKRP2 UZPu2YVaPIbi4r8V8Cr64dVHlDlW/fBnAB7IwG/5maTsn/AW8oB5R+XMX674ENM28g WhD1akfPc72iQ== From: Bjorn Helgaas To: Herbert Xu , "David S . Miller" Cc: linux-crypto@vger.kernel.org, linux-kernel@vger.kernel.org, Bjorn Helgaas Subject: [PATCH 2/6] crypto: cavium/nitrox - remove unnecessary aer.h include Date: Tue, 7 Mar 2023 10:19:43 -0600 Message-Id: <20230307161947.857491-3-helgaas@kernel.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20230307161947.857491-1-helgaas@kernel.org> References: <20230307161947.857491-1-helgaas@kernel.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org From: Bjorn Helgaas is unused, so remove it. Signed-off-by: Bjorn Helgaas --- drivers/crypto/cavium/nitrox/nitrox_main.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/crypto/cavium/nitrox/nitrox_main.c b/drivers/crypto/cavium/nitrox/nitrox_main.c index 432a61aca0c5..65114f766e7d 100644 --- a/drivers/crypto/cavium/nitrox/nitrox_main.c +++ b/drivers/crypto/cavium/nitrox/nitrox_main.c @@ -1,5 +1,4 @@ // SPDX-License-Identifier: GPL-2.0-only -#include #include #include #include From patchwork Tue Mar 7 16:19:44 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bjorn Helgaas X-Patchwork-Id: 13164096 X-Patchwork-Delegate: herbert@gondor.apana.org.au Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 216B2C678D5 for ; Tue, 7 Mar 2023 16:21:50 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230380AbjCGQVs (ORCPT ); Tue, 7 Mar 2023 11:21:48 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52908 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230128AbjCGQU5 (ORCPT ); Tue, 7 Mar 2023 11:20:57 -0500 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AAE3672AB; Tue, 7 Mar 2023 08:20:49 -0800 (PST) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 63CABB81923; Tue, 7 Mar 2023 16:20:48 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id D0361C433D2; Tue, 7 Mar 2023 16:20:46 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1678206047; bh=Cp7E5FSLSZaUL/SqnknK8EgC65D/bG7PCojUaf5EAwc=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=a1Ux36CkdamqSgEkEqA/S38wrla2CNtuSPgUAda1NvSHF/OR3zDvSjfgjURLc9C7w S8dS5rdJ4puGUDRTQmm519yOuyhzuNhKF6PI/zHdGneZjG3hEppxYEv+kSP/ehaHfw LL45Rhk8MEjf8MkFji/OQExyUvdTov8+TkwC418CCjZnxL7Bx+7mfqPOqNQm8ZUNPq xlrfYpwrgBbNdeO+F1azghIOEma1yywwahWkViMzEnKiTPhakogL2DQEHkUSk7wDpR nhFUDxf+po250W1azmdRpft31tM0lEWunothnlASkUh8fhplkg7hEn25rFiD2+xys1 K5PF5OHVF8UEA== From: Bjorn Helgaas To: Herbert Xu , "David S . Miller" Cc: linux-crypto@vger.kernel.org, linux-kernel@vger.kernel.org, Bjorn Helgaas , Longfang Liu Subject: [PATCH 3/6] crypto: hisilicon/hpre - remove unnecessary aer.h include Date: Tue, 7 Mar 2023 10:19:44 -0600 Message-Id: <20230307161947.857491-4-helgaas@kernel.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20230307161947.857491-1-helgaas@kernel.org> References: <20230307161947.857491-1-helgaas@kernel.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org From: Bjorn Helgaas is unused, so remove it. Signed-off-by: Bjorn Helgaas Cc: Longfang Liu Acked-by: Longfang Liu --- drivers/crypto/hisilicon/hpre/hpre_main.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/crypto/hisilicon/hpre/hpre_main.c b/drivers/crypto/hisilicon/hpre/hpre_main.c index 923f9c279265..5d0adfb54a34 100644 --- a/drivers/crypto/hisilicon/hpre/hpre_main.c +++ b/drivers/crypto/hisilicon/hpre/hpre_main.c @@ -1,7 +1,6 @@ // SPDX-License-Identifier: GPL-2.0 /* Copyright (c) 2018-2019 HiSilicon Limited. */ #include -#include #include #include #include From patchwork Tue Mar 7 16:19:45 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bjorn Helgaas X-Patchwork-Id: 13164097 X-Patchwork-Delegate: herbert@gondor.apana.org.au Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id F0629C6FD1A for ; Tue, 7 Mar 2023 16:21:51 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230171AbjCGQVu (ORCPT ); Tue, 7 Mar 2023 11:21:50 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49912 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230170AbjCGQU7 (ORCPT ); Tue, 7 Mar 2023 11:20:59 -0500 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id F299D2A989; Tue, 7 Mar 2023 08:20:53 -0800 (PST) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 7709EB8196F; Tue, 7 Mar 2023 16:20:52 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 0ABD2C433EF; Tue, 7 Mar 2023 16:20:50 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1678206051; bh=Xe7gneFS+z8pJedFvsMRTePDLYZ/SalTvqSIYvsJA4E=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=txX7GDJ6gMORqofygT6sYC8aNJfPQQVhACdjT60OUA1H8yjN97UACcqGmpwVfPIew yRie355zeNNYU4l56QI3C3rKUCZSXOKBZ3nWAb2RvbOs/hSoMv15zf8TosQ0yNsQQK XPYgp5sK2J07t5PPtfsJN1D4E3uP/kAujy4D+zxdo7Qd3JQ0sNZYRBCsDNS3y5u2If 3EzpQzsLjK3K8OIg/jqDMUDTUn3OuwcoepBuJUCqpNo2M+F6kyIuv2od2znSljcGOA hiS+NkFibWpN9ttgmwq2VUJp1ffWNAqfY6EWGMIMqEWglQ3kkII2YQf4DyWWlb8nAT LZlGCK8PkrZQQ== From: Bjorn Helgaas To: Herbert Xu , "David S . Miller" Cc: linux-crypto@vger.kernel.org, linux-kernel@vger.kernel.org, Bjorn Helgaas , Weili Qian , Zhou Wang Subject: [PATCH 4/6] crypto: hisilicon/qm - remove unnecessary aer.h include Date: Tue, 7 Mar 2023 10:19:45 -0600 Message-Id: <20230307161947.857491-5-helgaas@kernel.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20230307161947.857491-1-helgaas@kernel.org> References: <20230307161947.857491-1-helgaas@kernel.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org From: Bjorn Helgaas is unused, so remove it. Signed-off-by: Bjorn Helgaas Cc: Weili Qian Cc: Zhou Wang Acked-by: Longfang Liu --- drivers/crypto/hisilicon/qm.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/crypto/hisilicon/qm.c b/drivers/crypto/hisilicon/qm.c index e4c84433a88a..8b563ab47484 100644 --- a/drivers/crypto/hisilicon/qm.c +++ b/drivers/crypto/hisilicon/qm.c @@ -2,7 +2,6 @@ /* Copyright (c) 2019 HiSilicon Limited. */ #include #include -#include #include #include #include From patchwork Tue Mar 7 16:19:46 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bjorn Helgaas X-Patchwork-Id: 13164098 X-Patchwork-Delegate: herbert@gondor.apana.org.au Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 83A00C678D5 for ; Tue, 7 Mar 2023 16:21:52 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230183AbjCGQVv (ORCPT ); Tue, 7 Mar 2023 11:21:51 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49968 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230135AbjCGQVA (ORCPT ); Tue, 7 Mar 2023 11:21:00 -0500 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 29898303DA; Tue, 7 Mar 2023 08:20:55 -0800 (PST) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id B680261460; Tue, 7 Mar 2023 16:20:54 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id EDC1BC433D2; Tue, 7 Mar 2023 16:20:53 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1678206054; bh=5hhKsNoDQIsh54m9/QrCUyGCfOvHbzc2kQt6KXDZb+I=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=YMqgPDMJQNOHZaXRQn3AUL3l8+2rw7e11Zrrx5KQ8j+MP+AzCAs68wYZZFJpcbXlh pgA3LmKN2/Eq2Tq/w3QiX+Xjug8cBPyUY2j+sDQi9IlALhuxaFpSKUfAUSvPDW1tWy 8QFFCSWkq/Yd4RWSfCQQa/zE52py4gusFqliyrjP+c+QzatLLo9L36q48vZf8RUvc/ 2BIzIdLHo63ceWFFHPgJ9S5s7nAsQxYBp8T9QjD2rJnTBGAi0WxkLncOJnHIxkJ7F1 s1pdiUVx3DbCz8y3rnS47r++3Luc2fufCFanDdl0Rx3DzOF2OuL8Id4WSv6TCqkFSO vmtWuVqTgNHeA== From: Bjorn Helgaas To: Herbert Xu , "David S . Miller" Cc: linux-crypto@vger.kernel.org, linux-kernel@vger.kernel.org, Bjorn Helgaas , Kai Ye , Longfang Liu Subject: [PATCH 5/6] crypto: hisilicon/sec - remove unnecessary aer.h include Date: Tue, 7 Mar 2023 10:19:46 -0600 Message-Id: <20230307161947.857491-6-helgaas@kernel.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20230307161947.857491-1-helgaas@kernel.org> References: <20230307161947.857491-1-helgaas@kernel.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org From: Bjorn Helgaas is unused, so remove it. Signed-off-by: Bjorn Helgaas Cc: Kai Ye Cc: Longfang Liu Acked-by: Longfang Liu --- drivers/crypto/hisilicon/sec2/sec_main.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/crypto/hisilicon/sec2/sec_main.c b/drivers/crypto/hisilicon/sec2/sec_main.c index 93572c0d4faa..77f9f131b850 100644 --- a/drivers/crypto/hisilicon/sec2/sec_main.c +++ b/drivers/crypto/hisilicon/sec2/sec_main.c @@ -2,7 +2,6 @@ /* Copyright (c) 2019 HiSilicon Limited. */ #include -#include #include #include #include From patchwork Tue Mar 7 16:19:47 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bjorn Helgaas X-Patchwork-Id: 13164099 X-Patchwork-Delegate: herbert@gondor.apana.org.au Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id DC65CC6FD1B for ; Tue, 7 Mar 2023 16:21:54 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230407AbjCGQVw (ORCPT ); Tue, 7 Mar 2023 11:21:52 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50730 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230225AbjCGQVB (ORCPT ); Tue, 7 Mar 2023 11:21:01 -0500 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 083A330EBD; Tue, 7 Mar 2023 08:21:00 -0800 (PST) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id B7FB4B818F9; Tue, 7 Mar 2023 16:20:58 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 43F98C4339B; Tue, 7 Mar 2023 16:20:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1678206057; bh=wSv+wBvOxdbOX2CPseOOw50wCkRjkn87L3Cxx0Ykn7c=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=KsU7lagfmlFEbM5twUj624Gk1dHOUiGxus0K5XpvpJgIS+nVyqcZcoUBNDhV+FAKY zGRxdcBA+4MEHalFS+f9puYeyCVs8tNbk5NMOr2Q+RyixN512t7wEj5jqsNG5r2JIS kmpvSQ5I8+kzX3ueYQPIrahldymCx3RgNMQUaQmAwQcOCHdaT7sT+Fniggj9gbX0gZ nrLsMuHAiquJlrdsRNIPucdKZj9V7YlJ6C2LxNOh5uWVkzb+suVBHlg3dhVE7zKtWt NQePPBK33T81WwIqd0KpAoiN88Wd/+oR1R0DwrxzONHcOa0y/oatmysKQdslHihNr0 hkUGCUASQs88A== From: Bjorn Helgaas To: Herbert Xu , "David S . Miller" Cc: linux-crypto@vger.kernel.org, linux-kernel@vger.kernel.org, Bjorn Helgaas , Yang Shen , Zhou Wang , Nick Terrell Subject: [PATCH 6/6] crypto: hisilicon/zip - remove unnecessary aer.h include Date: Tue, 7 Mar 2023 10:19:47 -0600 Message-Id: <20230307161947.857491-7-helgaas@kernel.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20230307161947.857491-1-helgaas@kernel.org> References: <20230307161947.857491-1-helgaas@kernel.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org From: Bjorn Helgaas is unused, so remove it. Signed-off-by: Bjorn Helgaas Cc: Yang Shen Cc: Zhou Wang Cc: Nick Terrell Acked-by: Longfang Liu --- drivers/crypto/hisilicon/zip/zip_main.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/crypto/hisilicon/zip/zip_main.c b/drivers/crypto/hisilicon/zip/zip_main.c index 1549bec3aea5..f3ce34198775 100644 --- a/drivers/crypto/hisilicon/zip/zip_main.c +++ b/drivers/crypto/hisilicon/zip/zip_main.c @@ -1,7 +1,6 @@ // SPDX-License-Identifier: GPL-2.0 /* Copyright (c) 2019 HiSilicon Limited. */ #include -#include #include #include #include