Message ID | 20241123070127.332773-6-kanchana.p.sridhar@intel.com (mailing list archive) |
---|---|
State | New |
Headers | show
Return-Path: <owner-linux-mm@kvack.org> X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by smtp.lore.kernel.org (Postfix) with ESMTP id 646F0E6ADE8 for <linux-mm@archiver.kernel.org>; Sat, 23 Nov 2024 07:01:45 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 4431B6B0092; Sat, 23 Nov 2024 02:01:37 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id 3AC756B0093; Sat, 23 Nov 2024 02:01:37 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 1F5EE6B0095; Sat, 23 Nov 2024 02:01:37 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0014.hostedemail.com [216.40.44.14]) by kanga.kvack.org (Postfix) with ESMTP id E928A6B0092 for <linux-mm@kvack.org>; Sat, 23 Nov 2024 02:01:36 -0500 (EST) Received: from smtpin06.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay08.hostedemail.com (Postfix) with ESMTP id 750D6141B1E for <linux-mm@kvack.org>; Sat, 23 Nov 2024 07:01:36 +0000 (UTC) X-FDA: 82816464192.06.F9471DB Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.21]) by imf21.hostedemail.com (Postfix) with ESMTP id 729C21C0009 for <linux-mm@kvack.org>; Sat, 23 Nov 2024 07:01:33 +0000 (UTC) Authentication-Results: imf21.hostedemail.com; dkim=pass header.d=intel.com header.s=Intel header.b=hmarHTiy; spf=pass (imf21.hostedemail.com: domain of kanchana.p.sridhar@intel.com designates 198.175.65.21 as permitted sender) smtp.mailfrom=kanchana.p.sridhar@intel.com; dmarc=pass (policy=none) header.from=intel.com ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1732345294; h=from:from:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:dkim-signature; bh=qdN5Jxr4ZkZjLL4IWTXD7VKDKpCa/mDMHWPxfrVw/QY=; b=tE4oI5Sz0hqk+IhoMKKESUkP/XlU4H40OUthF8dZD4a6tPaxd/rkraoeGSB52F3X8n2ZUH uWrzrOP3AqLXDPvoIavXI4ZjnM2vYj3JZZtgLxymgRv9u1lKXZhE+Np7FMQ5IwM2s/uUsz KcQRqku402zvivGdKU4yVos9HArHsHU= ARC-Authentication-Results: i=1; imf21.hostedemail.com; dkim=pass header.d=intel.com header.s=Intel header.b=hmarHTiy; spf=pass (imf21.hostedemail.com: domain of kanchana.p.sridhar@intel.com designates 198.175.65.21 as permitted sender) smtp.mailfrom=kanchana.p.sridhar@intel.com; dmarc=pass (policy=none) header.from=intel.com ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1732345294; a=rsa-sha256; cv=none; b=iqMGIG2V2ldIcQrK/dGFmvxhV2DAUqKyeoM0kq61qBfer2UYWGQFV9v3ZlidByr3+w3wU5 g7PllreYEV2nfy2yIMbF7e5eePccqJkLmJx3vjQH2KjTwzxlFevUI9K8epdrZ4vDJMafbb t8thREuIYAnNTpT8FyZF2j3sPHncxvo= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1732345295; x=1763881295; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=sUaKs4IKHRtAS2VJ+T+gUebh7+S3mchKFlm9dP1TtUQ=; b=hmarHTiycQgSB65eUN4Tg5bhegcuS/VVbXuNQj1yQXKw6gdjSRgGjKcu 8RvG9+bSPsMoIPUJRkc7EfN9jqN00Fy+LlGv65NcbROiY0gRrQ5gKyli8 QQJ7sUyZaBU1Wgr9D+lholG0cmwkJW+dTjsmgvLpgUTSq1Ug81BGDFHvJ XitANkk+JC8MlD0r4ttKLbrBouKqavGTIH2TwT1ObL1GXtKbXBHRPJUyV Z+LMXmYHG0vcFGyfWOJQQ8oqfNR3Tu4FBcSzPMzq3m5Z3AbsCaXaG9ylh UUV7jLf9gXAvPmtqOWAuAtIzjgHs9g7PKHcgHopSKA4haGO+7r7GY1IXN w==; X-CSE-ConnectionGUID: Pc8NNrdYQF+FHbcdZJwsCw== X-CSE-MsgGUID: xVV9IaiYQwKO12Z7NgCNCw== X-IronPort-AV: E=McAfee;i="6700,10204,11264"; a="32435511" X-IronPort-AV: E=Sophos;i="6.12,178,1728975600"; d="scan'208";a="32435511" Received: from orviesa008.jf.intel.com ([10.64.159.148]) by orvoesa113.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 22 Nov 2024 23:01:29 -0800 X-CSE-ConnectionGUID: X3bP/RyIT4erTLLHM7SmIw== X-CSE-MsgGUID: JCLeK2TqTU2sZVaYYC8rcQ== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.12,178,1728975600"; d="scan'208";a="91573559" Received: from unknown (HELO JF5300-B11A338T.jf.intel.com) ([10.242.51.115]) by orviesa008.jf.intel.com with ESMTP; 22 Nov 2024 23:01:28 -0800 From: Kanchana P Sridhar <kanchana.p.sridhar@intel.com> To: linux-kernel@vger.kernel.org, linux-mm@kvack.org, hannes@cmpxchg.org, yosryahmed@google.com, nphamcs@gmail.com, chengming.zhou@linux.dev, usamaarif642@gmail.com, ryan.roberts@arm.com, ying.huang@intel.com, 21cnbao@gmail.com, akpm@linux-foundation.org, linux-crypto@vger.kernel.org, herbert@gondor.apana.org.au, davem@davemloft.net, clabbe@baylibre.com, ardb@kernel.org, ebiggers@google.com, surenb@google.com, kristen.c.accardi@intel.com Cc: wajdi.k.feghali@intel.com, vinodh.gopal@intel.com, kanchana.p.sridhar@intel.com Subject: [PATCH v4 05/10] crypto: iaa - Disable iaa_verify_compress by default. Date: Fri, 22 Nov 2024 23:01:22 -0800 Message-Id: <20241123070127.332773-6-kanchana.p.sridhar@intel.com> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20241123070127.332773-1-kanchana.p.sridhar@intel.com> References: <20241123070127.332773-1-kanchana.p.sridhar@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Rspamd-Server: rspam07 X-Rspamd-Queue-Id: 729C21C0009 X-Stat-Signature: bm6z3wb1z4fxpq1eh49dhojjhzkwxn59 X-Rspam-User: X-HE-Tag: 1732345293-77277 X-HE-Meta: U2FsdGVkX1+P3ClwzAQVMl5sUDoioEOwy3BAO2g4Zg57IEFF0RNKKBM5Td8zhgWSn3PWnU9JywuP+aMG4CesWRQlgESP/XC/YXfWx5IV7ubo9UK84znL3U1T+OiwUajFuTvKGwavrZfLScZbEKpFHsz83o+Jho9H3ZeIBrREjYJeVT4zGupPr1w9Mv/3wk/TS4grgaTFKVVvWX8d9sJ1XgpFnjt8uQwjiLbfmdBhZ3WYSnKqGrfQYzYx58PVrP5sCd6N+6bFVgM0yxOXhPrxE+KfNlElqzMlZhPioQqpnrK2sVhfZavZ0oqxLE+7RyK6yalA17NqleLl8WA0fV9oFuf7e7W/ikYksZM63aIweLEqRd8e0u5sHLUEiRYhaTwi6IZOkgb93b+HrnbYix1OVndgm9diueU5v9rBmKiCRxWnoTenZnqfl/7rMCV26tpyZftSVNQuB3NiH/4bVPalzi+Bh0/exFzeyp+Uu9Bs/uQ+h1DMl2WN9wzWcFW3AVDKplTS1FHYUTAo1oELNJ5XIvqLL9MTfSsT4Nlhj2CzB0ZZ4XfLOVD5FmqphWqnu3E5F2wScpI3+eSYtW+YZb2mW4hXjwyUuvXVlR8Bnus18HHWcR82IkPJSI3PUTUIq3HKr8pKJ/q525kJlAyxSdOT9R/4iPU0FKCPNXbzXU28MtyG3q48p2+xBL4Yu7abxpT+taSoNHObxvN8GwupAvBkN7jDL44kURgp3PgcZdgRB8UO6JCsh1hKho/KKYeZP67TblwviHG9MdTzJfqrd6tVyvmFdGhd/PaVO6y6Gfvx06kHXY9tHSJH9jh6IqIiwKiiKNS+WPKL3//ReoLdtWAvAx1Jq+j3yUZaSqIMUaLUSTbzQMJpEt58Zs+TBF6RUdSeA1IZVQTmOPy+VVxw1BJrB1WYpBuLAA0e4Czx1KYIsOzDRGdfXa5VoPy9ENkpzHdmKLPQlHSlT8ND6W0k+6d 6qP1+GLk zIYh246fNEu0qYwqiWqwN98Ba3QoEkTy9TAyfPfdpee3XRLFeEKKP30HGMVVXNl+//CZFm7ZbwL4vq/lpLyNTulaX603/WA1djjojmFuc2lXhIHH43JOaLEBEgRewT/QMcA3Dj6qX59uWFfX4EjNRWPcASug0t2zkuYFm32E6hd5eNHFNA1gOT2hWRNtLyOtNNU1o/JwDiKlCAhSITd8vaKqB++Msyb2Hb96x X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: <linux-mm.kvack.org> List-Subscribe: <mailto:majordomo@kvack.org> List-Unsubscribe: <mailto:majordomo@kvack.org> |
Series |
zswap IAA compress batching
|
expand
|
diff --git a/drivers/crypto/intel/iaa/iaa_crypto_main.c b/drivers/crypto/intel/iaa/iaa_crypto_main.c index bd2db0b6f145..a572803a53d0 100644 --- a/drivers/crypto/intel/iaa/iaa_crypto_main.c +++ b/drivers/crypto/intel/iaa/iaa_crypto_main.c @@ -94,7 +94,7 @@ static bool iaa_crypto_enabled; static bool iaa_crypto_registered; /* Verify results of IAA compress or not */ -static bool iaa_verify_compress = true; +static bool iaa_verify_compress = false; static ssize_t verify_compress_show(struct device_driver *driver, char *buf) {
This patch makes it easier for IAA hardware acceleration in the iaa_crypto driver to be loaded by default with "iaa_verify_compress" disabled, to facilitate performance comparisons with software compressors (which also do not run compress verification by default). Earlier, iaa_crypto compress verification used to be enabled by default. With this patch, if users want to enable compress verification, they can do so with these steps: 1) disable all the IAA device/wq bindings that happen at boot time 2) rmmod iaa_crypto 3) modprobe iaa_crypto 4) echo 1 > /sys/bus/dsa/drivers/crypto/verify_compress 5) re-run initialization of the IAA devices and wqs Signed-off-by: Kanchana P Sridhar <kanchana.p.sridhar@intel.com> --- drivers/crypto/intel/iaa/iaa_crypto_main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)