Skip to content

firmware: stratix10-svc: support N clients

[email protected] lkml 2 versions In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest2 patches 1 replyIn review
  2. v12 patches 1 replySuperseded

Changes in v2 from the cover letter

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

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2firmware: stratix10-svc: Support up to N SVC clientsdrivers/firmware/stratix10-svc.c+119 -620 replies
2/2firmware: stratix10-svc: fix bug in saving controller datadrivers/firmware/stratix10-svc.c+4 -31 reply

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH v2 0/2] 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.

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(-)
Signature · 1 line
2.25.1