]> 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)
commit14113ea2a8497422eacc2a9fe9c6d670a828fdaa
tree8307d79700534732dbd8e2e6d5d9e81c6b8a0711
parenta964353b5e693f615f0aa6b621c5f8d106f49222
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