]> 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)
commitf59ecd8c6577f67b5fafe52786bbb661ca219071
treeb3036d1e33eb2b7559e6564f11651774fc9c7eaa
parent0ff0965b60a27e182aa294a54ee6167839da3eef
Revert "s390/pci: remove bit_lock usage in interrupt handler"

This reverts commit 06d5d547853eb5dfc7d8414a2d409e77a1b9e833.

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