]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
powerpc/eeh: Global mutex to protect PE tree
authorGavin Shan <shangw@linux.vnet.ibm.com>
Tue, 11 Sep 2012 19:16:18 +0000 (19:16 +0000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Tue, 18 Sep 2012 05:32:33 +0000 (15:32 +1000)
commitea81245cf4dab5ef5428102a4a00281ed6e890a6
treeeb75479f80d1f24014f8b6f624e35f9e89d59067
parent20ee6a970858a0f5711ea32cb7f855a81704cb53
powerpc/eeh: Global mutex to protect PE tree

We have missed lots of situations where the PE hierarchy tree need
protection through the EEH global mutex. The patch fixes that for
those public APIs implemented in eeh_pe.c. The only exception is
eeh_pe_restore_bars() because it calls eeh_pe_dev_traverse(), which
has been protected by the mutex.

Signed-off-by: Gavin Shan <shangw@linux.vnet.ibm.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/platforms/pseries/eeh_pe.c