From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga17.intel.com ([192.55.52.151]:35277 "EHLO mga17.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727351AbeJBXKa (ORCPT ); Tue, 2 Oct 2018 19:10:30 -0400 Message-ID: Subject: Re: [RFC PATCH v4 02/27] x86/fpu/xstate: Change some names to separate XSAVES system and user states From: Yu-cheng Yu Date: Tue, 02 Oct 2018 09:21:18 -0700 In-Reply-To: <20181002152903.GB29601@zn.tnic> References: <20180921150351.20898-1-yu-cheng.yu@intel.com> <20180921150351.20898-3-yu-cheng.yu@intel.com> <20181002152903.GB29601@zn.tnic> Content-Type: text/plain; charset="UTF-8" Mime-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-arch-owner@vger.kernel.org List-ID: To: Borislav Petkov Cc: x86@kernel.org, "H. Peter Anvin" , Thomas Gleixner , Ingo Molnar , linux-kernel@vger.kernel.org, linux-doc@vger.kernel.org, linux-mm@kvack.org, linux-arch@vger.kernel.org, linux-api@vger.kernel.org, Arnd Bergmann , Andy Lutomirski , Balbir Singh , Cyrill Gorcunov , Dave Hansen , Florian Weimer , "H.J. Lu" , Jann Horn , Jonathan Corbet , Kees Cook , Mike Kravetz , Nadav Amit , Oleg Nesterov , Pavel Machek , Peter Zijlstra , Randy Dunlap , "Ravi V. Shankar" , Vedvyas Shanbhogue Message-ID: <20181002162118.sbxc6PNaD1OMz07PZHE-KRK8GeS8GJBw3v4Pq7pX0xM@z> On Tue, 2018-10-02 at 17:29 +0200, Borislav Petkov wrote: > On Fri, Sep 21, 2018 at 08:03:26AM -0700, Yu-cheng Yu wrote: > > To support XSAVES system states, change some names to distinguish > > user and system states. > > I don't understand what the logic here is. SDM says: > > XSAVES—Save Processor Extended States Supervisor > > the stress being on "Supervisor" - why does it need to be renamed to > "system" now? > Good point. However, "system" is more indicative; CET states are per-task and not "Supervisor". Do we want to go back to "Supervisor" or add comments? Yu-cheng