Skip to content

Commit 5fee0da

Browse files
committed
Merge tag 'irq_urgent_for_v6.18_rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
Pull irq fixes from Borislav Petkov: - Restore the original buslock locking in a couple of places in the irq core subsystem after a rework * tag 'irq_urgent_for_v6.18_rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip: genirq/manage: Add buslock back in to enable_irq() genirq/manage: Add buslock back in to __disable_irq_nosync() genirq/chip: Add buslock back in to irq_set_handler()
2 parents af81595 + ef3330b commit 5fee0da

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

kernel/irq/chip.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1030,7 +1030,7 @@ __irq_do_set_handler(struct irq_desc *desc, irq_flow_handler_t handle,
10301030
void __irq_set_handler(unsigned int irq, irq_flow_handler_t handle, int is_chained,
10311031
const char *name)
10321032
{
1033-
scoped_irqdesc_get_and_lock(irq, 0)
1033+
scoped_irqdesc_get_and_buslock(irq, 0)
10341034
__irq_do_set_handler(scoped_irqdesc, handle, is_chained, name);
10351035
}
10361036
EXPORT_SYMBOL_GPL(__irq_set_handler);

kernel/irq/manage.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -659,7 +659,7 @@ void __disable_irq(struct irq_desc *desc)
659659

660660
static int __disable_irq_nosync(unsigned int irq)
661661
{
662-
scoped_irqdesc_get_and_lock(irq, IRQ_GET_DESC_CHECK_GLOBAL) {
662+
scoped_irqdesc_get_and_buslock(irq, IRQ_GET_DESC_CHECK_GLOBAL) {
663663
__disable_irq(scoped_irqdesc);
664664
return 0;
665665
}
@@ -789,7 +789,7 @@ void __enable_irq(struct irq_desc *desc)
789789
*/
790790
void enable_irq(unsigned int irq)
791791
{
792-
scoped_irqdesc_get_and_lock(irq, IRQ_GET_DESC_CHECK_GLOBAL) {
792+
scoped_irqdesc_get_and_buslock(irq, IRQ_GET_DESC_CHECK_GLOBAL) {
793793
struct irq_desc *desc = scoped_irqdesc;
794794

795795
if (WARN(!desc->irq_data.chip, "enable_irq before setup/request_irq: irq %u\n", irq))

0 commit comments

Comments
 (0)