From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756908AbbE2SyQ (ORCPT ); Fri, 29 May 2015 14:54:16 -0400 Received: from mail-wg0-f42.google.com ([74.125.82.42]:34286 "EHLO mail-wg0-f42.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756581AbbE2SyF (ORCPT ); Fri, 29 May 2015 14:54:05 -0400 Date: Fri, 29 May 2015 20:53:59 +0200 From: Ingo Molnar To: Dave Hansen Cc: linux-kernel@vger.kernel.org, Andy Lutomirski , Borislav Petkov , Fenghua Yu , "H. Peter Anvin" , Linus Torvalds , Oleg Nesterov , Thomas Gleixner Subject: Re: [PATCH 000/208] big x86 FPU code rewrite Message-ID: <20150529185359.GE27501@gmail.com> References: <1430848712-28064-1-git-send-email-mingo@kernel.org> <55523C7C.8000300@linux.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <55523C7C.8000300@linux.intel.com> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org * Dave Hansen wrote: > Hey Ingo, > > This throws a warning if I try to run one of my MPX programs: > > > [ 22.907739] ------------[ cut here ]------------ > > [ 22.907776] WARNING: CPU: 0 PID: 500 at /home/davehans/linux.git/arch/x86/kernel/fpu/core.c:324 fpu__activate_stopped+0x87/0x90() > > [ 22.907836] Modules linked in: > > [ 22.907859] CPU: 0 PID: 500 Comm: mpx-mini-test-v Not tainted 4.1.0-rc2-00208-ga9a0b36 #1181 > > [ 22.907901] Hardware name: Intel Corporation > > [ 22.907958] ffffffff81c5e4d0 ffff880166bff988 ffffffff817fb4de 0000000000000000 > > [ 22.908005] 0000000000000000 ffff880166bff9c8 ffffffff810a7dca ffff880166bff9d8 > > [ 22.908049] ffff8800728d40c0 0000000000000200 0000000000000000 ffff88007b3fec00 > > [ 22.908093] Call Trace: > > [ 22.908109] [] dump_stack+0x4c/0x65 > > [ 22.908139] [] warn_slowpath_common+0x8a/0xc0 > > [ 22.908169] [] warn_slowpath_null+0x1a/0x20 > > [ 22.908201] [] fpu__activate_stopped+0x87/0x90 > > [ 22.908230] [] xfpregs_get+0x35/0xa0 > > [ 22.908257] [] elf_core_dump+0x56c/0x1600 > > [ 22.908289] [] ? __slab_free+0x10a/0x212 > > [ 22.908318] [] do_coredump+0x78b/0xe90 > > [ 22.908346] [] ? __sigqueue_free.part.16+0x37/0x40 > > [ 22.908379] [] get_signal+0x1d3/0x640 > > [ 22.908407] [] ? send_signal+0x3e/0x80 > > [ 22.908434] [] do_signal+0x28/0x6c0 > > [ 22.908464] [] ? pick_next_entity+0xa9/0x190 > > [ 22.908488] [] ? do_send_specific+0x85/0xa0 > > [ 22.908521] [] do_notify_resume+0x78/0x80 > > [ 22.908549] [] int_signal+0x12/0x17 > > [ 22.908575] ---[ end trace 80f689a9062056c5 ]--- > > This is booted with or without xsaves support. Could you check latest -tip, whether this warning still occurs? It should be fixed by: 47f01e8cc23f ("x86/fpu: Fix FPU register read access to the current task") Thanks, Ingo