aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorChristophe Lombard <clombard@linux.vnet.ibm.com>2017-10-24 15:55:20 +0200
committerStewart Smith <stewart@linux.vnet.ibm.com>2017-11-09 16:52:30 -0600
commit8b6c089342c762a24eb3df7daf46eee8cae1d0eb (patch)
tree0f8927397e34bb3ed22ff4cafd24f9597316c701 /include
parente0ee24c27a172bcf482f6f2bc905e6211c134bcc (diff)
downloadskiboot-8b6c089342c762a24eb3df7daf46eee8cae1d0eb.zip
skiboot-8b6c089342c762a24eb3df7daf46eee8cae1d0eb.tar.gz
skiboot-8b6c089342c762a24eb3df7daf46eee8cae1d0eb.tar.bz2
capi: update ci store buffers and dma engines
The number of read (APC type traffic) and mmio store (MSG type traffic) resources assigned to the CAPP is controlled by the CAPP control register. According to the type of CAPI cards present on the server, we have to configure differently the CAPP messages and the DMA read engines given to the CAPP for use. Signed-off-by: Christophe Lombard <clombard@linux.vnet.ibm.com> Acked-by: Vaibhav Jain <vaibhav@linux.vnet.ibm.com> Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Diffstat (limited to 'include')
-rw-r--r--include/phb4-capp.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/phb4-capp.h b/include/phb4-capp.h
index a9b81f6..10cdc40 100644
--- a/include/phb4-capp.h
+++ b/include/phb4-capp.h
@@ -60,4 +60,9 @@
#define PHB4_CAPP_REG_OFFSET(p) ((p)->index == 0 ? 0x0 : CAPP1_REG_OFFSET)
+#define CAPP_MIN_STQ_ENGINES 0x00000001
+#define CAPP_MAX_STQ_ENGINES 0x00000002
+#define CAPP_MIN_DMA_READ_ENGINES 0x00000100
+#define CAPP_MAX_DMA_READ_ENGINES 0x00000200
+
#endif /* __PHB4_CAPP_H */