Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp8139398imu; Tue, 4 Dec 2018 03:41:54 -0800 (PST) X-Google-Smtp-Source: AFSGD/UoeMpuKKOxr0qB3DQMwnUdMhJSNSq/i6nHIxNFXrf/3YtVA/sAZSEfLUtCf609l8HgsVkc X-Received: by 2002:a63:bd51:: with SMTP id d17mr16768053pgp.443.1543923714732; Tue, 04 Dec 2018 03:41:54 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1543923714; cv=none; d=google.com; s=arc-20160816; b=ZHJ0Y9MmAO6mjICz3W67zrMr3eX1JzBc7PLhQLF1N3eL+Bqm/1iBzailTFldt4jSg2 IxZM40lDXbfGPz9zYjHBV2dTJobJMdkI+3IghKumeoTgQAFkZhiuD12xO/0v0rayTLnp 7WzGc733SKH3g1YwDtoCbHZ0i1c7hy/8tfxrKn3/IdDUUAtX64eV4oGrebWS63HWFlmj Q912J5B4NA1aOmpeIi3BlCDCXzgbDtz7Xm6bYrq5iwf33+W68//w57cZ1YXn2jVYfukE ek4nF8cqYQizYCvKHS6fLZCPh0zDF3GsJH2kZpY85RW0KDkxUrVYkfv6Rmmi+Mh2dvPH 9dbw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=yZMYqzi3qHJpxCgJgFVIs0GhkbMh1iFUYKSUfhvTWFM=; b=gqLftu2cX19QUnhghXhDkBs0ZrntGj58RSSkcerpM5zX0PI2rXrQQ25q/zBRzuaSeo B7cKOiGUPewvXsoQN+KOTbPfls8Tz/NyZaw+HUS1UKD/kgN+3r0HXRsgyRmsFG+I/HLg 8wWV1OmsVJuzsubxcNjirIR4ZbwtodHOXGMu0/lskWUi4bSQVbYYiKOlPKj4B47i3xG4 rPOXUmPvg6k2+R4mQHME9B6o716Xq0sGNZ6bwScB8HWXAFut5Szed76NX/NdX7mzYSJ7 UdbiIqKmn09XKceKkWMurCyGVO5k3DGgJvuf5PbUbKg6bu9ORferRr0mV3MOtsLd7mv0 jsmA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@alien8.de header.s=dkim header.b="dB/gJ68o"; 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; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=alien8.de Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id m76si16702373pfj.48.2018.12.04.03.41.39; Tue, 04 Dec 2018 03:41:54 -0800 (PST) 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=@alien8.de header.s=dkim header.b="dB/gJ68o"; 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; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=alien8.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726356AbeLDLjq (ORCPT + 99 others); Tue, 4 Dec 2018 06:39:46 -0500 Received: from mail.skyhub.de ([5.9.137.197]:37856 "EHLO mail.skyhub.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725764AbeLDLjp (ORCPT ); Tue, 4 Dec 2018 06:39:45 -0500 Received: from zn.tnic (p200300EC2BC7BF007D8ACF05B2F0FCCA.dip0.t-ipconnect.de [IPv6:2003:ec:2bc7:bf00:7d8a:cf05:b2f0:fcca]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.skyhub.de (SuperMail on ZX Spectrum 128k) with ESMTPSA id 3D8BE1EC0B8B; Tue, 4 Dec 2018 12:39:43 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alien8.de; s=dkim; t=1543923583; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:in-reply-to:in-reply-to: references:references; bh=yZMYqzi3qHJpxCgJgFVIs0GhkbMh1iFUYKSUfhvTWFM=; b=dB/gJ68osL0QFcuN/L2b6VvXuySArTBSizedy+6pnOO9bvhwfGSWEIOo7DQFgBrtEm6h9t TobcTRm7Hn8QzPhWGvH6t0ylEUZ1FKImcFPobiPgfHYSZqdnHLh4teRkT3erp0jiTWm1Xq vfuDZPK79fXQtKGWn/hsE6NmWrZC8kI= Date: Tue, 4 Dec 2018 12:39:42 +0100 From: Borislav Petkov To: Ard Biesheuvel , Sebastian Andrzej Siewior Cc: Dave Hansen , Ingo Molnar , the arch/x86 maintainers , nstange@suse.de, Rik van Riel , KVM devel mailing list , "Jason A. Donenfeld" , Linux Kernel Mailing List , Ingo Molnar , Radim =?utf-8?B?S3LEjW3DocWZ?= , "H. Peter Anvin" , Thomas Gleixner , Andy Lutomirski , Borislav Petkov , linux-efi , Paolo Bonzini , linux-tip-commits@vger.kernel.org Subject: Re: [tip:x86/fpu] x86/fpu: Don't export __kernel_fpu_{begin,end}() Message-ID: <20181204113941.GC11803@zn.tnic> References: <20181129150210.2k4mawt37ow6c2vq@linutronix.de> <20181203220841.GB4794@zn.tnic> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20181203220841.GB4794@zn.tnic> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Dec 03, 2018 at 11:08:41PM +0100, Borislav Petkov wrote: > On Mon, Dec 03, 2018 at 10:12:19PM +0100, Ard Biesheuvel wrote: > > > + * Using the FPU in hardirq is not allowed. > > > > According to the documentation in x86/kernel/fpu/core.c, this is not > > true. So which one is accurate? > > I think you mean the irq from user mode... Yap, we do allow that. > > Sebastian? Ok, I've zapped that sentence from the comment until we clarify what Sebastian meant. -- Regards/Gruss, Boris. Good mailing practices for 400: avoid top-posting and trim the reply.