From patchwork Wed Oct 15 14:43:59 2008 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sebastian Andrzej Siewior X-Patchwork-Id: 4602 X-Patchwork-Delegate: galak@kernel.crashing.org Return-Path: X-Original-To: patchwork-incoming@ozlabs.org Delivered-To: patchwork-incoming@ozlabs.org Received: from ozlabs.org (localhost [127.0.0.1]) by ozlabs.org (Postfix) with ESMTP id E609EDE5FC for ; Thu, 16 Oct 2008 01:45:00 +1100 (EST) X-Original-To: linuxppc-dev@ozlabs.org Delivered-To: linuxppc-dev@ozlabs.org Received: from Chamillionaire.breakpoint.cc (Chamillionaire.breakpoint.cc [85.10.199.196]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id 72D22DE532 for ; Thu, 16 Oct 2008 01:44:10 +1100 (EST) Received: id: bigeasy by Chamillionaire.breakpoint.cc with local (easymta 1.00 BETA 1) id 1Kq7bT-00080K-PO; Wed, 15 Oct 2008 16:43:59 +0200 Date: Wed, 15 Oct 2008 16:43:59 +0200 From: Sebastian Andrzej Siewior To: Kumar Gala Subject: Re: [PATCH] powerpc: enforce a non-spe kernel build even on broken compilers Message-ID: <20081015144359.GA30649@Chamillionaire.breakpoint.cc> References: <20080901142302.GA13754@www.tglx.de> <76A823BD-A9B8-4FB4-B09B-F818687193CA@kernel.crashing.org> <20081014224946.GA2503@www.tglx.de> <20081015085904.GA28369@Chamillionaire.breakpoint.cc> <6115D7FB-7500-4F67-B02B-B64B92B33D1A@kernel.crashing.org> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <6115D7FB-7500-4F67-B02B-B64B92B33D1A@kernel.crashing.org> X-Key-Id: FE3F4706 X-Key-Fingerprint: FFDA BBBB 3563 1B27 75C9 925B 98D5 5C1C FE3F 4706 User-Agent: Mutt/1.5.16 (2007-06-09) Cc: linuxppc-dev@ozlabs.org, Nate Case , ths@linutronix.de X-BeenThere: linuxppc-dev@ozlabs.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: linuxppc-dev-bounces+patchwork-incoming=ozlabs.org@ozlabs.org Errors-To: linuxppc-dev-bounces+patchwork-incoming=ozlabs.org@ozlabs.org * Kumar Gala | 2008-10-15 08:25:54 [-0500]: > > On Oct 15, 2008, at 3:59 AM, Sebastian Andrzej Siewior wrote: > >> * Sebastian Andrzej Siewior | 2008-10-15 00:49:46 [+0200]: >> >>>> is the -mabi=no-spe really needed? >>> It seems to work the other way around (without -mabi=no-spe but with >>> -mabi=no-spe) alteast I did not find anything in do_syslog() or while >>> browsing through the dissasm. I do a boot check tomorrow. >> >> Okay. I recompiled with -mspe=no and was able to boot without trouble. >> It didn't work with -mabi=no-spe. > > I'm confused.. what did you change from your patch? This is the patch it right now: --- a/arch/powerpc/Makefile +++ b/arch/powerpc/Makefile @@ -103,6 +103,7 @@ KBUILD_CFLAGS += $(call cc-option,-mno-altivec) # No SPE instruction when building kernel KBUILD_CFLAGS += $(call cc-option,-mno-spe) +KBUILD_CFLAGS += $(call cc-option,-mspe=no) # Enable unit-at-a-time mode when possible. It shrinks the # kernel considerably.