powerpc/powernv: Return secondary CPUs to firmware before FW update
authorVasant Hegde <hegdevasant@linux.vnet.ibm.com>
Wed, 9 Apr 2014 17:18:55 +0000 (22:48 +0530)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Mon, 28 Apr 2014 07:36:34 +0000 (17:36 +1000)
commit2196c6f1ed66eef23df3b478cfe71661ae83726e
treeaa5c39c562854ef4533880e3fd2419c4d0823059
parent654837e8fe8d1d302803458e3a100aa78e0d90de
powerpc/powernv: Return secondary CPUs to firmware before FW update

Firmware update on PowerNV platform takes several minutes. During
this time one CPU is stuck in FW and the kernel complains about "soft
lockups".

This patch returns all secondary CPUs to firmware before starting
firmware update process.

[ Reworked a bit and cleaned up -- BenH ]

Signed-off-by: Vasant Hegde <hegdevasant@linux.vnet.ibm.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/include/asm/opal.h
arch/powerpc/platforms/powernv/opal-flash.c
arch/powerpc/platforms/powernv/setup.c