Received: by 2002:ab2:b82:0:b0:1f3:401:3cfb with SMTP id 2csp335472lqh; Thu, 28 Mar 2024 03:44:35 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXqPu0jKnjXLzZvwUOt9eqSVGQXPjPebagHh0pyo/R5WetBPdQ5lNLn0KIoDa+EW68qMSSjPezpihTw78EGqvqP0np0O/SGYTFnU3mOEQ== X-Google-Smtp-Source: AGHT+IHcw4j4cY9Og3V+5eypZNqNozqwPtel7E+5t09q1sNdzNN63aQE7zX3GnoH6FcWRalJFkWq X-Received: by 2002:a17:906:4105:b0:a4e:29b8:8b1f with SMTP id j5-20020a170906410500b00a4e29b88b1fmr122692ejk.5.1711622675054; Thu, 28 Mar 2024 03:44:35 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1711622675; cv=pass; d=google.com; s=arc-20160816; b=aL4sgczhrmJXa66UkVQM4xUgFyFhS2Y+NoO7fglXMTgwOjtARz3hI9yyIis6n2gQgR 4I8pnzvI1EhLCFxsoDTf0uHq1lmFFa2lbRXe2eSB9dQI1AGm5bgtkE8kDwPssRiC7JKV cQDtozMIlaiR9TKivK08HKh3s+NQuBDo2VvXSrQmvVd0l12Y+ol90LY9FG9Xcprs75hk xCjoO9YaqfylWdyIuhInR7AooOnWEpE7Xr9uiMO6c5webp1wGWt3sqa5M3+auMQDdSzN WIp4nYuvaE+cIv9nHa7y2d+7giA8kIkBt5Oi/+C6s6MdDFGZvsJYqQVldMyhZ5rJR/76 3CCw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date; bh=zaPSvdZT3fN7/zd5OG7aqM5aSvLxOxPMzAnfMpgDqKk=; fh=5PXv7nLTK6zoNMWF/WuQSZF98abveT0v3oyM0ntGPrQ=; b=aF+IXLxpkOzvl5EZMTc6cizwIB9KBFQUIPydKs7s/e+W7NvNiuGTBtpTgzeGGRZ6s7 SicLhq94di+IiyHVNgs3vH7RlLbO08ostpFs92bEMa4/5lnNMt29fynw4IPngi2Bjwcn UH4RWLmJAbWlvLrKXkBwoQT551nrL6BUbtyej2Eg+BaMvAOeYEPkpdCHAOp4WjSXIwRC /+gh+mFOG1c6r/6e9dFKztse2Qb4m+1w0MhowkGRafWKpZtqyHyn1t2sAI9cjdubQMBt +B9c35FZr1PhOnljnxnBcp4jUzEl4HrmaoA0lmXhmMyEGwk3OdlbSJQCgISBIsah8eN3 KVUg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1 spf=pass spfdomain=gondor.apana.org.au dmarc=pass fromdomain=gondor.apana.org.au); spf=pass (google.com: domain of linux-crypto+bounces-2991-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-crypto+bounces-2991-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=REJECT sp=QUARANTINE dis=NONE) header.from=apana.org.au Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id q7-20020a170906360700b00a46d083a242si561455ejb.563.2024.03.28.03.44.34 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 28 Mar 2024 03:44:35 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-crypto+bounces-2991-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; arc=pass (i=1 spf=pass spfdomain=gondor.apana.org.au dmarc=pass fromdomain=gondor.apana.org.au); spf=pass (google.com: domain of linux-crypto+bounces-2991-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-crypto+bounces-2991-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=REJECT sp=QUARANTINE dis=NONE) header.from=apana.org.au Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id B71441F25CD1 for ; Thu, 28 Mar 2024 10:44:34 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 28C167CF17; Thu, 28 Mar 2024 10:44:28 +0000 (UTC) X-Original-To: linux-crypto@vger.kernel.org Received: from abb.hmeau.com (abb.hmeau.com [144.6.53.87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id D143F53818; Thu, 28 Mar 2024 10:44:24 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=144.6.53.87 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711622668; cv=none; b=oG1aN3nTFwpdYQT7MBFfwWc7gG561pTtUc/aDeTLsAozX5ixEznjg0LyfDc6tQS6f3VuVv8onEQFk9Ub3LGEPqN5i5FYzYNCu+dJd5F6rkWAw0fhUqU8ntyCKczvTVmbwHgoQ+lure/VzYRvMciAp5uM/jd4LpNGn8YLqWOlRBI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711622668; c=relaxed/simple; bh=mhF/HUvrBvoHvRE2SKCDRMWLPtYp46iCtm+XUxhGaXM=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=VHDYp9M6Mx162fxpQ5T90uP6Aw0l2ZfWliqRdbe3G2tZTMk2OZc/TP1HI1B3/Aje6REL8wmBtGy4LgBvdQrnkiYsUrltsaPxqbI7wnVYb53xN159BOWqvqG4hJ7vOPc3uGJbJAY5Dyh3n1HvofBxnGopS4cpd44Pi6K1pat+TAg= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=gondor.apana.org.au; spf=pass smtp.mailfrom=gondor.apana.org.au; arc=none smtp.client-ip=144.6.53.87 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=gondor.apana.org.au Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gondor.apana.org.au 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 1rpnF1-00C8Ar-KN; Thu, 28 Mar 2024 18:44:16 +0800 Received: by loth.rohan.me.apana.org.au (sSMTP sendmail emulation); Thu, 28 Mar 2024 18:44:32 +0800 Date: Thu, 28 Mar 2024 18:44:32 +0800 From: Herbert Xu To: Tom Zanussi Cc: davem@davemloft.net, andre.glover@linux.intel.com, linux-kernel@vger.kernel.org, linux-crypto@vger.kernel.org, dmaengine@vger.kernel.org Subject: Re: [PATCH 0/4] crypto: IAA stats bugfixes and simplifications Message-ID: References: <20240304212011.1525003-1-tom.zanussi@linux.intel.com> Precedence: bulk X-Mailing-List: linux-crypto@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20240304212011.1525003-1-tom.zanussi@linux.intel.com> On Mon, Mar 04, 2024 at 03:20:07PM -0600, Tom Zanussi wrote: > Hi Herbert, > > While doing some testing, I noticed a discrepancy in the > decomp_bytes_in stat, which the first patch in this series (crypto: > iaa - fix decomp_bytes_in stats) fixes. > > I also realized that there were some other problems unrelated to that > but also that the stats code could be simplified in a number of ways > and that some of it wasn't really useful. The stats code is debugging > code and has been helpful to quickly verify whether things are > basically working, but since it's there we should make it as accurate > and actually useful as possible. > > I realize the second patch (crypto: iaa - Remove comp/decomp delay > statistics) removes the code I just fixed up in a patch you just > merged (crypto: iaa - Fix comp/decomp delay statistics) - let me know > if you want me to combine those if you want to remove the latter from > your branch... > > Thanks, > > Tom > > > *** BLURB HERE *** > > Tom Zanussi (4): > crypto: iaa - fix decomp_bytes_in stats > crypto: iaa - Remove comp/decomp delay statistics > crypto: iaa - Add global_stats file and remove individual stat files > crypto: iaa - Change iaa statistics to atomic64_t > > .../driver-api/crypto/iaa/iaa-crypto.rst | 76 +++++--- > drivers/crypto/intel/iaa/iaa_crypto.h | 16 +- > drivers/crypto/intel/iaa/iaa_crypto_main.c | 13 +- > drivers/crypto/intel/iaa/iaa_crypto_stats.c | 183 ++++++++---------- > drivers/crypto/intel/iaa/iaa_crypto_stats.h | 8 - > 5 files changed, 140 insertions(+), 156 deletions(-) > > -- > 2.34.1 All applied. Thanks. -- Email: Herbert Xu Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt