From: Herbert Xu <herbert@gondor.apana.org.au>
To: Marc Gonzalez <marc.w.gonzalez@free.fr>
Cc: Chuhong Yuan <hslester96@gmail.com>,
Jamie Iles <jamie@jamieiles.com>,
"David S . Miller" <davem@davemloft.net>,
linux-arm-kernel@lists.infradead.org,
linux-crypto@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] crypto: picoxcell: add missed tasklet_kill
Date: Sat, 23 Nov 2019 07:27:16 +0800 [thread overview]
Message-ID: <20191122232716.6o7pgwbsbtkvtymo@gondor.apana.org.au> (raw)
In-Reply-To: <218e9053-42c7-098e-ecda-e0306361cc23@free.fr>
On Fri, Nov 22, 2019 at 05:36:35PM +0100, Marc Gonzalez wrote:
>
> > However, the IRQ handler is registered through devm which makes it
> > hard to kill the tasklet after unregistering it. We should probably
> > convert it to a normal request_irq so we can control how it's
> > unregistered.
>
> Or inversely, registering the tasklet_kill() through devm, so that it
> is called *after* the ISR unregistration.
Good Point. Chuhong, could you please try this approach to see
if it gives us better code?
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:[~2019-11-22 23:27 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-11-15 2:31 Chuhong Yuan
2019-11-22 8:55 ` Herbert Xu
2019-11-22 16:36 ` Marc Gonzalez
2019-11-22 23:27 ` 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=20191122232716.6o7pgwbsbtkvtymo@gondor.apana.org.au \
--to=herbert@gondor.apana.org.au \
--cc=davem@davemloft.net \
--cc=hslester96@gmail.com \
--cc=jamie@jamieiles.com \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-crypto@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=marc.w.gonzalez@free.fr \
/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®