Received: by 2002:a05:7412:b10a:b0:f3:1519:9f41 with SMTP id az10csp924510rdb; Fri, 1 Dec 2023 02:13:30 -0800 (PST) X-Google-Smtp-Source: AGHT+IGfZ6n8MaJ6pfhsfE2bvzh9ruoenaj9J42/BY59HNiU32Wt1cSXxS6si1vxLJYIT/CW+mYS X-Received: by 2002:a05:6870:a113:b0:1f5:b5ca:435e with SMTP id m19-20020a056870a11300b001f5b5ca435emr29074927oae.52.1701425610588; Fri, 01 Dec 2023 02:13:30 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701425610; cv=none; d=google.com; s=arc-20160816; b=hzkx26zO102EGdGNResBT0yzEHKrZor2aTCl3as9HXPudVwTOyVpWxpiyWlo7giVXL zZC5umGCyford7WPEqK4kjW8/zkN6b4myzvPP70JD1x4bqZQMomJJtetURByvjJz6BYq pQRtD/zJG4z7log/hnUuHbfylwsyNYEAhGpM4dziK1E6RGv9OfkHiSJEKXL43JKYdElx ceSeo0Y5z0cwnXHA5Cnn+AyZzjL14xVKRO35ADRr0U6fk/GimsxGUHQBBxU0pbcffSdf JkutTQs6nK7tqOqT6yxphYQyTZZTUBSoxxmRGYE/hMtt7v4ufytS/oWNmggpuQANIUy8 bTmw== 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=QL6rLQZOBarvByKrEWcL1DF+GMcGOu8kVzqzYogkLcs=; fh=LlxLn7ohw/kUyLbgaIlweTo3y+gsnQtQMxHkv0FW9nU=; b=OiiQaAffybVMxyHLHX6naHPhzOeY47d3gXJ1wX2VQp9gM9PmtODsnvRq4Gy1eoNo4d k+SN6Lh/SkjrjQrwH03i8ac2jlZJhKC1ydWXy0JjfThRLyC015cP7H/y0igkY3HLe5Om TH6fkqKGRng/ozT+y2559Wc0UxxcqmZwX7WLSHBgGT/fm2XBJSDUni5ctoE5vd4EOawb JsymKK7Rd/4g6dMRq4gQZweauq0oSubPjsuqNar3uAVbAkZzjuOqPUnIhRFLlcl/47ve wIv/WUVhIb7NS6UyVHGfs2yNBLhYoJ1hq6mM+VjouY1y/UCrgEWCeLE8j2cCmV+TuztR CD9Q== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from snail.vger.email (snail.vger.email. [2620:137:e000::3:7]) by mx.google.com with ESMTPS id y65-20020a638a44000000b005b915369810si3038175pgd.590.2023.12.01.02.13.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 01 Dec 2023 02:13:30 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) client-ip=2620:137:e000::3:7; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id D79A780FDDD6; Fri, 1 Dec 2023 02:13:28 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1378204AbjLAKNT (ORCPT + 99 others); Fri, 1 Dec 2023 05:13:19 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43344 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1378201AbjLAKNR (ORCPT ); Fri, 1 Dec 2023 05:13:17 -0500 Received: from abb.hmeau.com (abb.hmeau.com [144.6.53.87]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6E7D310D; Fri, 1 Dec 2023 02:13:23 -0800 (PST) Received: from loth.rohan.me.apana.org.au ([192.168.167.2]) by formenos.hmeau.com with smtp (Exim 4.94.2 #2 (Debian)) id 1r90WN-005hnB-0B; Fri, 01 Dec 2023 18:13:20 +0800 Received: by loth.rohan.me.apana.org.au (sSMTP sendmail emulation); Fri, 01 Dec 2023 18:13:28 +0800 Date: Fri, 1 Dec 2023 18:13:28 +0800 From: Herbert Xu To: Chenghai Huang Cc: davem@davemloft.net, linux-kernel@vger.kernel.org, linux-crypto@vger.kernel.org, shenyang39@huawei.com Subject: Re: [PATCH v2] crypto: hisilicon/zip - add zip comp high perf mode configuration Message-ID: References: <20231124054924.3964946-1-huangchenghai2@huawei.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20231124054924.3964946-1-huangchenghai2@huawei.com> X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_BLOCKED,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-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Fri, 01 Dec 2023 02:13:29 -0800 (PST) On Fri, Nov 24, 2023 at 01:49:24PM +0800, Chenghai Huang wrote: > To meet specific application scenarios, the function of switching between > the high performance mode and the high compression mode is added. > > Use the perf_mode=0/1 configuration to set the compression high perf mode, > 0(default, high compression mode), 1(high performance mode). These two > modes only apply to the compression direction and are compatible with > software algorithm in both directions. > > Signed-off-by: Chenghai Huang > --- > drivers/crypto/hisilicon/zip/zip_main.c | 65 +++++++++++++++++++++++++ > 1 file changed, 65 insertions(+) Patch applied. Thanks. -- Email: Herbert Xu Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt