From: Herbert Xu <herbert@gondor.apana.org.au>
To: Jonathan McDowell <noodles@earth.li>
Cc: Antoine Tenart <atenart@kernel.org>,
"David S. Miller" <davem@davemloft.net>,
linux-crypto@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH v2 0/2] crypto: inside-secure: Handle load errors better
Date: Fri, 10 Mar 2023 19:31:50 +0800 [thread overview]
Message-ID: <ZAsVJjmvefrfTHwr@gondor.apana.org.au> (raw)
In-Reply-To: <cover.1677608527.git.noodles@earth.li>
On Tue, Feb 28, 2023 at 06:28:23PM +0000, Jonathan McDowell wrote:
> 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
All applied. Thanks.
--
Email: Herbert Xu <herbert@gondor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
prev parent reply other threads:[~2023-03-10 11:32 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-02-23 22:10 [PATCH " Jonathan McDowell
2023-02-28 18:28 ` [PATCH v2 " Jonathan McDowell
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 ` Herbert Xu [this message]
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=ZAsVJjmvefrfTHwr@gondor.apana.org.au \
--to=herbert@gondor.apana.org.au \
--cc=atenart@kernel.org \
--cc=davem@davemloft.net \
--cc=linux-crypto@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=noodles@earth.li \
/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®