Skip to content

IRQ handling patches backport to 4.14 stable

Rishabh Bhatnagar linux-pci lkml stable 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest6 patches 7 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6genirq: Update code comments wrt recycled thread_maskkernel/irq/manage.c+4 -50 replies
2/6genirq: Synchronize only with single thread on free_irq()kernel/irq/manage.c+23 -100 replies
3/6genirq: Delay deactivation in free_irq()kernel/irq/autoprobe.c kernel/irq/chip.c kernel/irq/cpuhotplug.c +2 more+21 -40 replies
4/6genirq: Fix misleading synchronize_irq() documentationkernel/irq/manage.c+2 -10 replies
5/6genirq: Add optional hardware synchronization for shutdownkernel/irq/internals.h kernel/irq/manage.c+38 -190 replies
6/6x86/ioapic: Implement irq_get_irqchip_state() callbackarch/x86/kernel/apic/io_apic.c+46 -00 replies

Reviews trailers per patch

2 of 6 patches have a Reviewed-by or Acked-by.

PatchMarc Zyngier
1/6
2/6
3/6R-b
4/6
5/6R-b T-b
6/6

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/6] IRQ handling patches backport to 4.14 stable

This patch series backports a bunch of patches related IRQ handling with respect to freeing the irq line while IRQ is in flight at CPU or at the hardware level.
Recently we saw this issue in serial 8250 driver where the IRQ was being freed while the irq was in flight or not yet delivered to the CPU. As a result the irqchip was going into a wedged state and IRQ was not getting delivered to the cpu. These patches helped fixed the issue in 4.14 kernel.
Let us know if more patches need backporting.

Lukas Wunner (2):
genirq: Update code comments wrt recycled thread_mask
genirq: Synchronize only with single thread on free_irq()

Thomas Gleixner (4):
genirq: Delay deactivation in free_irq()
genirq: Fix misleading synchronize_irq() documentation
genirq: Add optional hardware synchronization for shutdown x86/ioapic: Implement irq_get_irqchip_state() callback

 arch/x86/kernel/apic/io_apic.c |  46 ++++++++++++++
 kernel/irq/autoprobe.c         |   6 +-
 kernel/irq/chip.c              |   6 ++
 kernel/irq/cpuhotplug.c        |   2 +-
 kernel/irq/internals.h         |   5 ++
 kernel/irq/manage.c            | 106 ++++++++++++++++++++++-----------
 6 files changed, 133 insertions(+), 38 deletions(-)
Signature · 1 line
2.37.1