From 8b6c089342c762a24eb3df7daf46eee8cae1d0eb Mon Sep 17 00:00:00 2001 From: Christophe Lombard Date: Tue, 24 Oct 2017 15:55:20 +0200 Subject: 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 Acked-by: Vaibhav Jain Signed-off-by: Stewart Smith --- include/phb4-capp.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'include') 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 */ -- cgit v1.1