NTB: Xeon Doorbell errata workaround
authorJon Mason <jon.mason@intel.com>
Fri, 6 Sep 2013 23:51:16 +0000 (16:51 -0700)
committerJon Mason <jon.mason@intel.com>
Wed, 20 Nov 2013 16:57:30 +0000 (09:57 -0700)
commitc529aa30337b928bd6bc34293608cb3d4505856e
tree48cb1e6180ecb243e923f65fa8436a7fa77db8f7
parent5e01dc7b26d9f24f39abace5da98ccbd6a5ceb52
NTB: Xeon Doorbell errata workaround

Modifications to the 14th bit of the B2BDOORBELL register will not be
mirrored to the remote system due to a hardware issue.  To get around
the issue, shrink the number of available doorbell bits by 1.  The max
number of doorbells was being used as a way to referencing the Link
Doorbell bit.  Since this would no longer work, the driver must now
explicitly reference that bit.

This does not affect the xeon_errata_workaround case, as it is not using
the b2bdoorbell register.

Signed-off-by: Jon Mason <jon.mason@intel.com>
drivers/ntb/ntb_hw.c
drivers/ntb/ntb_regs.h