diff options
| author | Tien Sung Ang <tien.sung.ang@altera.com> | 2026-06-29 23:57:19 -0700 |
|---|---|---|
| committer | Xu Yilun <yilun.xu@linux.intel.com> | 2026-07-07 11:16:59 +0800 |
| commit | c14a8b15c87b49efc3ef898cec8ac7c30336a080 (patch) | |
| tree | 1385cecb0706e4a8c565ffe72db28ad54269fa3f /tools/perf/scripts/python/export-to-postgresql.py | |
| parent | 08303f16480e24705dc4ffc7f2d89c2afbd33a58 (diff) | |
fpga: stratix10-soc: Fix SVC mailbox handling during reconfiguration
Fix incorrect stratix10_svc_done() usage during FPGA reconfiguration.
Do not call stratix10_svc_done() at the end of write_init() on success, so
the SVC session remains active through write() and write_complete(). Call
stratix10_svc_done() on failure in write_init() and write() so the shared
SVC mailbox is released when reconfiguration aborts, allowing coexistence
with other SVC clients such as soc64-hwmon.
Fixes: e7eef1d7633a ("fpga: add intel stratix10 soc fpga manager driver")
Cc: stable@vger.kernel.org # 5.1+
Signed-off-by: Tien Sung Ang <tien.sung.ang@altera.com>
Signed-off-by: Tze Yee Ng <tze.yee.ng@altera.com>
Reviewed-by: Xu Yilun <yilun.xu@intel.com>
Link: https://lore.kernel.org/r/8768ce3260489c9febdfce08e27d03f5f5ed9c33.1782801986.git.tze.yee.ng@altera.com
Signed-off-by: Xu Yilun <yilun.xu@linux.intel.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions
