Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp1267616imm; Fri, 14 Sep 2018 14:22:04 -0700 (PDT) X-Google-Smtp-Source: ANB0Vdbhg3AOIo1UwEzH8NuDpB33D3C0hK7VoznltdAgE0k+Qa1biFvsoaZ7IgDWjN7y5SWSAGWu X-Received: by 2002:a63:560e:: with SMTP id k14-v6mr13844888pgb.189.1536960124531; Fri, 14 Sep 2018 14:22:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1536960124; cv=none; d=google.com; s=arc-20160816; b=SXi/Lh9QdocFZuJTYRLaZcOWAtKkLr/XqKHe4yZEj1qvRAIv9jNxwZtQFVrB7M5iEy GDsacoCqPA4rOYDOj2vhNjGq89AbA55PWC/zI4C4rNziBhr5reN/uCT+EDsgMQaF/Dep EyL9ErVqJG6xEv20WlyJFlrkYT+/Y2ecJ6mJVxnWaKHNqkxQNAWQCfwVZNT2KpzuUffF sLo4LxRI8uKq2uVdjJhhS+a6g99CUQiDNrRxpzDzt/FCE+8VoigbWaElWVw9ndor48GB hvjqItprwYEe93MJWUIMLgJJ3xopWOJQaCaANtU+4SsJOufnc4JHkwG9HBgvlrsU18Q4 hUkA== 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=N9NO5MYTz7H6QBBqc3L5vp0U9WJ6XWqT5xS7rI1UxLg=; b=ZVPONtP4uvQ99fLdrtYWikfJSbgZLCCkG51IUu5LQDXQx+QSOaB1BvzLUEFk3lK7L9 ZREOK++kBHEq3DqmxtdG63dd4e+DpyKJhRKHMQVM91WE5Go9ZfidlToo3HTqQgLGtqL1 X8NBMywwjctlNiaU4e3OZYV36A4kt0ufrcDjA4xr5yrk1Y40AINdoMEo3jY4sSbEWrBc VRW6ALW9lb7hO0PzFrHNzTGF8QnBUgnWWIpjhvRZsO9aMnSJluQOR1qwfi556PYLIBsC S/kpUhfp41JmSllBSINm+fl0Xb2b2uZnjSI1xNR0LRhlbWSMS7yeGwXmXkStP+lsucVg RWlQ== 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 e6-v6si8028651pfk.198.2018.09.14.14.21.46; Fri, 14 Sep 2018 14:22:04 -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 S1728277AbeIOChz (ORCPT + 99 others); Fri, 14 Sep 2018 22:37:55 -0400 Received: from mga14.intel.com ([192.55.52.115]:9165 "EHLO mga14.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727762AbeIOChz (ORCPT ); Fri, 14 Sep 2018 22:37:55 -0400 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga008.jf.intel.com ([10.7.209.65]) by fmsmga103.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 14 Sep 2018 14:21:41 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.53,374,1531810800"; d="scan'208";a="73321823" Received: from 2b52.sc.intel.com ([143.183.136.51]) by orsmga008.jf.intel.com with ESMTP; 14 Sep 2018 14:21:40 -0700 Message-ID: <1536959832.12990.34.camel@intel.com> Subject: Re: [RFC PATCH v3 05/24] Documentation/x86: Add CET description From: Yu-cheng Yu To: Pavel Machek 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 , Peter Zijlstra , "Ravi V. Shankar" , Vedvyas Shanbhogue Date: Fri, 14 Sep 2018 14:17:12 -0700 In-Reply-To: <20180830203948.GB1936@amd> References: <20180830143904.3168-1-yu-cheng.yu@intel.com> <20180830143904.3168-6-yu-cheng.yu@intel.com> <20180830203948.GB1936@amd> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.18.5.2-0ubuntu3.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 Thu, 2018-08-30 at 22:39 +0200, Pavel Machek wrote: > Hi! > > > > > diff --git a/Documentation/admin-guide/kernel-parameters.txt > > b/Documentation/admin-guide/kernel-parameters.txt > > index 9871e649ffef..b090787188b4 100644 > > --- a/Documentation/admin-guide/kernel-parameters.txt > > +++ b/Documentation/admin-guide/kernel-parameters.txt > > @@ -2764,6 +2764,12 @@ > >   noexec=on: enable non-executable mappings (default) > >   noexec=off: disable non-executable mappings > >   > > + no_cet_ibt [X86-64] Disable indirect branch tracking for > > user-mode > > + applications > > + > > + no_cet_shstk [X86-64] Disable shadow stack support for user- > > mode > > + applications > Hmm, not too consistent with "nosmap" below. Would it make sense to > have cet=on/off/ibt/shstk instead? We also have noxsave, noxsaveopt, noxsaves, etc.  This style is more decisive? If "cet=" is preferred, we can change it later? Yu-cheng