commit | 2aa2a77a489deda473c99a4c15074d092718912c | [log] [tgz] |
---|---|---|
author | Allen Hubbe <Allen.Hubbe@emc.com> | Mon Aug 31 09:30:59 2015 -0400 |
committer | Jon Mason <jdmason@kudzu.us> | Mon Sep 07 15:27:12 2015 -0400 |
tree | 07d9664437561503b5d7386f456f5f960d308f78 | |
parent | 86663c91866ae85c219f1a80ef2c9460b7ca5cd8 [diff] |
NTB: Improve index handling in B2B MW workaround Check that b2b_mw_idx is in range of the number of memory windows when initializing the device. The workaround is considered to be in effect only if the device b2b_idx is exactly UINT_MAX, instead of any index past the last memory window. Only print B2B MW workaround information in debugfs if the workaround is in effect. Signed-off-by: Allen Hubbe <Allen.Hubbe@emc.com> Signed-off-by: Jon Mason <jdmason@kudzu.us>