From: Vijay Balakrishna <vijayb@linux.microsoft.com>
To: meenakshi.aggarwal@nxp.com, horia.geanta@nxp.com,
V.sethi@nxp.com, pankaj.gupta@nxp.com, gaurav.jain@nxp.com,
herbert@gondor.apana.org.au, davem@davemloft.net,
linux-crypto@vger.kernel.org, linux-kernel@vger.kernel.org,
franck.lenormand@nxp.com
Cc: code@tyhicks.com
Subject: Re: [PATCH] drivers: crypto: caam: jr: add .shutdown hook
Date: Tue, 21 Feb 2023 09:32:13 -0800 [thread overview]
Message-ID: <d253d5ba-8e57-dc20-dfb4-08aac9e92a4c@linux.microsoft.com> (raw)
In-Reply-To: <20230221054047.2140558-1-meenakshi.aggarwal@nxp.com>
On 2/20/2023 9:40 PM, meenakshi.aggarwal@nxp.com wrote:
> From: Gaurav Jain <gaurav.jain@nxp.com>
>
> add .shutdown hook in caam_jr driver to support kexec boot
>
> Signed-off-by: Gaurav Jain <gaurav.jain@nxp.com>
Tested-by: Vijay Balakrishna <vijayb@linux.microsoft.com>
Thanks,
Vijay
> ---
> drivers/crypto/caam/jr.c | 6 ++++++
> 1 file changed, 6 insertions(+)
>
> diff --git a/drivers/crypto/caam/jr.c b/drivers/crypto/caam/jr.c
> index 8745fe3cb575..a2a99d09b4ad 100644
> --- a/drivers/crypto/caam/jr.c
> +++ b/drivers/crypto/caam/jr.c
> @@ -198,6 +198,11 @@ static int caam_jr_remove(struct platform_device *pdev)
> return ret;
> }
>
> +static void caam_jr_platform_shutdown(struct platform_device *pdev)
> +{
> + caam_jr_remove(pdev);
> +}
> +
> /* Main per-ring interrupt handler */
> static irqreturn_t caam_jr_interrupt(int irq, void *st_dev)
> {
> @@ -653,6 +658,7 @@ static struct platform_driver caam_jr_driver = {
> },
> .probe = caam_jr_probe,
> .remove = caam_jr_remove,
> + .shutdown = caam_jr_platform_shutdown,
> };
>
> static int __init jr_driver_init(void)
next prev parent reply other threads:[~2023-02-21 17:32 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-02-20 10:50 [PATCH] drivers: crypto: caam: jr: Allow quiesce when quiesced meenakshi.aggarwal
2023-02-21 5:40 ` [PATCH] drivers: crypto: caam: jr: add .shutdown hook meenakshi.aggarwal
2023-02-21 17:32 ` Vijay Balakrishna [this message]
2023-02-27 7:32 ` [EXT] " Pankaj Gupta
2023-03-01 5:39 ` Meenakshi Aggarwal
2023-03-10 10:33 ` Meenakshi Aggarwal
2023-03-10 10:53 ` Herbert Xu
2023-03-11 8:25 ` meenakshi.aggarwal
2023-03-16 6:07 ` [PATCH v2] " meenakshi.aggarwal
2023-03-24 10:29 ` Herbert Xu
2023-02-21 5:42 ` [PATCH] drivers: crypto: caam: jr: Allow quiesce when quiesced meenakshi.aggarwal
2023-02-21 17:33 ` Vijay Balakrishna
2023-02-27 7:32 ` [EXT] " Pankaj Gupta
2023-02-28 18:37 ` meenakshi.aggarwal
2023-03-10 10:34 ` Meenakshi Aggarwal
2023-03-10 11:32 ` Herbert Xu
-- strict thread matches above, loose matches on Subject: below --
2023-02-20 10:51 [PATCH] drivers: crypto: caam: jr: add .shutdown hook meenakshi.aggarwal
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=d253d5ba-8e57-dc20-dfb4-08aac9e92a4c@linux.microsoft.com \
--to=vijayb@linux.microsoft.com \
--cc=V.sethi@nxp.com \
--cc=code@tyhicks.com \
--cc=davem@davemloft.net \
--cc=franck.lenormand@nxp.com \
--cc=gaurav.jain@nxp.com \
--cc=herbert@gondor.apana.org.au \
--cc=horia.geanta@nxp.com \
--cc=linux-crypto@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=meenakshi.aggarwal@nxp.com \
--cc=pankaj.gupta@nxp.com \
/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).