Re: [PATCH 4.4 50/53] ntb_transport: fix qp count bug

From: Ben Hutchings
Date: Tue Sep 26 2017 - 12:32:44 EST


On Mon, 2017-08-28 at 10:05 +0200, Greg Kroah-Hartman wrote:
> 4.4-stable review patch. If anyone has any objections, please let me know.
>
> ------------------
>
> From: Logan Gunthorpe <logang@xxxxxxxxxxxx>
>
> commit cb827ee6ccc3e480f0d9c0e8e53eef55be5b0414 upstream.
>
> In cases where there are more mw's than spads/2-2, the mw count gets
> reduced to match the limitation.
[...]

In 4.4-stable, it doesn't, so this patch doesn't fix anything. It looks
like 4.4 would need a backport of:

commit b17faba03fc72091f4d040b879def004316952ec
Author: Shyam Sundar S K <ssundark@xxxxxxx>
Date: Wed Dec 7 22:37:05 2016 +0530

ntb_transport: Limit memory windows based on available, scratchpads

Ben.

--
Ben Hutchings
Software Developer, Codethink Ltd.