public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/2] firmware: stratix10-svc: support N clients
@ 2023-06-21  6:46 tien.sung.ang
  2023-06-21  6:46 ` [PATCH v2 1/2] firmware: stratix10-svc: Support up to N SVC clients tien.sung.ang
  2023-06-21  6:46 ` [PATCH v2 2/2] firmware: stratix10-svc: fix bug in saving controller data tien.sung.ang
  0 siblings, 2 replies; 4+ messages in thread
From: tien.sung.ang @ 2023-06-21  6:46 UTC (permalink / raw)
  To: Dinh Nguyen; +Cc: linux-kernel, Ang Tien Sung

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

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


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2023-06-22 12:04 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-06-21  6:46 [PATCH v2 0/2] firmware: stratix10-svc: support N clients tien.sung.ang
2023-06-21  6:46 ` [PATCH v2 1/2] firmware: stratix10-svc: Support up to N SVC clients tien.sung.ang
2023-06-21  6:46 ` [PATCH v2 2/2] firmware: stratix10-svc: fix bug in saving controller data tien.sung.ang
2023-06-22 12:02   ` Dinh Nguyen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox