Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp964800imm; Wed, 26 Sep 2018 09:27:03 -0700 (PDT) X-Google-Smtp-Source: ACcGV63DuOjakvOulJzV2ZzTDmFZ8z6BRMgH+TN77QbajM57jQXjiJK3B00rFNssit94eyuJxxyU X-Received: by 2002:a17:902:aa05:: with SMTP id be5-v6mr6702919plb.313.1537979223301; Wed, 26 Sep 2018 09:27:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1537979223; cv=none; d=google.com; s=arc-20160816; b=IcJXMUAfP9MVRzk/gKzdNTd/qTu3yyiys3Is66k2fskUbZA2ZHeIPMlqLLHhoXHhGR LUwDHIXaKRXf9+NH/RwTn3xE5hqfNoQFtQIOKuZ0WSvt+95tvarxlWrJnzg2uuqrV09G z7VEe2GRqfb78ex79n4CgXvvQ8vGo73unGk/E/BNH/TggtZbGwy6dYIMvQrm8jiXQp9I SOOrT14vIT0aDAod+HtMxVyebKmGLXkibFCxdr+c6F7pJuhhu2no/w1b1goHsfh3aDE8 EhqwG6Qsa7dIQ7RkXvl9aoulJv+QxyBGS0ZiNNyUijoJGMozcZu6jl/C46XX/8u8jr8P rzIw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:to:references:message-id :content-transfer-encoding:cc:date:in-reply-to:from:subject :mime-version:dkim-signature; bh=UDwQP7CFTfD9UqfKiVP8V6knc0Dzcq6m5bKereoNnDE=; b=FZXY8pG+JDqmrOvUR4hwhnW7q9EjAHsSOfjoyL5tC2J1j7BsRCLMal0BOzZHTwAQGV SQKNTCxgIrOGbdxEjO/jxygdistZHTaFZ6bDDCeDdcXIMQ+exh1zg+ggYBfw+jeAlJpV 8jPWug8GwOWPf5sDgRyo1FvAnhM7e1yb0XnOi2FPjiDIguaCMNW1I+8r9sXy4Gm7ZQvt lq2YFql21QY8DHgqMNSRLDFSyzaOVGAx8qbJ/UGvv2LmAlr7lGp8O7NR1IA9DXkMArMe 8O0DyB+k+oNQVyVZEU11vn0OkXUZS65UIxXUJaFXrdMrGtsONZINOXKEwJ5ys+r17/5r 5RUQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amacapital-net.20150623.gappssmtp.com header.s=20150623 header.b=f3qo0Vsz; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id j15-v6si5587677pgk.440.2018.09.26.09.26.47; Wed, 26 Sep 2018 09:27:03 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@amacapital-net.20150623.gappssmtp.com header.s=20150623 header.b=f3qo0Vsz; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728736AbeIZWiX (ORCPT + 99 others); Wed, 26 Sep 2018 18:38:23 -0400 Received: from mail-pl1-f194.google.com ([209.85.214.194]:46143 "EHLO mail-pl1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728492AbeIZWiX (ORCPT ); Wed, 26 Sep 2018 18:38:23 -0400 Received: by mail-pl1-f194.google.com with SMTP id v19-v6so2524339ply.13 for ; Wed, 26 Sep 2018 09:24:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amacapital-net.20150623.gappssmtp.com; s=20150623; h=mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=UDwQP7CFTfD9UqfKiVP8V6knc0Dzcq6m5bKereoNnDE=; b=f3qo0VszZZxOLT4Z0cb0JdAdaLxZzJw3nBvOcktegne1iauNG5VxAMSSH/BELgs1li L3FCI0cH3imlcYLbw8z5O+cuCCWxZxZeqvn9+n4vQhH4ZGYspmCdPHQvb2m4aYBYFv6v CfEZcAwj9z57iEauACavO19MxoQlkhYZ17aRgkN/xkCUvpT1XXOJ/D/0lyP0+bruADZD z4CWiQt2flOI7WD9Nu84xfxarschk3nkRiUY6awHLwwDg2xh57G1tNTL/qsKM+O5oL1h ufiH5q4WwSZEsIhJHlrjZTal5bQCLqgz4svl/3/bMxlI0O+2StyrQyhtHXi0VUG6PxC3 flsQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=UDwQP7CFTfD9UqfKiVP8V6knc0Dzcq6m5bKereoNnDE=; b=U13YNfputDnt+jPzUVrTVdPaooCgoFdJD55bT1SyWlqZ9B8w653BXVwigGCDjg3s0w A3eTqIivqseZnkFUlxQIwzoX/YPOnnd3xYVP45elS1/1EB8I1n6HIqE4ODNgyRSzMPE5 wZsYMGt2E1ySQkDymaEHSJAbXKCjhhock0pyDIomN4aahMlreoERv7Sz8ERwI83vi22y DLvH3PEoi2KJjwAXAQqWE5QavtdA5cyC3N2Hk/AZqEO9kemBhvDaNcNH4Shnmvnahu4y qr4MZyKi/8YgHNDXjkuZfKTMV6lWLbILHpcHtfIjU/grUFkuBG4ucdyTOf9X/4yj4siX YWbA== X-Gm-Message-State: ABuFfogtW6k/6+FsO3OzVKRpn8kPzR9frH5Q5Zg8af6s//il/f2XnX49 dAfJDK8eiOXmMLTlU2mDlo687A== X-Received: by 2002:a17:902:22cc:: with SMTP id o12-v6mr6884647plg.108.1537979080606; Wed, 26 Sep 2018 09:24:40 -0700 (PDT) Received: from ?IPv6:2601:646:c200:7429:f021:f41a:9790:a132? ([2601:646:c200:7429:f021:f41a:9790:a132]) by smtp.gmail.com with ESMTPSA id b18-v6sm11149765pgk.15.2018.09.26.09.24.39 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 26 Sep 2018 09:24:39 -0700 (PDT) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (1.0) Subject: Re: [RFC PATCH 10/10] x86/fpu: defer FPU state load until return to userspace From: Andy Lutomirski X-Mailer: iPhone Mail (16A366) In-Reply-To: <20180926153229.n5rwlfhuqu42ds6v@linutronix.de> Date: Wed, 26 Sep 2018 09:24:38 -0700 Cc: Bryan O'Donoghue , Denys Vlasenko , Ong@linutronix.de, Boon Leong , linux-kernel@vger.kernel.org, x86@kernel.org, Andy Lutomirski , Paolo Bonzini , =?utf-8?Q?Radim_Kr=C4=8Dm=C3=A1=C5=99?= , kvm@vger.kernel.org, "Jason A. Donenfeld" , Rik van Riel Content-Transfer-Encoding: quoted-printable Message-Id: <176B4B39-6471-401C-A1E1-4B6B3FF157C3@amacapital.net> 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> <20180926153229.n5rwlfhuqu42ds6v@linutronix.de> To: Sebastian Andrzej Siewior Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > On Sep 26, 2018, at 8:32 AM, Sebastian Andrzej Siewior wrote: >=20 > 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? >=20 > 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. Certainly the early Quark CPUs were, um, crappy. They had so many terrifying= errata that I=E2=80=99m surprised anyone is willing to use them. I would *hope* that all supported Quark CPUs support FPU instructions even i= f they=E2=80=99re microcoded and run extremely slowly.