From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from gate.crashing.org (gate.crashing.org [63.228.1.57]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id B10C7B714E for ; Wed, 1 Sep 2010 23:01:36 +1000 (EST) Subject: Re: [PATCH] powerpc: mtmsrd not defined Mime-Version: 1.0 (Apple Message framework v1081) Content-Type: text/plain; charset=us-ascii From: Kumar Gala In-Reply-To: <20100901080214.GA4722@brick.ozlabs.ibm.com> Date: Wed, 1 Sep 2010 08:01:29 -0500 Message-Id: <04187CA6-D0DE-45B3-819F-DE26BFD9FF16@kernel.crashing.org> References: <20100822180958.6305f5b1@lappy.seanm.ca> <1282516494.22370.440.camel@pasglop> <20100822184844.37c30d5e@lappy.seanm.ca> <20100831134605.1fca5fdf@lappy.seanm.ca> <20100831225525.1c9bd5a8@lappy.seanm.ca> <20100901080214.GA4722@brick.ozlabs.ibm.com> To: Paul Mackerras Cc: linuxppc-dev , Sean MacLennan List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On Sep 1, 2010, at 3:02 AM, Paul Mackerras wrote: > On Tue, Aug 31, 2010 at 10:55:25PM -0400, Sean MacLennan wrote: >=20 >> I had to give up. Without the CONFIG_PPC_FPU it compiles fine for an >> FPU less 44x. But with the CONFIG_PPC_FPU, I get the following = errors: >=20 > Ah, those references would be from arch/powerpc/lib/sstep.c. = Evidently > we need #ifdef CONFIG_PPC_FPU around the emulation of the = floating-point > loads and stores. >=20 > Do we do any in-kernel emulation of floating-point operations with > CONFIG_PPC_FPU turned off? I'm not aware of any. I haven't looked at the Program Check exception = path to know if we'd handle emulation gracefully or not for = !CONFIG_PPC_FPU. - k=