Patch "irqchip/irq-imx-gpcv2: Fix spinlock initialization" has been added to the 4.9-stable tree
Subsystems (3)
This is a note to let you know that I've just added the patch titled
irqchip/irq-imx-gpcv2: Fix spinlock initialization
to the 4.9-stable tree which can be found at:
http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary
The filename of the patch is:
irqchip-irq-imx-gpcv2-fix-spinlock-initialization.patch
and it can be found in the queue-4.9 subdirectory.
If you, or anyone else, feels it should not be added to the stable tree, please let <[email protected]> know about it.
Quoted 1 line
From
75eb5e1e7b4edbc8e8f930de59004d21cb46961fMon Sep 17 00:00:00 2001
From: Tyler Baker <[email protected]>
Date: Thu, 13 Apr 2017 15:27:31 -0700
Subject: irqchip/irq-imx-gpcv2: Fix spinlock initialization
From: Tyler Baker <[email protected]>
commit 75eb5e1e7b4edbc8e8f930de59004d21cb46961f upstream.
The raw_spinlock in the IMX GPCV2 interupt chip is not initialized before usage. That results in a lockdep splat:
INFO: trying to register non-static key.
the code is fine but needs lockdep annotation.
turning off the locking correctness validator.
Add the missing raw_spin_lock_init() to the setup code.
--- drivers/irqchip/irq-imx-gpcv2.c | 2 ++ 1 file changed, 2 insertions(+)
drivers/irqchip/irq-imx-gpcv2.c +2 -0
@@ -230,6 +230,8 @@ static int __init imx_gpcv2_irqchip_initreturn -ENOMEM ; } +raw_spin_lock_init (&cd->rlock); + cd->gpc_base =of_iomap (node,0 );if (!cd->gpc_base) {pr_err ("fsl-gpcv2: unable to map gpc registers\n" );
Patches currently in stable-queue which might be from [email protected] are
queue-4.9/irqchip-irq-imx-gpcv2-fix-spinlock-initialization.patch