summaryrefslogtreecommitdiff
path: root/drivers/irqchip/irq-crossbar.c
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2014-08-05 20:57:19 (GMT)
committerLinus Torvalds <torvalds@linux-foundation.org>2014-08-06 00:34:33 (GMT)
commited5c41d30ef2ce578fd6b6e2f7ec23f2a58b1eba (patch)
tree92e9da8fa9be8d12fb5ebd00ab89ba4feb68be34 /drivers/irqchip/irq-crossbar.c
parentf4d33337eac4007793ca11fd1ab68d91ce7aa762 (diff)
downloadlinux-ed5c41d30ef2ce578fd6b6e2f7ec23f2a58b1eba.tar.xz
x86: MCE: Add raw_lock conversion again
Commit ea431643d6c3 ("x86/mce: Fix CMCI preemption bugs") breaks RT by the completely unrelated conversion of the cmci_discover_lock to a regular (non raw) spinlock. This lock was annotated in commit 59d958d2c7de ("locking, x86: mce: Annotate cmci_discover_lock as raw") with a proper explanation why. The argument for converting the lock back to a regular spinlock was: - it does percpu ops without disabling preemption. Preemption is not disabled due to the mistaken use of a raw spinlock. Which is complete nonsense. The raw_spinlock is disabling preemption in the same way as a regular spinlock. In mainline spinlock maps to raw_spinlock, in RT spinlock becomes a "sleeping" lock. raw_spinlock has on RT exactly the same semantics as in mainline. And because this lock is taken in non preemptible context it must be raw on RT. Undo the locking brainfart. Reported-by: Clark Williams <williams@redhat.com> Reported-by: Steven Rostedt <rostedt@goodmis.org> Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Cc: stable@vger.kernel.org Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/irqchip/irq-crossbar.c')
0 files changed, 0 insertions, 0 deletions