From: Sebastian Andrzej Siewior Subject: Re: [RFC PATCH 10/10] x86/fpu: defer FPU state load until return to userspace Date: Wed, 26 Sep 2018 17:32:30 +0200 Message-ID: <20180926153229.n5rwlfhuqu42ds6v@linutronix.de> References: <20180912133353.20595-1-bigeasy@linutronix.de> <20180912133353.20595-11-bigeasy@linutronix.de> <650FC457-7E4C-473A-9E5F-EAFC74F6444B@amacapital.net> <20180919170515.ptqmmpsxrdjsi64j@linutronix.de> <20180926111222.hihueuagmb4qfmtz@linutronix.de> <59E2EBC5-C483-4788-B490-4A3770DBB993@amacapital.net> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8BIT Cc: linux-kernel@vger.kernel.org, x86@kernel.org, Andy Lutomirski , Paolo Bonzini , Radim =?utf-8?B?S3LEjW3DocWZ?= , kvm@vger.kernel.org, "Jason A. Donenfeld" , Rik van Riel , Andy Lutomirski To: Bryan O'Donoghue , Denys Vlasenko , Ong@linutronix.de, Boon Leong Return-path: Content-Disposition: inline In-Reply-To: <59E2EBC5-C483-4788-B490-4A3770DBB993@amacapital.net> Sender: linux-kernel-owner@vger.kernel.org List-Id: kvm.vger.kernel.org On 2018-09-26 07:34:09 [-0700], Andy Lutomirski wrote: > > So I *think* nobody relies on FPU-emulation anymore. I would suggest to > > get this patch set into shape and then getting rid of > > CONFIG_MATH_EMULATION? Bryan, Denys, does anyone of you rely on CONFIG_MATH_EMULATION? The manual for Quark claims that the CPU has no FPU and yet the current kernel (or the yocto v3.14) does not select this option. Denys added support for some opcodes in 2015 but I didn't figure out *why* or which CPU in particular requires this. > I don’t think you can boot a kernel without math emulation on a no-FPU CPU. So maybe we should table this particular idea. I didn’t realize there were Quark CPUs without FPU. Okay. Sebastian