Skip to contentSkip to conversation

firmware: stratix10-svc: support N clients

PATCH Superseded [email protected] 1 participant 1 message Jun 21, 2023

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

cover firmware: stratix10-svc: support N clients

From: Ang Tien Sung <[email protected]>

hi,
In order to support N clients sending concurrent messages to svc driver, we need to have all clients owning up to their individual threads. And, to cater for the limitation of the mailbox device driver in secure monitor firmware that only permits a single message at a time, a mutex is used to prevent the multiple clients from sending a message to SDM.
Also, added a fix on the removal of the driver that resulted in a kernel panic due to badly used drv_set_drvdata.

changelog from V1:
- Added "Fixes:" tag to the 2nd patch to detail the fix location.

Ang Tien Sung (2):
firmware: stratix10-svc: Support up to N SVC clients
firmware: stratix10-svc: fix bug in saving controller data

 drivers/firmware/stratix10-svc.c | 188 ++++++++++++++++++++-----------
 1 file changed, 123 insertions(+), 65 deletions(-)
Signature · 1 line
2.25.1