Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751291AbbEASOS (ORCPT ); Fri, 1 May 2015 14:14:18 -0400 Received: from mga03.intel.com ([134.134.136.65]:27666 "EHLO mga03.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751078AbbEASOR (ORCPT ); Fri, 1 May 2015 14:14:17 -0400 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.13,351,1427785200"; d="scan'208";a="722246556" Message-ID: <5543C277.9070208@intel.com> Date: Fri, 01 May 2015 11:14:15 -0700 From: Dave Hansen User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.6.0 MIME-Version: 1.0 To: Bobby Powers , linux-kernel@vger.kernel.org CC: x86@kernel.org, Oleg Nesterov , Borislav Petkov , Ingo Molnar , Andy Lutomirski , Fenghua Yu , Linus Torvalds , Pekka Riikonen , Quentin Casasnovas , Rik van Riel , Suresh Siddha , Andi Kleen Subject: Re: [PATCH] x86/fpu: always restore_xinit_state() when !use_eager_cpu() References: <1430085869-4327-1-git-send-email-bobbypowers@gmail.com> <553E4BB2.2040603@intel.com> In-Reply-To: <553E4BB2.2040603@intel.com> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 693 Lines: 18 On 04/27/2015 07:46 AM, Dave Hansen wrote: >> > static inline void restore_init_xstate(void) >> > { >> > if (use_xsave()) >> > xrstor_state(init_xstate_buf, -1); >> > else >> > fxrstor_checking(&init_xstate_buf->i387); >> > } > I'll do some testing of this today and make sure it doesn't break the > things that I saw Oleg's patch "fix". This looks OK to me. You can add my tested-by if you like. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/