ntb: ntb_hw_intel: link_poll isn't clearing the pending status properly
authorDave Jiang <dave.jiang@intel.com>
Thu, 16 Feb 2017 23:22:36 +0000 (16:22 -0700)
committerJon Mason <jdmason@kudzu.us>
Fri, 17 Feb 2017 04:11:26 +0000 (23:11 -0500)
commit939ada5fb587840ae4db47846087be4162477b13
tree1e57988564ca684269dd94a1a94a09b9c0489228
parent8fcd0950c021d7be8493280541332b924b9de962
ntb: ntb_hw_intel: link_poll isn't clearing the pending status properly

On Skylake hardware, the link_poll isn't clearing the pending interrupt
bit.  Adding a new function for SKX that handles clearing of status bit the
right way.

Signed-off-by: Dave Jiang <dave.jiang@intel.com>
Fixes: 783dfa6c ("ntb: Adding Skylake Xeon NTB support")
Signed-off-by: Jon Mason <jdmason@kudzu.us>
drivers/ntb/hw/intel/ntb_hw_intel.c