From mboxrd@z Thu Jan 1 00:00:00 1970 From: Borislav Petkov Subject: Re: [tip:x86/fpu] x86/fpu: Don't export __kernel_fpu_{begin,end}() Date: Tue, 4 Dec 2018 12:39:42 +0100 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 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 To: Ard Biesheuvel , Sebastian Andrzej Siewior Return-path: Content-Disposition: inline In-Reply-To: <20181203220841.GB4794@zn.tnic> Sender: linux-kernel-owner@vger.kernel.org List-Id: kvm.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.