]> git.baikalelectronics.ru Git - kernel.git/commit
Revert "s390/pci: remove bit_lock usage in interrupt handler"
authorSebastian Ott <sebott@linux.ibm.com>
Tue, 29 Jan 2019 14:15:18 +0000 (15:15 +0100)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Thu, 7 Feb 2019 10:56:29 +0000 (11:56 +0100)
commitcb2bd0da43117f59d5f68d886c19120829de0c9c
treeb3036d1e33eb2b7559e6564f11651774fc9c7eaa
parent4513888d214de7bd2c05cc19f8ec34d87da9ee4b
Revert "s390/pci: remove bit_lock usage in interrupt handler"

This reverts commit a5edc4a82ac8417a15bbe653ee4efae2716c3cd1.

With the handle_simple_irq irq_flow_handler it must be ensured to
not call generic_handle_irq with the same IRQ number on 2 CPUs at
the same time (interrupts are floating on s390).
Contrary to my initial investigation the irq_desc's lock usage in
handle_simple_irq does not ensure this. Thus re-introduce the bit-
lock usage in s390's pci handler.

Reported-by: Ursula Braun <ubraun@linux.ibm.com>
Reported-by: Alexander Schmidt <alexs@linux.ibm.com>
Signed-off-by: Sebastian Ott <sebott@linux.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
arch/s390/pci/pci.c