]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
fpga: altera-cvp: Increase credit timeout
authorKuhanh Murugasen Krishnan <kuhanh.murugasen.krishnan@intel.com>
Wed, 12 Feb 2025 22:12:49 +0000 (06:12 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 4 Jun 2025 12:37:59 +0000 (14:37 +0200)
commit0a90222954770af93a5adb62dd93315717f436df
tree4ce0d23f12ec3e0cb11fae3b194c37e225bfc20a
parent55883a34d309e0ccd194be3759aa48a264cc77fb
fpga: altera-cvp: Increase credit timeout

[ Upstream commit 0f05886a40fdc55016ba4d9ae0a9c41f8312f15b ]

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.ang@intel.com>
Signed-off-by: Kuhanh Murugasen Krishnan <kuhanh.murugasen.krishnan@intel.com>
Acked-by: Xu Yilun <yilun.xu@intel.com>
Link: https://lore.kernel.org/r/20250212221249.2715929-1-tien.sung.ang@intel.com
Signed-off-by: Xu Yilun <yilun.xu@linux.intel.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/fpga/altera-cvp.c