powerpc/vas: Do not use default credits for receive window
authorHaren Myneni <haren@linux.ibm.com>
Thu, 16 Apr 2020 06:05:36 +0000 (23:05 -0700)
committerMichael Ellerman <mpe@ellerman.id.au>
Mon, 20 Apr 2020 06:53:01 +0000 (16:53 +1000)
commit04f6296ca7c34cbc78e077518c634cc5c392b3ec
treef6341f8b613aac86211ba483eb7a24eb65b71b5d
parentcf33e1e9383e1a09f6f3e308ebfbbe1871a19ff8
powerpc/vas: Do not use default credits for receive window

System checkstops if RxFIFO overruns with more requests than the
maximum possible number of CRBs allowed in FIFO at any time. So
max credits value (rxattr.wcreds_max) is set and is passed to
vas_rx_win_open() by the the driver.

Signed-off-by: Haren Myneni <haren@linux.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/1587017136.2275.1070.camel@hbabu-laptop
arch/powerpc/platforms/powernv/vas-window.c
arch/powerpc/platforms/powernv/vas.h