linux-stable-rt/arch/powerpc/platforms
Nathan Fontenot 93f68f1ef7 powerpc/pseries: Correct rtas_data_buf locking in dlpar code
The dlpar code can cause a deadlock to occur when making the RTAS
configure-connector call.  This occurs because we make kmalloc calls,
which can block, while parsing the rtas_data_buf and holding the
rtas_data_buf_lock.  This an cause issues if someone else attempts
to grab the rtas_data_bug_lock.

This patch alleviates this issue by copying the contents of the rtas_data_buf
to a local buffer before parsing.  This allows us to only hold the
rtas_data_buf_lock around the RTAS configure-connector calls.

Signed-off-by: Nathan Fontenot <nfont@austin.ibm.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
2010-09-02 10:07:38 +10:00
..
8xx
40x
44x
52xx
82xx
83xx arch/powerpc/platforms/83xx/mpc837x_mds.c: Add missing iounmap 2010-08-31 16:38:47 -05:00
85xx powerpc/85xx: Fix compile issue with p1022_ds due to lmb rename to memblock 2010-08-31 11:41:01 -05:00
86xx
512x
amigaone
cell powerpc: Fix bogus it_blocksize in VIO iommu code 2010-08-24 15:26:31 +10:00
chrp
embedded6xx
iseries powerpc: Fix bogus it_blocksize in VIO iommu code 2010-08-24 15:26:31 +10:00
maple
pasemi
powermac powerpc/powermac: Drop unnecessary null test 2010-08-24 15:26:28 +10:00
prep
ps3
pseries powerpc/pseries: Correct rtas_data_buf locking in dlpar code 2010-09-02 10:07:38 +10:00
Kconfig powerpc: Fix config dependency problem with MPIC_U3_HT_IRQS 2010-08-24 15:28:29 +10:00
Kconfig.cputype
Makefile
fsl_uli1575.c