From: tien.sung.ang@intel.com
To: Dinh Nguyen <dinguyen@kernel.org>
Cc: linux-kernel@vger.kernel.org, Ang Tien Sung <tien.sung.ang@intel.com>
Subject: [PATCH v2 0/2] firmware: stratix10-svc: support N clients
Date: Wed, 21 Jun 2023 14:46:43 +0800 [thread overview]
Message-ID: <20230621064645.1431883-1-tien.sung.ang@intel.com> (raw)
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
next reply other threads:[~2023-06-21 6:50 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-06-21 6:46 tien.sung.ang [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20230621064645.1431883-1-tien.sung.ang@intel.com \
--to=tien.sung.ang@intel.com \
--cc=dinguyen@kernel.org \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®