From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from ozlabs.org (ozlabs.org [IPv6:2401:3900:2:1::2]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 21C971A005C for ; Fri, 21 Aug 2015 17:43:36 +1000 (AEST) In-Reply-To: <1437544251-19016-2-git-send-email-sam.mj@au1.ibm.com> To: Samuel Mendoza-Jonas , linuxppc-dev@ozlabs.org From: Michael Ellerman Cc: Samuel Mendoza-Jonas Subject: Re: [V4, 1/2] powerpc/kexec: Reset secondary cpu endianess before kexec Message-Id: <20150821074335.D24651402C8@ozlabs.org> Date: Fri, 21 Aug 2015 17:43:35 +1000 (AEST) List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On Wed, 2015-22-07 at 05:50:50 UTC, Samuel Mendoza-Jonas wrote: > If the target kernel does not inlcude the FIXUP_ENDIAN check, coming > from a different-endian kernel will cause the target kernel to panic. > All ppc64 kernels can handle starting in big-endian mode, so return to > big-endian before branching into the target kernel. > > This mainly affects pseries as secondaries on powernv are returned to > OPAL. > > Signed-off-by: Samuel Mendoza-Jonas Applied to powerpc next, thanks. https://git.kernel.org/powerpc/c/ffebf5f391dfa9da3e08 cheers