[PATCH 0/2] firmware: stratix10-svc: support N clients

From: tien . sung . ang
Date: Mon Jun 19 2023 - 23:52:08 EST


From: Ang Tien Sung <tien.sung.ang@xxxxxxxxx>

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.

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(-)

--
2.25.1