]> git.baikalelectronics.ru Git - kernel.git/commit
ntb_tool: Add memory window debug support
authorLogan Gunthorpe <logang@deltatee.com>
Fri, 3 Jun 2016 20:50:33 +0000 (14:50 -0600)
committerJon Mason <jdmason@kudzu.us>
Fri, 5 Aug 2016 14:21:06 +0000 (10:21 -0400)
commit6f6068f365b2958869f06a9bd965be6c51c59e25
tree8307d79700534732dbd8e2e6d5d9e81c6b8a0711
parentc8e9724f3300e04edf80bc96ecb25b5e7632387b
ntb_tool: Add memory window debug support

We allocate some memory window buffers when the link comes up, then we
provide debugfs files to read/write each side of the link.

This is useful for debugging the mapping when writing new drivers.

Signed-off-by: Logan Gunthorpe <logang@deltatee.com>
Acked-by: Allen Hubbe <Allen.Hubbe@emc.com>
Signed-off-by: Jon Mason <jdmason@kudzu.us>
drivers/ntb/test/ntb_tool.c