NTB: add helper functions to set and clear sideinfo
authorArindam Nath <arindam.nath@amd.com>
Wed, 5 Feb 2020 15:54:28 +0000 (21:24 +0530)
committerJon Mason <jdmason@kudzu.us>
Fri, 13 Mar 2020 14:04:20 +0000 (10:04 -0400)
commitae5f4bdccf030d524f995dfc364ea6a96c22882c
treee93a94be01569a8a2a4ca20c85eccb0afb58ae84
parent92abf4cb993ddce258acac32bd0068d1813a79d1
NTB: add helper functions to set and clear sideinfo

We define two new helper functions to set and clear
sideinfo registers respectively. These functions
take an additional boolean parameter which signifies
whether we want to set/clear the sideinfo register
of the peer(true) or local host(false).

Signed-off-by: Arindam Nath <arindam.nath@amd.com>
Signed-off-by: Jon Mason <jdmason@kudzu.us>
drivers/ntb/hw/amd/ntb_hw_amd.c
drivers/ntb/hw/amd/ntb_hw_amd.h