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 ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 419P951yTVzF0dj for ; Wed, 20 Jun 2018 09:21:13 +1000 (AEST) In-Reply-To: <20180614152742.21075-1-mjeanson@efficios.com> To: Michael Jeanson , From: Michael Ellerman Cc: stable@vger.kernel.org, Michael Jeanson , Paul Mackerras , Mathieu Desnoyers , Vakul Garg , linuxppc-dev@lists.ozlabs.org, Scott Wood , linux-kernel@vger.kernel.org Subject: Re: powerpc/e500mc: Set assembler machine type to e500mc Message-Id: <419P944XMVz9s3C@ozlabs.org> Date: Wed, 20 Jun 2018 09:21:12 +1000 (AEST) List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On Thu, 2018-06-14 at 15:27:42 UTC, Michael Jeanson wrote: > In binutils 2.26 a new opcode for the "wait" instruction was added for the > POWER9 and has precedence over the one specific to the e500mc. Commit > ebf714ff3756 ("powerpc/e500mc: Add support for the wait instruction in > e500_idle") uses this instruction specifically on the e500mc to work around > an erratum. > > This results in an invalid instruction in idle_e500 when we build for the > e500mc on bintutils >= 2.26 with the default assembler machine type. > > Since multiplatform between e500 and non-e500 is not supported, set the > assembler machine type globaly when CONFIG_PPC_E500MC=y. > > Signed-off-by: Michael Jeanson > Reviewed-by: Mathieu Desnoyers > CC: Benjamin Herrenschmidt > CC: Paul Mackerras > CC: Michael Ellerman > CC: Kumar Gala > CC: Vakul Garg > CC: Scott Wood > CC: Mathieu Desnoyers > CC: linuxppc-dev@lists.ozlabs.org > CC: linux-kernel@vger.kernel.org > CC: stable@vger.kernel.org Applied to powerpc fixes, thanks. https://git.kernel.org/powerpc/c/69a8405999aa1c489de4b8d349468f cheers