summaryrefslogtreecommitdiffstats
path: root/include/nx.h
diff options
context:
space:
mode:
authorDan Streetman <ddstreet@ieee.org>2015-03-27 00:40:29 -0400
committerStewart Smith <stewart@linux.vnet.ibm.com>2015-03-31 15:42:37 +1100
commit3a340edbc9cc8428c48def84ffa183343f629748 (patch)
tree44fd25bec175cdf611106d2da979f7375af5f141 /include/nx.h
parent555c076c632f50eab5c21a37b939a970fcdf7efe (diff)
downloadblackbird-skiboot-3a340edbc9cc8428c48def84ffa183343f629748.tar.gz
blackbird-skiboot-3a340edbc9cc8428c48def84ffa183343f629748.zip
set NX crb input queues to 842 only
Set the NX crb input queues to be used by 842 only, by not reserving any input queue slots for the sym or asym engines. This allows the maximum number of 842 crb requests to be queued up, to (hopefully) improve 842 performance. This patch isn't critical, as the default is no extra input queue locations for asym, and only 1 extra input queue location for sym, so this only takes sym's extra location for use by 842. There is 1 each dedicated input queue location for asym and sym (and 842), so this patch won't prevent them from working if support is ever added for them. Signed-off-by: Dan Streetman <ddstreet@ieee.org> Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Diffstat (limited to 'include/nx.h')
-rw-r--r--include/nx.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/nx.h b/include/nx.h
index cf887c0a..08a6165c 100644
--- a/include/nx.h
+++ b/include/nx.h
@@ -96,6 +96,12 @@
#define NX_EE_CFG_CH1 PPC_BIT(62) /* 842 */
#define NX_EE_CFG_CH0 PPC_BIT(63) /* 842 */
+/* PowerBus Registers */
+#define NX_P7_CRB_IQ NX_P7_SAT(0x2, 0x0e)
+#define NX_P8_CRB_IQ NX_P8_SAT(0x2, 0x0f)
+#define NX_CRB_IQ_SYM PPC_BITMASK(0, 2)
+#define NX_CRB_IQ_ASYM PPC_BITMASK(3, 5)
+
/**************************************/
/* Register field values/restrictions */
OpenPOWER on IntegriCloud