summaryrefslogtreecommitdiffstats
path: root/drivers/ntb/ntb_regs.h
diff options
context:
space:
mode:
authorJon Mason <jon.mason@intel.com>2013-09-06 16:51:16 -0700
committerJon Mason <jon.mason@intel.com>2013-11-20 09:57:30 -0700
commitc529aa30337b928bd6bc34293608cb3d4505856e (patch)
tree48cb1e6180ecb243e923f65fa8436a7fa77db8f7 /drivers/ntb/ntb_regs.h
parent5e01dc7b26d9f24f39abace5da98ccbd6a5ceb52 (diff)
downloadtalos-op-linux-c529aa30337b928bd6bc34293608cb3d4505856e.tar.gz
talos-op-linux-c529aa30337b928bd6bc34293608cb3d4505856e.zip
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>
Diffstat (limited to 'drivers/ntb/ntb_regs.h')
-rw-r--r--drivers/ntb/ntb_regs.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/ntb/ntb_regs.h b/drivers/ntb/ntb_regs.h
index aa4bdd393c58..5381b65a6f3a 100644
--- a/drivers/ntb/ntb_regs.h
+++ b/drivers/ntb/ntb_regs.h
@@ -55,6 +55,7 @@
#define SNB_MAX_COMPAT_SPADS 16
/* Reserve the uppermost bit for link interrupt */
#define SNB_MAX_DB_BITS 15
+#define SNB_LINK_DB 15
#define SNB_DB_BITS_PER_VEC 5
#define SNB_MAX_MW 2
#define SNB_ERRATA_MAX_MW 1
OpenPOWER on IntegriCloud