[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <DU0PR04MB9563816236B13CBB7F398D528EAD9@DU0PR04MB9563.eurprd04.prod.outlook.com>
Date: Wed, 1 Mar 2023 05:39:26 +0000
From: Meenakshi Aggarwal <meenakshi.aggarwal@....com>
To: Pankaj Gupta <pankaj.gupta@....com>,
Vijay Balakrishna <vijayb@...ux.microsoft.com>,
Horia Geanta <horia.geanta@....com>,
Varun Sethi <V.Sethi@....com>,
Gaurav Jain <gaurav.jain@....com>,
"herbert@...dor.apana.org.au" <herbert@...dor.apana.org.au>,
"davem@...emloft.net" <davem@...emloft.net>,
"linux-crypto@...r.kernel.org" <linux-crypto@...r.kernel.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
Franck Lenormand <franck.lenormand@....com>
CC: "code@...icks.com" <code@...icks.com>
Subject: RE: [EXT] Re: [PATCH] drivers: crypto: caam: jr: add .shutdown hook
Copyright updated in another patch and sent v2, both patches are modifying same file so no need to make any changes in this patch.
> -----Original Message-----
> From: Pankaj Gupta <pankaj.gupta@....com>
> Sent: Monday, February 27, 2023 1:03 PM
> To: Vijay Balakrishna <vijayb@...ux.microsoft.com>; Meenakshi Aggarwal
> <meenakshi.aggarwal@....com>; Horia Geanta <horia.geanta@....com>;
> Varun Sethi <V.Sethi@....com>; Gaurav Jain <gaurav.jain@....com>;
> herbert@...dor.apana.org.au; davem@...emloft.net; linux-
> crypto@...r.kernel.org; linux-kernel@...r.kernel.org; Franck Lenormand
> <franck.lenormand@....com>
> Cc: code@...icks.com
> Subject: RE: [EXT] Re: [PATCH] drivers: crypto: caam: jr: add .shutdown hook
>
> Change the year in the License header.
>
> After changing, you can add the reviewed by me.
> Reviewed-By: Pankaj Gupta <pankaj.gupta@....com>
>
> > -----Original Message-----
> > From: Vijay Balakrishna <vijayb@...ux.microsoft.com>
> > Sent: Tuesday, February 21, 2023 11:02 PM
> > To: Meenakshi Aggarwal <meenakshi.aggarwal@....com>; Horia Geanta
> > <horia.geanta@....com>; Varun Sethi <V.Sethi@....com>; Pankaj Gupta
> > <pankaj.gupta@....com>; Gaurav Jain <gaurav.jain@....com>;
> > herbert@...dor.apana.org.au; davem@...emloft.net; linux-
> > crypto@...r.kernel.org; linux-kernel@...r.kernel.org; Franck Lenormand
> > <franck.lenormand@....com>
> > Cc: code@...icks.com
> > Subject: [EXT] Re: [PATCH] drivers: crypto: caam: jr: add .shutdown
> > hook
> >
> > Caution: EXT Email
> >
> > On 2/20/2023 9:40 PM, meenakshi.aggarwal@....com wrote:
> > > From: Gaurav Jain <gaurav.jain@....com>
> > >
> > > add .shutdown hook in caam_jr driver to support kexec boot
> > >
> > > Signed-off-by: Gaurav Jain <gaurav.jain@....com>
> >
> > Tested-by: Vijay Balakrishna <vijayb@...ux.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)
Powered by blists - more mailing lists