Received: by 2002:a25:f815:0:0:0:0:0 with SMTP id u21csp2737954ybd; Thu, 27 Jun 2019 18:43:47 -0700 (PDT) X-Google-Smtp-Source: APXvYqwoIDAYAv+nJ+pcynKOR64C0IUySExkPYtD72ZV1yVy6MLdHCBKdS2Ejwzx/kRH+z1Yfaz/ X-Received: by 2002:a65:63c3:: with SMTP id n3mr6624572pgv.139.1561686227496; Thu, 27 Jun 2019 18:43:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1561686227; cv=none; d=google.com; s=arc-20160816; b=o7Mca6v83RvLB/2R0YClBJmZ58c+3MByNU3uHbe34LyCNQtQb3tG1PTNupqR8VCX7L u9daQVpqkD+cqGBYlamDHlkRlvqVmJ73exdwRjXdJE1/BGlfCvSaofpUoaFTmPxysj60 tofev0sFRBiqXUA71nkfw/ZQr4u1Vti1f4q/G5vsPqzg5a8MaOsENjQw1P919MKVJlJ4 EgE/rd5jkUMgT9FowIbjCFXL7OBCqeeumvh/PvpO/dkKLHuKhX9TYi8Zw6opSIA2XrGR MWh7kwOBJqi7XHTsOEunF4OMKeMMmBpkm7VkGQITFvjfMkAcbh5Wl8+cpXtcNgapp5s3 ZqxQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:message-id:date:references :in-reply-to:subject:cc:to:from; bh=xrOW7Y/OYLgAZPJ5wdZQuNWh8LRHYAEXCrDKNCyYvH4=; b=X9yKCH6QgZo/KUXY+aL1FTZSwP64DcLkoSNycwgxJzrA2tKUMZf53XgmW0m0/3A49O ddJY0GEvP0PwzsKnktN5Le8n7uFYlQJfib+oX1uD3czs8DkDPUpKEdemCc5sT9NSIsVq Xrso3XHPH2SA1rzokMQ52xInGK+o50YO0L96ys5e8TSIG+KGdlZcyr8QZpeHnq+9esmy LrPJm2S8rtfVK8SWvJgjMkFji0Qm8Ti/b4wIX8p7skqvwEWz+ND3CU1wFS5z6iTuvrP3 K+W53i9N+jqdjzMPqGriWs0VVM9xOLUh9xoxRL2wqRW/PB6Y9TBGGqZRM6vuMd2jdxyz vG5A== 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 b16si777357pfd.126.2019.06.27.18.43.21; Thu, 27 Jun 2019 18:43:47 -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 S1726463AbfF1BnT (ORCPT + 99 others); Thu, 27 Jun 2019 21:43:19 -0400 Received: from bilbo.ozlabs.org ([203.11.71.1]:54515 "EHLO ozlabs.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726441AbfF1BnT (ORCPT ); Thu, 27 Jun 2019 21:43:19 -0400 Received: from authenticated.ozlabs.org (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mail.ozlabs.org (Postfix) with ESMTPSA id 45Zffr6p0rz9s3Z; Fri, 28 Jun 2019 11:43:16 +1000 (AEST) From: Michael Ellerman To: Herbert Xu , Haren Myneni Cc: 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 In-Reply-To: <20190627062610.olw3ojckkwil4jlk@gondor.apana.org.au> References: <20190627062610.olw3ojckkwil4jlk@gondor.apana.org.au> Date: Fri, 28 Jun 2019 11:43:16 +1000 Message-ID: <87tvcascwb.fsf@concordia.ellerman.id.au> MIME-Version: 1.0 Content-Type: text/plain Sender: linux-crypto-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org Herbert Xu writes: > 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? No. I assumed you'd take it because it's in drivers/crypto. If you want me to take it that's fine, just let me know. cheers