Received: by 2002:a25:f815:0:0:0:0:0 with SMTP id u21csp1689771ybd; Wed, 26 Jun 2019 23:27:02 -0700 (PDT) X-Google-Smtp-Source: APXvYqzUWZwJq46vNxfONelCBjHSx78aI/sSN6NlKjSlNjnMKy/PkHZNP4a7TTHxExaDz3eH9Wg/ X-Received: by 2002:a65:4342:: with SMTP id k2mr2149315pgq.218.1561616822045; Wed, 26 Jun 2019 23:27:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1561616822; cv=none; d=google.com; s=arc-20160816; b=LaVNbrS3VI1C5M5cF+PQovV8NQ7DFxgFO7zkT/bHHhjqtORn3ntFKvOOAFgJKXZtFW Vf+U6VF89EUzM3l74kmxoxhpHxhLYh+m7I/EAaPQi6LE7XfAJDc3w3pyWSYzZaDsxof4 YBiQwrgLvK8EIP/7QTVkmMZ44Zw7pRV8qu3LYoAzjWemWLQhuJMVMnclRrhFca5wDP7S uNjoYNDHkCGpzE45G1W1BKlFNt1MDiB0XtCgEshrFEtn0uJcZFkfsKj9W1/JRFIn3AM6 RyJZ4e4fdVObiISAFERHgdXOEHBAvavSI40DLguDSKgNV+WunizKHwTEAc+Jxm4J2LWb qFHw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:organization:in-reply-to :content-disposition:mime-version:message-id:subject:cc:to:from:date; bh=EcbPcilw7c66HC6D/d5evv+BvdQKcQ+zMaxMXUNFNhU=; b=TyA/CPbMHC2+tczRMcbqon+SbgRoGGo6NYnuYbM5D14sOC9r4J8xOLx4l5rR2bBZRY wWtZKdu7WZg6WPmDfQXGw+n62QhH4D4Qj7A1Cc0vH44mcHTVt1cPLIXc00zPrKl0Oe0D IA/3aHNb9+5kXYkBXkLcHr6zhDzrPeUAkhNvgQTQladrgX5nEFEE3mW39cAL8IenxLD+ +SatVPTAt/qY24zDD9F0KWjJ8uKRzY7K8hUwAy1QhjjNpAQMpL9308XYYJUyTHyuoWs7 Nf0b065fY/Xfa5e4EI/YfRxb+Qvgh/VBs5PX3qQPAYPCvCsrq+We0O82uGJO2dcSr1ie ot4g== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-crypto-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id f89si4378880pje.50.2019.06.26.23.26.42; Wed, 26 Jun 2019 23:27:02 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-crypto-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-crypto-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726359AbfF0G0Z (ORCPT + 99 others); Thu, 27 Jun 2019 02:26:25 -0400 Received: from helcar.hmeau.com ([216.24.177.18]:50262 "EHLO deadmen.hmeau.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725385AbfF0G0Z (ORCPT ); Thu, 27 Jun 2019 02:26:25 -0400 Received: from gondobar.mordor.me.apana.org.au ([192.168.128.4] helo=gondobar) by deadmen.hmeau.com with esmtps (Exim 4.89 #2 (Debian)) id 1hgNrM-00057r-PX; Thu, 27 Jun 2019 14:26:16 +0800 Received: from herbert by gondobar with local (Exim 4.89) (envelope-from ) id 1hgNrG-0005KA-L7; Thu, 27 Jun 2019 14:26:10 +0800 Date: Thu, 27 Jun 2019 14:26:10 +0800 From: Herbert Xu To: Haren Myneni Cc: mpe@ellerman.id.au, linuxppc-dev@lists.ozlabs.org, linux-crypto@vger.kernel.org, stable@vger.kernel.org Subject: Re: [PATCH V2] crypto/NX: Set receive window credits to max number of CRBs in RxFIFO Message-ID: <20190627062610.olw3ojckkwil4jlk@gondor.apana.org.au> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1560884962.22818.9.camel@hbabu-laptop> X-Newsgroups: apana.lists.os.linux.cryptoapi Organization: Core User-Agent: NeoMutt/20170113 (1.7.2) Sender: linux-crypto-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org Haren Myneni wrote: > > System gets checkstop if RxFIFO overruns with more requests than the > maximum possible number of CRBs in FIFO at the same time. The max number > of requests per window is controlled by window credits. So find max > CRBs from FIFO size and set it to receive window credits. > > Fixes: b0d6c9bab5e4 ("crypto/nx: Add P9 NX support for 842 compression engine") > CC: stable@vger.kernel.org # v4.14+ > Signed-off-by:Haren Myneni I presume this is being picked up by the powerpc tree? Thanks, -- Email: Herbert Xu Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt