Message ID | 20241103032111.333282-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 A8BD7E6781A for <linux-mm@archiver.kernel.org>; Sun, 3 Nov 2024 03:21:31 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id A279F6B008A; Sat, 2 Nov 2024 23:21:21 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 9D7196B008C; Sat, 2 Nov 2024 23:21:21 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 7DC656B0093; Sat, 2 Nov 2024 23:21:21 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0012.hostedemail.com [216.40.44.12]) by kanga.kvack.org (Postfix) with ESMTP id 53D2E6B008A for <linux-mm@kvack.org>; Sat, 2 Nov 2024 23:21:21 -0400 (EDT) Received: from smtpin10.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay09.hostedemail.com (Postfix) with ESMTP id 12C6080D61 for <linux-mm@kvack.org>; Sun, 3 Nov 2024 03:21:21 +0000 (UTC) X-FDA: 82743332196.10.23CA1C8 Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.14]) by imf12.hostedemail.com (Postfix) with ESMTP id 15C7740005 for <linux-mm@kvack.org>; Sun, 3 Nov 2024 03:21:04 +0000 (UTC) Authentication-Results: imf12.hostedemail.com; dkim=pass header.d=intel.com header.s=Intel header.b=Zg7K0sgS; dmarc=pass (policy=none) header.from=intel.com; spf=pass (imf12.hostedemail.com: domain of kanchana.p.sridhar@intel.com designates 192.198.163.14 as permitted sender) smtp.mailfrom=kanchana.p.sridhar@intel.com ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1730603958; a=rsa-sha256; cv=none; b=XPHLMOG1+Q2oVPtZ506C5uqm+MVleD5M7opofAoq2cUmb/ilxNUN6gwr7kp+4881HKZ8VN yuiDT6kzTP5yZMLstDNDA2xwY/Jrgms+NVcMtWD6bD0c3ICa34cZKZoelcPf5kOtSLrf3w GRepkNYJMvJfnVtKKpOkJ2eFZ1hcYEA= ARC-Authentication-Results: i=1; imf12.hostedemail.com; dkim=pass header.d=intel.com header.s=Intel header.b=Zg7K0sgS; dmarc=pass (policy=none) header.from=intel.com; spf=pass (imf12.hostedemail.com: domain of kanchana.p.sridhar@intel.com designates 192.198.163.14 as permitted sender) smtp.mailfrom=kanchana.p.sridhar@intel.com ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1730603958; 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=oauYIVWgF52IbGjNwKTzwuD93EHH4qPYrLAmXIwHNFc=; b=eDswFrjJwSccN/K2k3y7+3o1mxWmoVGOO2UDtIzzfxsfzDd0ygbZaYWHrgC7YboK91MuoG /WbSKgZTUJbUSTkAgfDGopa7E5u3TJsuLQBE8sosbB7Jy4nD1RLzayOSWRgh1rLVghXh5i vN9PVGjcVz+BSeX6+5quC2J513YKkhk= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1730604079; x=1762140079; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=yFcfU2b3t6Krq275SHD6OXxnKnpJ7Jmrcy/87R0bztw=; b=Zg7K0sgSdKCbKpxgATQwaYuG4iLhlcueIDn6G1UuUVw2vlnoIHnuw1OE zKaKMbwfn2wJFIimomJ4YP+IaBHXpYKAgVPBjaQm1wplSVgAti5DKabFx tjLpd1ZLvaMQqUE5Nk1jQDZ4XlzqVOy4PdE6ca4ftQaadKU54NaBh+aGP VVlJmCPUm7KKsW1AvrWYwosMRSd7L2FYnUXVThdDW8CMGh8JUFYba1FX4 2fkxheJju7uG6B4313V+dx7qQTToMTYYZUZlNW2adCkbnZws2wTqeSqi9 0SKS4Jt7R9GxzWqepLYrQNZOlN9G/yKqvx2kgi7gRl1x0dyMeJbPWwX70 A==; X-CSE-ConnectionGUID: 0sgpA5XST1C6vLuWSE6BZw== X-CSE-MsgGUID: 909VbPLyTMqFdY0/S63zfw== X-IronPort-AV: E=McAfee;i="6700,10204,11244"; a="30548260" X-IronPort-AV: E=Sophos;i="6.11,254,1725346800"; d="scan'208";a="30548260" Received: from orviesa006.jf.intel.com ([10.64.159.146]) by fmvoesa108.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 02 Nov 2024 20:21:13 -0700 X-CSE-ConnectionGUID: IZm7M30DRUaPx/sFE11RKA== X-CSE-MsgGUID: y0vGMHT2TVG++pkTY3TWAg== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.11,254,1725346800"; d="scan'208";a="83451881" Received: from unknown (HELO JF5300-B11A338T.jf.intel.com) ([10.242.51.115]) by orviesa006.jf.intel.com with ESMTP; 02 Nov 2024 20:21:13 -0700 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, zanussi@kernel.org Cc: wajdi.k.feghali@intel.com, vinodh.gopal@intel.com, kanchana.p.sridhar@intel.com Subject: [PATCH v2 05/13] crypto: iaa - Disable iaa_verify_compress by default. Date: Sat, 2 Nov 2024 20:21:03 -0700 Message-Id: <20241103032111.333282-6-kanchana.p.sridhar@intel.com> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20241103032111.333282-1-kanchana.p.sridhar@intel.com> References: <20241103032111.333282-1-kanchana.p.sridhar@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 15C7740005 X-Stat-Signature: p8dcdgdfazbfkk1aj9ud85u46sfr5w4k X-Rspam-User: X-Rspamd-Server: rspam05 X-HE-Tag: 1730604064-566536 X-HE-Meta: U2FsdGVkX19ui8RXKlnSdz2qmINPJDPFgmLvzOfIbP4LMIhkM2YBWGd5cQgiUciQ0Tk1N1L1JNWmSj6hXPuTaidQFmXPi8kUhdIn5sK5JOipRg/jQqIE/olfL2Lmxc2WR0HchU2wMSTJk9bl6BgSJE6ScpyL59ddcUNDQX6Hnyfv5hTMAF37kEZFJNiiGEuTgLkXN4F4q2pg4eeb3EJfPqLw/gTGn7G8V6LOOfiFoOdtg/4mcVJw7EaFZcDzM8ZXuSrQFqY/oc5R6Ljqk+aq06sqjbp0ZD7wBA8mJoGRl4FNcWOkQ58I2xM4DHbGpqHCQEoOj7uLpvV/HyV5FYOP0HruJO7tH7yrn5/KW762Dpwyj5ThzHJOfxNsv4xatwtbEf2bnyyf3RT3o+42yRZSflkFTzCup4hYYzqV79NAsFVDRaNKmzCbmUItPWKMksPO5bfej27MDYu9som/h6jP3yv7H+glt4h2MABhfPicvv4VDQYbZIPv28AkpbVH04Wj5FNl44CD7RbCKnXe5odDtugmiDi1RaHProzIKOOhi6a1Q2PgbEceEbsBLvEJii2QRek1ZKPOpzlFeFte2YHGukNv0S+2YYyjhgv05NiFvBo6ZTPQUHTYS1X39FHkdG+Du53ZtgHugydq+2sCwSiT5ecxnUT6HCgMw4vbCXXf86SmvJ+6+8LB0ZGUTSCY3Rts9286vOyCbpSogoWs2XEAgIs0TG7fvP2ViS7gDTpU/lLb3R9y4eChWUEgychfw/d3gYh9osXSGMwaSEvO/4U2Iyu33RRpiSL64vqWqXwnSCT4UEc4jO93t7uh7YrjLQvAQD61BsQdq0c88R/3vBLP4l+FBleUYeyrRKACzGkgm7yj+8PHoCuP2yci1Q552pQYfHAoHLI7M/VFnCmwO9C+NOY6c5piOMqS2S2k+D9XwB1L9jo29xhApDB4ORbovcHZcJaBKzFcmb2JUeVpEL8 IPBRIOA4 O3N+Vyx//OoTeLzGTY1Vpt5aJd56TLtTkU4245cjXSlo2Ipc0rtiRRTrbGJTo83AjohB4tuO6pXJ1AoVhEMqFZ7nIqwfqFKSW3aQ+edp7OY5E6e855nB2GNhcHH3/vzqXMGW7lg4nzTfsVDEVRd2pw+xgtQP3W8jqNnjP2Vh96vRC4U5JvioOMQJUqQ1D0NDsvvYDyA/B8bHHeWgS6zsu3qY+Demtf94HAudLBRkJeMB73e4= 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 13f9d22811ff..c4b143dd1ddd 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(-)