Patch "genirq: Initialize request_mutex if CONFIG_SPARSE_IRQ=n" has been added to the 4.19-stable tree
[email protected]
AppliedThis is a note to let you know that I've just added the patch titled
genirq: Initialize request_mutex if CONFIG_SPARSE_IRQ=n
to the 4.19-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:
genirq-initialize-request_mutex-if-config_sparse_irq-n.patch
and it can be found in the queue-4.19 subdirectory.
If you, or anyone else, feels it should not be added to the stable tree, please let <[email protected]> know about it.
From e8458e7afa855317b14915d7b86ab3caceea7eb6 Mon Sep 17 00:00:00 2001
From: Kefeng Wang <[email protected]>
Date: Thu, 4 Apr 2019 15:45:12 +0800
Subject: genirq: Initialize request_mutex if CONFIG_SPARSE_IRQ=n
From: Kefeng Wang <[email protected]>
commit e8458e7afa855317b14915d7b86ab3caceea7eb6 upstream.
When CONFIG_SPARSE_IRQ is disable, the request_mutex in struct irq_desc is not initialized which causes malfunction.
--- kernel/irq/irqdesc.c | 1 + 1 file changed, 1 insertion(+)
kernel/irq/irqdesc.c +1 -0
@@ -554,6 +554,7 @@ int __init early_irq_init(void)alloc_masks (&desc[i], node);raw_spin_lock_init (&desc[i].lock);lockdep_set_class (&desc[i].lock, &irq_desc_lock_class); +mutex_init (&desc[i].request_mutex);desc_set_defaults (i, &desc[i], node,NULL ,NULL ); }return arch_early_irq_init ();
Patches currently in stable-queue which might be from [email protected] are
queue-4.19/genirq-initialize-request_mutex-if-config_sparse_irq-n.patch
_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel