summaryrefslogtreecommitdiffstats
path: root/arch/x86/entry
diff options
context:
space:
mode:
authorHaren Myneni <haren@linux.vnet.ibm.com>2019-06-18 12:09:22 -0700
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-07-21 09:00:44 +0200
commit6d9584d642f8545dd8cb66a49e67b525b5a699a6 (patch)
treeb00de8b10724c9edcbf58111e7dc8de50b8f6543 /arch/x86/entry
parent4509f315cc8224ebdd02639c8a3f24dc63c9cb38 (diff)
downloadlinux-stable-6d9584d642f8545dd8cb66a49e67b525b5a699a6.tar.gz
linux-stable-6d9584d642f8545dd8cb66a49e67b525b5a699a6.tar.bz2
linux-stable-6d9584d642f8545dd8cb66a49e67b525b5a699a6.zip
crypto/NX: Set receive window credits to max number of CRBs in RxFIFO
commit e52d484d9869eb291140545746ccbe5ffc7c9306 upstream. 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 <haren@us.ibm.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'arch/x86/entry')
0 files changed, 0 insertions, 0 deletions