Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753057AbcD2Uk5 (ORCPT ); Fri, 29 Apr 2016 16:40:57 -0400 Received: from mga09.intel.com ([134.134.136.24]:34969 "EHLO mga09.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752696AbcD2Uk4 (ORCPT ); Fri, 29 Apr 2016 16:40:56 -0400 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.24,553,1455004800"; d="scan'208";a="965634204" Subject: Re: [PATCH v4 07/10] x86/xsaves: Fix PTRACE frames for XSAVES To: Borislav Petkov References: <46ff4951eef7e9ad30b25df401fa536a5bc9100b.1457038929.git.yu-cheng.yu@intel.com> <5723C13B.8080408@linux.intel.com> <20160429203838.GE19964@pd.tnic> Cc: Yu-cheng Yu , x86@kernel.org, "H. Peter Anvin" , Thomas Gleixner , Ingo Molnar , linux-kernel@vger.kernel.org, Andy Lutomirski , Sai Praneeth Prakhya , "Ravi V. Shankar" , Fenghua Yu From: Dave Hansen Message-ID: <5723C6D3.6020600@linux.intel.com> Date: Fri, 29 Apr 2016 13:40:51 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.6.0 MIME-Version: 1.0 In-Reply-To: <20160429203838.GE19964@pd.tnic> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 367 Lines: 8 On 04/29/2016 01:38 PM, Borislav Petkov wrote: > On Fri, Apr 29, 2016 at 01:16:59PM -0700, Dave Hansen wrote: >> > We probably want a software X86_FEATURE_OS_XSAVES or something. > ... or a simple variable. I think we do some instruction patching based on it, so I was just suggesting the software X86_FEATURE because it would plug in to the existing scheme easier.