Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp4594192iob; Sun, 8 May 2022 18:35:13 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzekQOVYuXFiOsk2LqP4UFKt/5r7YIQNMCcmdkHqYH6u/ZbsaOF5DQghpOOgSEggHvzXR03 X-Received: by 2002:a17:90a:94c2:b0:1d9:3fbd:bbe1 with SMTP id j2-20020a17090a94c200b001d93fbdbbe1mr15486845pjw.59.1652060113649; Sun, 08 May 2022 18:35:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1652060113; cv=none; d=google.com; s=arc-20160816; b=bIKAavb8jagPqcUDqkk+0uUhjZkWNlVbZzOCS5rvA4ujhf2qcsEJ/s0pQH8R+kux92 4EWT5QUiQHaRe1snzVHowgWauU7xIGsPx8tR9SyVfyT/GRnY+s4+NhIOzSPMtgkifOLM 4/ZBZm/t799kRfDlX7yU2qNiObCPib6KvyJrSsGCYXhDozES4QZBZIfe1PArbnmHB82g 8ZFuMzWGDR60zC5/BhKDKBhuUTWVZBeWTtfUhSqMBesS2Q3cTn2CPK+KlWhgJcDLoAtE Jj2nYqiOLR16XPMKIg9dR1hMC8ATG5fMkpQqYIxGLc3e3s72YkoO79XDno0nbfN4CyDT HbCw== 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:dkim-signature :dkim-signature; bh=otT1FlxesMiB82wP0k5TkxLlvirVAyKN1H/idb/BNLs=; b=DRWIUBtmuPkVsvvLU0ovGSZgD82bG+cR4LbasROCmYuesF48hctXXRud2IVvwmjBEN 0I96V9Ogs6pI8b3bkhddO8o4iN+NRdJUfupqEN05kZgsrP9LNPV4KrndSAK0OP2jVcG6 jZPmTGC0PEV/nzzSuAvn17lNut/7de4YL7E45xlXkjjbZX7obOF54zMv5P5fiL+d33Cs mFmETfZMoknY//fSRb0TBnPHLroYODLhUYv/R2OMP1yy1QYbYeNg+8SkNb7iKqSrlpcL WUbdu0PolPU9Tj6Lvvdby4TGoF29h+Wr6Z6Xn+SpL3LLAxmyp00186R+RMkUF5l4PHf0 bjdw== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (expired) header.i=@kroah.com header.b=AMNry61Z; dkim=neutral (expired) header.i=@kroah.com header.b=pKka4+TD; spf=softfail (google.com: domain of transitioning linux-crypto-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id a192-20020a6390c9000000b003c62d1ccb94si9590057pge.179.2022.05.08.18.35.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 08 May 2022 18:35:13 -0700 (PDT) Received-SPF: softfail (google.com: domain of transitioning linux-crypto-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; dkim=neutral (expired) header.i=@kroah.com header.b=AMNry61Z; dkim=neutral (expired) header.i=@kroah.com header.b=pKka4+TD; spf=softfail (google.com: domain of transitioning linux-crypto-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 44BCB30F6E; Sun, 8 May 2022 18:34:57 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1350676AbiEFJ2F (ORCPT + 99 others); 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> X-Spam-Status: No, score=-1.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,RDNS_NONE, SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no 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-crypto@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