Skip to content
Commit eeb2d86e authored by Ang Tien Sung's avatar Ang Tien Sung Committed by Liwei Song
Browse files

HSD #1508914759: firmware: stratix10-svc: fix FPGA reconfiguration SVC timeout

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

 socfpga-5.15.30-lts.

Modifying the driver to return a single callback for every SMC call.
As the SVC driver sends a callback for every block of memory reclaimed at the end of
every FPGA data transfer, it triggers multiple callbacks.
The additional callbacks triggers the FPGA driver to start a new block of 512kBytes
transfer without waiting for the previous 512kBytes of data to be done.
As a result, it starts waiting earlier and eventually time-outs.
The change also  increases the time-out of the FPGA reconfiguration
as it is too close to the threshold.

Reported-by: default avatarRussell Zhang <russell.zhang@nokia-sbell.com>
Signed-off-by: default avatarAng Tien Sung <tien.sung.ang@intel.com>
Signed-off-by: default avatarLiwei Song <liwei.song@windriver.com>
parent a5ed3903
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment