Re: [PATCH v2] fpga: stratix10-soc: Fix SVC mailbox handling during reconfiguration
From: Dinh Nguyen
Date: Wed Jun 24 2026 - 01:24:01 EST
On 6/23/26 22:37, tze.yee.ng@xxxxxxxxxx wrote:
From: Tien Sung Ang <tien.sung.ang@xxxxxxxxxx>
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@xxxxxxxxxxxxxxx # 5.1+
Remove the blank line.
Signed-off-by: Tien Sung Ang <tien.sung.ang@xxxxxxxxxx>
Signed-off-by: Tze Yee Ng <tze.yee.ng@xxxxxxxxxx>