]> Git Repo - linux.git/commit - drivers/ntb/ntb_transport.c
ntb: transport shouldn't disable link due to bogus values in SPADs
authorDave Jiang <[email protected]>
Fri, 28 Jul 2017 22:10:48 +0000 (15:10 -0700)
committerJon Mason <[email protected]>
Tue, 1 Aug 2017 17:31:44 +0000 (13:31 -0400)
commitf3fd2afed8eee91620d05b69ab94c14793c849d7
tree7f97044f2119afca5f691e9345fa0b2356373b66
parentbc240eec4b074f5dc2753f295e980e66b72c90fb
ntb: transport shouldn't disable link due to bogus values in SPADs

It seems that under certain scenarios the SPAD can have bogus values caused
by an agent (i.e. BIOS or other software) that is not the kernel driver, and
that causes memory window setup failure. This should not cause the link to
be disabled because if we do that, the driver will never recover again. We
have verified in testing that this issue happens and prevents proper link
recovery.

Signed-off-by: Dave Jiang <[email protected]>
Acked-by: Allen Hubbe <[email protected]>
Signed-off-by: Jon Mason <[email protected]>
Fixes: 84f766855f61 ("ntb: stop link work when we do not have memory")
drivers/ntb/ntb_transport.c
This page took 0.053901 seconds and 4 git commands to generate.