mirror of
https://github.com/torvalds/linux.git
synced 2026-09-25 21:21:09 -04:00
firmware: stratix10-svc: correct reconfig flag and timeout values
Correct the incorrect flag value for COMMAND_RECONFIG_FLAG_PARTIAL and increase FPGA reconfig timeout values so that Intel service layer and FPGA manager drivers can work with all versions of firmware. Signed-off-by: Richard Gong <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
182486594a
commit
36847f9e3e
@@ -54,18 +54,17 @@
|
||||
* Flag bit for COMMAND_RECONFIG
|
||||
*
|
||||
* COMMAND_RECONFIG_FLAG_PARTIAL:
|
||||
* Set to FPGA configuration type (full or partial), the default
|
||||
* is full reconfig.
|
||||
* Set to FPGA configuration type (full or partial).
|
||||
*/
|
||||
#define COMMAND_RECONFIG_FLAG_PARTIAL 0
|
||||
#define COMMAND_RECONFIG_FLAG_PARTIAL 1
|
||||
|
||||
/**
|
||||
* Timeout settings for service clients:
|
||||
* timeout value used in Stratix10 FPGA manager driver.
|
||||
* timeout value used in RSU driver
|
||||
*/
|
||||
#define SVC_RECONFIG_REQUEST_TIMEOUT_MS 100
|
||||
#define SVC_RECONFIG_BUFFER_TIMEOUT_MS 240
|
||||
#define SVC_RECONFIG_REQUEST_TIMEOUT_MS 300
|
||||
#define SVC_RECONFIG_BUFFER_TIMEOUT_MS 720
|
||||
#define SVC_RSU_REQUEST_TIMEOUT_MS 300
|
||||
|
||||
struct stratix10_svc_chan;
|
||||
|
||||
Reference in New Issue
Block a user