Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp7508737imu; Mon, 3 Dec 2018 14:10:59 -0800 (PST) X-Google-Smtp-Source: AFSGD/XL3Rp2x65tAaqeH+tboXMl5ILLmBDow/EEDsiejUd51cGal9BeguIwdAxGTFbWJr1utrCY X-Received: by 2002:aa7:8354:: with SMTP id z20mr17321173pfm.81.1543875059658; Mon, 03 Dec 2018 14:10:59 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1543875059; cv=none; d=google.com; s=arc-20160816; b=J2H5wvtqwe2KzBwUgLtlx22LjxKoqDdALE//l6R7jVNoJTDHnxxI48ZpecPm36CKM5 Md1GFU+w/G8GUWBonVU55khkHvRFq1lrueC5BJ57vZ8VYdJXv+HXubl1ErNYvzoJT6aI 0/eKyItpbUw2ydtHZz4EOWXNPmh5krV4VwOQUxxtJXhBqXQrT3tjzgKVtdb0TbClGVKJ mKtAbkoc+qLXqFdMoaFFGvTwiEGbRSmTlsQ2ZjVVTl8Ora11POvNsWeNlSvhohJiFyT/ 653No6LOFQ9U9NabXQwtv583iX1BS2MuTjxGMemAYbkQEmObrTODbZVhA8DdtCiPeAuS XutA== 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=Uc8VYgqal0W5LWwMwovtyq2uyvTU7nfLcLuMNm8VR24=; b=JcprgoIZkxpLnKA/Ux0hqIKKCyvy2GXaeyfZMgg8VKbCZS2yyFUCUyBfWqocV4cAPJ d13lUh1u0j1hYzTNGWJz64YWusxhOvZd0fsRjDxPWSHNc1Cx56t1jdbBsb8PbsGR21lz /AKRJumoBX7Dy1RpDkZ1DKcPB1X2fnfWnzYKAvH2qKhttyNApgobjdJu5qrc4j06H+oe b+Fh9eg9R8CGMAyPjDOplnUU3eZx1CVwKFMLIBO8LSkCEUbvSWLu92GHJQfpIP4f63LN vPCOZobgFJpNxIxUTu8YDymVthvJwSq/Fp0tza/CB9APNNsMPhgnWt6U8NMBdXInpScq 7GsA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@alien8.de header.s=dkim header.b=YWoaeDuL; 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 f38si12791941pgf.206.2018.12.03.14.10.43; Mon, 03 Dec 2018 14:10:59 -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=YWoaeDuL; 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 S1725982AbeLCWIt (ORCPT + 99 others); Mon, 3 Dec 2018 17:08:49 -0500 Received: from mail.skyhub.de ([5.9.137.197]:58606 "EHLO mail.skyhub.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725903AbeLCWIs (ORCPT ); Mon, 3 Dec 2018 17:08:48 -0500 Received: from zn.tnic (p200300EC2BC7BF00329C23FFFEA6A903.dip0.t-ipconnect.de [IPv6:2003:ec:2bc7:bf00:329c:23ff:fea6:a903]) (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 B1E291EC02AE; Mon, 3 Dec 2018 23:08:46 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alien8.de; s=dkim; t=1543874926; 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=Uc8VYgqal0W5LWwMwovtyq2uyvTU7nfLcLuMNm8VR24=; b=YWoaeDuLH8B7poKqkM3Koe2gplliCAITpYBuEE6nDAjirA/sfD9c+j7AzHD1r1EvDUoLsj oecTm9oIRZpAc0oPjLFGBTh/h9gAxoFAYJKAcadckyAbG4mhKo1mA//tOsGXs7jILgAvBf zeLx4QTP7ECwWNM0mlDGTZR6bTJAtK8= Date: Mon, 3 Dec 2018 23:08:41 +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: <20181203220841.GB4794@zn.tnic> References: <20181129150210.2k4mawt37ow6c2vq@linutronix.de> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: 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 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? Thx. -- Regards/Gruss, Boris. Good mailing practices for 400: avoid top-posting and trim the reply.