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

From: tien . sung . ang
Date: Wed Jun 21 2023 - 02:50:22 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.

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

changelog from V2:
- Remove newline from the 2nd patch after the tag "Fixes:"

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