Received: by 2002:a05:6358:4e97:b0:b3:742d:4702 with SMTP id ce23csp1453438rwb; Fri, 19 Aug 2022 04:07:43 -0700 (PDT) X-Google-Smtp-Source: AA6agR7QPNJPPiYwdokk+2/xX+U75T/tebsrmSJyMlehpl4E17ffqxLxEAXZ1tsuz3A8fC7q/zUv X-Received: by 2002:aa7:cc97:0:b0:445:afab:2634 with SMTP id p23-20020aa7cc97000000b00445afab2634mr5838966edt.54.1660907263322; Fri, 19 Aug 2022 04:07:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1660907263; cv=none; d=google.com; s=arc-20160816; b=s9h8m7G2zvP7zhNyXdyqwBfAJIvar4drDrpo8z/llTjgBKgFnQawLyxQmmRNS2Yp86 un3r6rgD3ivTe5MbuQtxc80XtpeLhJqUmCrAY0wopb5d+3EqPd7qQY9kPOuaUzJqlAsD cyfVSoHWV+/3xHhRUOVtsQn2Pu0NhgDuNtAs5w85x5hEC97PTgX8D+UdrK/8jtLdmFeW yUDWNa/6E489jjL+/e6wyPWN7Y+m8vz9CydrVo5kkg2NefMNyIiXDaNW886bnxdXawnq clP3miqZVcH3EnCgA0phhtbD3mK+lVxcozFVBcsrkxobk+UGt4LvBrP6/NKtw4e1+LOK MSNw== 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; bh=cU5qJSJPzCjTzHZzwGPYXMJD4Y4MzP3x9pyZu0J5g3U=; b=lkZ6iuz2lZ6GKdxubUW3cuHgJWg++O160EfrAjutlN9hU2+KAkTlnvjxoytmI0mZdm xdSHYqNsJyRz+N/ErkzJFjJgzjz3A0YVLv+Xa6VJLTfI4TursEdlvOVSSB/q3vggsrkw WohbQk0ngcEjsOPv4/dr1Q7J8ElmjZ8vcqe6IpRkvT+Vz+Qa8c3Ty5cCuPNcJCBL56tX HoW4YVJn6y/S6Hhv2bYI6Otbuv/9CeipP7MbdxaaFLFVVc3M7K0FEqVRalqU9ZjjHNv5 nfXcIkdMwBXccT4wbr+MswwHq5/oFXR6N9tADjOVcY1uBgRWGUeg/qOMFfNQI9ItIYlG z1GQ== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id hb8-20020a170907160800b00730a539ac16si2942008ejc.982.2022.08.19.04.07.17; Fri, 19 Aug 2022 04:07:43 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1348473AbiHSLFi (ORCPT + 99 others); Fri, 19 Aug 2022 07:05:38 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47124 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1348539AbiHSLEy (ORCPT ); Fri, 19 Aug 2022 07:04:54 -0400 Received: from fornost.hmeau.com (helcar.hmeau.com [216.24.177.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7F6F8FBA57; Fri, 19 Aug 2022 04:04:51 -0700 (PDT) Received: from gwarestrin.arnor.me.apana.org.au ([192.168.103.7]) by fornost.hmeau.com with smtp (Exim 4.94.2 #2 (Debian)) id 1oOzo0-00Cpol-EW; Fri, 19 Aug 2022 21:04:49 +1000 Received: by gwarestrin.arnor.me.apana.org.au (sSMTP sendmail emulation); Fri, 19 Aug 2022 19:04:48 +0800 Date: Fri, 19 Aug 2022 19:04:48 +0800 From: Herbert Xu To: Yang Shen Cc: davem@davemloft.net, linux-kernel@vger.kernel.org, linux-crypto@vger.kernel.org, wangzhou1@hisilicon.com, liulongfang@huawei.com Subject: Re: [PATCH] crypto: hisilicon/qm - remove unneeded hardware cache write back Message-ID: References: <20220813103545.27370-1-shenyang39@huawei.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220813103545.27370-1-shenyang39@huawei.com> X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE 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 On Sat, Aug 13, 2022 at 06:35:45PM +0800, Yang Shen wrote: > From: Weili Qian > > Data in the hardware cache needs to be written back to the memory > before the queue memory is released. Currently, the queue memory is > applied for when the driver is loaded and released when the driver is > removed. Therefore, the hardware cache does not need to be written back > when process puts queue. > > Signed-off-by: Weili Qian > Signed-off-by: Yang Shen > --- > drivers/crypto/hisilicon/qm.c | 1 - > 1 file changed, 1 deletion(-) Patch applied. Thanks. -- Email: Herbert Xu Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt