From: Jonathan McDowell <noodles@earth.li>
To: Antoine Tenart <atenart@kernel.org>,
Herbert Xu <herbert@gondor.apana.org.au>,
"David S. Miller" <davem@davemloft.net>
Cc: linux-crypto@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: [PATCH v2 0/2] crypto: inside-secure: Handle load errors better
Date: Tue, 28 Feb 2023 18:28:23 +0000 [thread overview]
Message-ID: <cover.1677608527.git.noodles@earth.li> (raw)
In-Reply-To: <Y/fkOF31BTQVocSe@sevai.o362.us>
2 minor patches to improve the error handling of the safexcel driver
when it fails to load.
Firstly, make it clear when the reason for a load failure is because the
firmware is not available.
Secondly, ensure we clean up the ring workqueues / IRQ affinity settings
to avoid a kernel warning when the driver fails to load.
v2:
- Expand error clean up to cover ring initialisation failures
Jonathan McDowell (2):
crypto: inside-secure: Raise firmware load failure message to error
crypto: inside-secure - Cleanup ring IRQ workqueues on load failure
drivers/crypto/inside-secure/safexcel.c | 39 ++++++++++++++++++-------
1 file changed, 28 insertions(+), 11 deletions(-)
--
2.39.2
next prev parent reply other threads:[~2023-02-28 18:28 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-02-23 22:10 [PATCH 0/2] crypto: inside-secure: Handle load errors better Jonathan McDowell
2023-02-28 18:28 ` Jonathan McDowell [this message]
2023-02-28 18:28 ` [PATCH v2 1/2] crypto: inside-secure: Raise firmware load failure message to error Jonathan McDowell
2023-02-28 18:28 ` [PATCH v2 2/2] crypto: inside-secure - Cleanup ring IRQ workqueues on load failure Jonathan McDowell
2023-03-10 11:31 ` [PATCH v2 0/2] crypto: inside-secure: Handle load errors better Herbert Xu
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=cover.1677608527.git.noodles@earth.li \
--to=noodles@earth.li \
--cc=atenart@kernel.org \
--cc=davem@davemloft.net \
--cc=herbert@gondor.apana.org.au \
--cc=linux-crypto@vger.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;
as well as URLs for NNTP newsgroup(s).