]> git.baikalelectronics.ru Git - kernel.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)
commit79d9a956925f27c0967e13abc78bf13a57a1afe4
tree203de9ee9f2ff6157c0f602f9cad0d3e254dff50
parentf5158e01de91265532503ff31820512e3ae6dddd
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