From: Ang Tien Sung <tien.sung....@intel.com>

commit ec82dae4b4a85d369d313a9628873ade5095bcf7 from
https://github.com/altera-opensource/linux-socfpga.git

Increase the timeout for SDM (Secure device manager) data credits from
20ms to 40ms. Internal stress tests running at 500 loops failed with the
current timeout of 20ms. At the start of a FPGA configuration, the CVP
host driver reads the transmit credits from SDM. It then sends bitstream
FPGA data to SDM based on the total credits. Each credit allows the
CVP host driver to send 4kBytes of data. There are situations whereby,
the SDM did not respond in time during testing.

Signed-off-by: Ang Tien Sung <tien.sung....@intel.com>
Signed-off-by: Wenlin Kang <wenlin.k...@windriver.com>
---
 drivers/fpga/altera-cvp.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/fpga/altera-cvp.c b/drivers/fpga/altera-cvp.c
index 2a27199aa41e..311bb6f5e4ac 100644
--- a/drivers/fpga/altera-cvp.c
+++ b/drivers/fpga/altera-cvp.c
@@ -52,7 +52,7 @@
 /* V2 Defines */
 #define VSE_CVP_TX_CREDITS             0x49    /* 8bit */
 
-#define V2_CREDIT_TIMEOUT_US           20000
+#define V2_CREDIT_TIMEOUT_US           40000
 #define V2_CHECK_CREDIT_US             10
 #define V2_POLL_TIMEOUT_US             1000000
 #define V2_USER_TIMEOUT_US             500000
-- 
2.25.1

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#12576): 
https://lists.yoctoproject.org/g/linux-yocto/message/12576
Mute This Topic: https://lists.yoctoproject.org/mt/98921492/21656
Group Owner: linux-yocto+ow...@lists.yoctoproject.org
Unsubscribe: https://lists.yoctoproject.org/g/linux-yocto/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to