Re: [PATCH] fpga: stratix10-soc: Fix SVC mailbox handling during reconfiguration

From: Dinh Nguyen

Date: Tue Jun 23 2026 - 12:09:51 EST




On 6/23/26 04:47, tze.yee.ng@xxxxxxxxxx wrote:
From: Tien Sung Ang <tien.sung.ang@xxxxxxxxxx>

Fix incorrect stratix10_svc_done() usage during FPGA reconfiguration.

Do you need a Fixes tag and Cc: stable then?


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.