From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 6B574C433EF for ; Fri, 6 May 2022 09:24:24 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1344584AbiEFJ2F (ORCPT ); Fri, 6 May 2022 05:28:05 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41278 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1343615AbiEFJ2E (ORCPT ); Fri, 6 May 2022 05:28:04 -0400 Received: from wout1-smtp.messagingengine.com (wout1-smtp.messagingengine.com [64.147.123.24]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A151C64718; Fri, 6 May 2022 02:24:21 -0700 (PDT) Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.west.internal (Postfix) with ESMTP id 69B293200AC4; Fri, 6 May 2022 05:24:19 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute5.internal (MEProxy); Fri, 06 May 2022 05:24:20 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kroah.com; h=cc :cc:content-type:date:date:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:sender:subject :subject:to:to; s=fm1; t=1651829058; x=1651915458; bh=otT1FlxesM iB82wP0k5TkxLlvirVAyKN1H/idb/BNLs=; b=AMNry61Zua6gByLyYbEiS9r73X vJpNxNXUZQt3Y46veGlmJrwlAlB0u7QP2JYxz4nV1zDg2oI6aGTDSrwQOuKUntLc odTOOT+k/ILE1+DH5Szg2zCx2ifnlU/TtbCNO0cQzUpQAhVUfzngglCTRoE7TkJU GHlK6XFa43P+QSnc8Mco9tWo4UkJdOBMnDl0eKD4cicS7Tuil9k3fXnECvDm0B32 3wGC2moW0pNbDTsSgVorREPRYmGOxd6b6u8/Y+O34bHMlveDx716bJ/MT371u+05 FC6lN0PDrs5yuQYHT4yrWToe8+jfrO6plvG8PBi6BfuXfm1Riu2TH8i1Rl7g== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-type:date:date:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:sender:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm1; t=1651829058; x= 1651915458; bh=otT1FlxesMiB82wP0k5TkxLlvirVAyKN1H/idb/BNLs=; b=p Kka4+TDc/xn/WbLYzzwZiS1WkRRwAR32AVHU5Y5PngRFVQGeRNjIvkhsOMvePdB+ QKwyu52TTNZDiDt0jEu3PLAHPNIi1nhWXBt+i6Iq+IqSCQwZITn69JpFJPAgutyt ljDQ0tqVFN7mhdKBMWQp8sb+0GacnfvV6aZU83QL9ZjYFaj/ZbxnAJ392ZM5QOBS K78j1pUHuWKUisVuz5KYIKUJsxgGr4mDVuTKDOZGUrxEI0CUwowOZlGxxnO3xK+K 32JBWOTcbaJMe7pkpPGYq/9E4BxwEuiXUiyW+XcM21EtDQrFFQbvPkqItSJ1TWy0 RiywlA3cJiiS1O1+Duu9Q== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvfedrfeefgdduhecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpeffhffvvefukfhfgggtuggjsehttdertddttddvnecuhfhrohhmpefirhgvghcu mffjuceoghhrvghgsehkrhhorghhrdgtohhmqeenucggtffrrghtthgvrhhnpeehgedvve dvleejuefgtdduudfhkeeltdeihfevjeekjeeuhfdtueefhffgheekteenucevlhhushht vghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehgrhgvgheskhhrohgrhh drtghomh X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Fri, 6 May 2022 05:24:17 -0400 (EDT) Date: Fri, 6 May 2022 11:24:14 +0200 From: Greg KH To: Giovanni Cabiddu Cc: herbert@gondor.apana.org.au, linux-crypto@vger.kernel.org, qat-linux@intel.com, vdronov@redhat.com, stable@vger.kernel.org, Marco Chiappero Subject: Re: [PATCH 02/12] crypto: qat - refactor submission logic Message-ID: References: <20220506082327.21605-1-giovanni.cabiddu@intel.com> <20220506082327.21605-3-giovanni.cabiddu@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220506082327.21605-3-giovanni.cabiddu@intel.com> Precedence: bulk List-ID: X-Mailing-List: stable@vger.kernel.org On Fri, May 06, 2022 at 09:23:17AM +0100, Giovanni Cabiddu wrote: > Move the submission loop to a new function, qat_alg_send_message(), and > share it between the symmetric and the asymmetric algorithms. > > If the HW queues are full return -ENOSPC instead of -EBUSY. > > For both symmetric and asymmetric services set the number of retries > before returning an error to a value that works for both, 20 (was 10 for > symmetric and 100 for asymmetric). > > Cc: stable@vger.kernel.org > Signed-off-by: Giovanni Cabiddu > Reviewed-by: Marco Chiappero What does this "fix" to require it to be backported to stable trees? thanks, greg k-h