summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorSanjay R Mehta <sanju.mehta@amd.com>2019-02-15 09:21:19 +0000
committerJon Mason <jdmason@kudzu.us>2019-06-13 08:58:05 -0400
commit12c023d7c32ae14254c8903f0466d37dea6d21ed (patch)
tree9a4ed77194627872b0a4e00797cde760755e1db2 /tools
parentb1ee5998a5d2bb16fb2bb9a03a30a83a55012b92 (diff)
downloadlinux-12c023d7c32ae14254c8903f0466d37dea6d21ed.tar.bz2
NTB: ntb_perf: Clear stale values in doorbell and command SPAD register
when ntb_perf is unloaded, the command scratchpad register still retains the last initialized value of PERF_CMD_INVAL. When ntb_perf is re-loaded and reads peer command scratchpad register and it mis interprets the peer state as initialized. To avoid this, clearing the local side command scratchpad register in perf_disable_service Signed-off-by: Sanjay R Mehta <sanju.mehta@amd.com> Acked-by: Allen Hubbe <allenbh@gmail.com> Acked-by: Logan Gunthorpe <logang@deltatee.com> Acked-by: Serge Semin <fancer.lancer@gmail.com> Signed-off-by: Jon Mason <jdmason@kudzu.us>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions