]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/pseries: Fix kexec on recent firmware versions
authorAnton Blanchard <anton@samba.org>
Mon, 25 Jul 2011 01:46:32 +0000 (01:46 +0000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Fri, 5 Aug 2011 04:47:57 +0000 (14:47 +1000)
commit5c84c5313c5bcce7e7fe805b443b10d4a4bfe5fd
treed3e03d2023b23f0d7d14c4e52d7c7b1e5613f2cc
parent554ac390297ec8dfd0145fdef1bec908bec15857
powerpc/pseries: Fix kexec on recent firmware versions

Recent versions of firmware will fail to unmap the virtual processor
area if we have a dispatch trace log registered. This causes kexec
to fail.

If a trace log is registered this patch unregisters it before the
SLB shadow and virtual processor areas, fixing the problem.

The address argument is ignored by firmware on unregister so we
may as well remove it.

Signed-off-by: Anton Blanchard <anton@samba.org>
Cc: <stable@kernel.org>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/platforms/pseries/dtl.c
arch/powerpc/platforms/pseries/kexec.c
arch/powerpc/platforms/pseries/plpar_wrappers.h