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)
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

Simple merge
Simple merge