Received: by 2002:ac0:a582:0:0:0:0:0 with SMTP id m2-v6csp1544575imm; Tue, 2 Oct 2018 09:51:55 -0700 (PDT) X-Google-Smtp-Source: ACcGV60uNh7LsytSdK6BR4xJbPTePq+h5EdzmYbOiXUQZ8E3eL0Ntq6nPibwZs1uBg/9v+Xle3qA X-Received: by 2002:a63:700e:: with SMTP id l14-v6mr14681735pgc.359.1538499115140; Tue, 02 Oct 2018 09:51:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1538499115; cv=none; d=google.com; s=arc-20160816; b=ZGo+6IyNPfjZ4f7brpacL9Zm8wnhCFhnfbfsawLwszpC+QO7YDD8vLArkKcbn/alIo W1iCxGiFZuOHC1vVAa/AIVSevpVNC5vE+oD9K9/4KgTEcC6Sm/R3Kxl26j7U4xmu0+um TpYbiHTPB7gpcxMODiCx35HLrHChl7iq+VRSH89uJRsIAUUc1n4fBAx0y9BoKReK6jVV ZwL030LO52ipJ752jyUHQlOf8XYYfu9wJNSSkRX43smdyjkn/2CkRrFO78UjD0ZA6CUx 9dOW3jqZVTxrFV0M8maVCc04MACLb0fpxQaORDaOVuqggoKp7ysYeeZKgQxp6WSvu59S 1s4g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:date:cc:to:from:subject:message-id; bh=fqlkZW/bS4ULKeQUa/TOmHV6LLvv8uXB45LoFVnpDIk=; b=lwmflmj88xflzbE2oJ+9wGEDCHHhFNlldmq6SjVimqfa/n1fxT7mb7xgrQMlWk2OML VonQfThmU6kEw7ZEtxj/co2HgR6oJXrkVoh6KbE++4TOF+8cFxtWjvX8S6vHwDdOps/o I/aPMg7/DtaayXByHcTwQMQKMKsC8h4dR0Yywqj/MCP/hg4ujBEGzH2Ox+KUTmAb+lYk rDI04HsBkXJn21XjYa7s12IoVMZpPK42JWA7kFsRkSw+cTBlNsU4KAJZLXUqLzxyIA4J 3qvjXcaWRNZHDEPDLa7pEq/uRKoVNQYoG307opBQ16GLiKivZGhVFijnLOT5B8Z+FwKE t3xQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id g12-v6si16109390plt.19.2018.10.02.09.51.30; Tue, 02 Oct 2018 09:51:55 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729611AbeJBXKa (ORCPT + 99 others); Tue, 2 Oct 2018 19:10:30 -0400 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 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga002.jf.intel.com ([10.7.209.21]) by fmsmga107.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 02 Oct 2018 09:26:18 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.54,332,1534834800"; d="scan'208";a="96798264" Received: from 2b52.sc.intel.com ([143.183.136.147]) by orsmga002.jf.intel.com with ESMTP; 02 Oct 2018 09:25:59 -0700 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 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 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" X-Mailer: Evolution 3.28.1-2 Mime-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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