[PATCH v3] mtd: rawnand: protect access to rawnand devices while in suspend

Greg KH gregkh at linuxfoundation.org
Tue Feb 8 00:39:07 PST 2022


On Tue, Feb 08, 2022 at 09:25:06AM +0100, Sean Nyekjaer wrote:
> Prevent rawnend access while in a suspended state.
> 
> Commit 013e6292aaf5 ("mtd: rawnand: Simplify the locking") allows the
> rawnand layer to return errors rather than waiting in a blocking wait.
> 
> Tested on a iMX6ULL.
> 
> Fixes: 013e6292aaf5 ("mtd: rawnand: Simplify the locking")
> Signed-off-by: Sean Nyekjaer <sean at geanix.com>
> Reviewed-by: Boris Brezillon <boris.brezillon at collabora.com>
> ---
> Follow-up on discussion in:
> https://lkml.org/lkml/2021/10/4/41
> https://lkml.org/lkml/2021/10/11/435
> https://lkml.org/lkml/2021/10/20/184
> https://lkml.org/lkml/2021/10/25/288
> https://lkml.org/lkml/2021/10/26/55
> https://lkml.org/lkml/2021/11/2/352

Please use lore.kernel.org links, we have no control over lkml.org and
it does not work with our tools at all.

Also:

<formletter>

This is not the correct way to submit patches for inclusion in the
stable kernel tree.  Please read:
    https://www.kernel.org/doc/html/latest/process/stable-kernel-rules.html
for how to do this properly.

</formletter>



More information about the linux-mtd mailing list