[GIT PULL] NTB bug fixes for v4.13

From: Jon Mason
Date: Sat Aug 26 2017 - 23:50:22 EST


Hello Linus,
Here are a few NTB bug fixes for 4.13. Please consider pulling them.

Thanks,
Jon



The following changes since commit 5771a8c08880cdca3bfb4a3fc6d309d6bba20877:

Linux v4.13-rc1 (2017-07-15 15:22:10 -0700)

are available in the git repository at:

git://github.com/jonmason/ntb tags/ntb-4.13-bugfixes

for you to fetch changes up to 0eb46345364d7318b11068c46e8a68d5dc10f65e:

ntb: ntb_test: ensure the link is up before trying to configure the mws (2017-08-01 15:18:59 -0400)

----------------------------------------------------------------
NTB bug fixes to address an incorrect ntb_mw_count reference in the NTB
transport, improperly bringing down the link if SPADs are corrupted, and
an out-of-order issue regarding link negotiation and data passing.

----------------------------------------------------------------
Dave Jiang (1):
ntb: transport shouldn't disable link due to bogus values in SPADs

Logan Gunthorpe (2):
ntb: use correct mw_count function in ntb_tool and ntb_transport
ntb: ntb_test: ensure the link is up before trying to configure the mws

drivers/ntb/ntb_transport.c | 6 ++----
drivers/ntb/test/ntb_tool.c | 2 +-
tools/testing/selftests/ntb/ntb_test.sh | 4 ++++
3 files changed, 7 insertions(+), 5 deletions(-)