[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <YxHiP74MhWdQHiRY@gondor.apana.org.au>
Date: Fri, 2 Sep 2022 19:00:15 +0800
From: Herbert Xu <herbert@...dor.apana.org.au>
To: Kshitiz Varshney <kshitiz.varshney@....com>
Cc: Horia Geanta <horia.geanta@....com>,
Pankaj Gupta <pankaj.gupta@....com>,
Varun Sethi <V.Sethi@....com>,
"David S . Miller" <davem@...emloft.net>,
Iuliana Prodan <iuliana.prodan@....com>,
Gaurav Jain <gaurav.jain@....com>,
Rahul Kumar Yadav <rahulkumar.yadav@....com>,
Vabhav Sharma <vabhav.sharma@....com>,
Sahil Malhotra <sahil.malhotra@....com>,
Matt Mackall <mpm@...enic.com>,
Shawn Guo <shawnguo@...nel.org>,
Sascha Hauer <s.hauer@...gutronix.de>,
Pengutronix Kernel Team <kernel@...gutronix.de>,
Fabio Estevam <festevam@...il.com>,
Steffen Trumtrar <s.trumtrar@...gutronix.de>,
PrasannaKumar Muralidharan <prasannatsmkumar@...il.com>,
Martin Kaiser <martin@...ser.cx>, linux-crypto@...r.kernel.org,
linux-kernel@...r.kernel.org, linux-imx@....com,
linux-arm-kernel@...ts.infradead.org
Subject: Re: [PATCH v1] Moving IRQ handler registering after
imx_rngc_irq_mask_clear()
On Mon, Aug 22, 2022 at 01:19:03PM +0200, Kshitiz Varshney wrote:
> Issue:
> While servicing interrupt, if the IRQ happens to be because of a SEED_DONE
> due to a previous boot stage, you end up completing the completion
> prematurely, hence causing kernel to crash while booting.
>
> Fix:
> Moving IRQ handler registering after imx_rngc_irq_mask_clear()
>
> Fixes: 1d5449445bd0 (hwrng: mx-rngc - add a driver for Freescale RNGC)
> Signed-off-by: Kshitiz Varshney <kshitiz.varshney@....com>
> ---
> drivers/char/hw_random/imx-rngc.c | 16 ++++++++--------
> 1 file changed, 8 insertions(+), 8 deletions(-)
Patch applied. Thanks.
--
Email: Herbert Xu <herbert@...dor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
Powered by blists - more mailing lists