]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
powerpc/powernv: Disable interrupts while taking phb->lock
authorMichael Ellerman <michael@ellerman.id.au>
Sun, 12 Feb 2012 14:28:20 +0000 (14:28 +0000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Tue, 14 Feb 2012 04:01:39 +0000 (15:01 +1100)
commitf1c853b53cf2b49eb32791072c8a8ee04f122f58
tree203de9ee9f2ff6157c0f602f9cad0d3e254dff50
parent6fe5f5f3ffade25aa94526010f219df3be521bf7
powerpc/powernv: Disable interrupts while taking phb->lock

We need to disable interrupts when taking the phb->lock. Otherwise
we could deadlock with pci_lock taken from an interrupt.

Signed-off-by: Michael Ellerman <michael@ellerman.id.au>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/platforms/powernv/pci.c