Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp1354027imm; Sun, 2 Sep 2018 20:23:25 -0700 (PDT) X-Google-Smtp-Source: ANB0VdaXpRsowX8R7ALg53Z/vm2TyRPPDeVPtODyvGEDVZlsRHvid2lj4poGc+orxTADPJMVJ7x7 X-Received: by 2002:a63:f849:: with SMTP id v9-v6mr24473724pgj.71.1535945005651; Sun, 02 Sep 2018 20:23:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1535945005; cv=none; d=google.com; s=arc-20160816; b=YcnxrWhHxt+D6Nx6/4cFCG9sTKr62g49Au8hXeh4cNhgPHrX15jKjwZs1U3RmKyBMg LTq+4EKMrvkJ0cvUWnQSjh7FFJgGdYehm0eV8frLYrFLcwEpKCkncM5QOW581/3lmyQc 65nnKcT5hat3CBwEMSAmpnIUEQvSZ+a4Ydfm6loZ5T276f+V7G6uheAXFCVBsbh7KnhJ lweQKihKd2KsnykbQpFguo+u61rf6F1aKHCe7T0rxK+YF2EG8LixY7+RkM1nrtJFUT+U tV2QjWxgaqT6wFjKBA2kzN24D8BqCiMrk1K3CM0wzUd74buycVuV0PheOtDT2Vbe5m3C 5JIQ== 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 :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:to:subject:dkim-signature :arc-authentication-results; bh=uORBjb/0bYVbJo0Sy1dHc5vGcDBEAhWL5ocuYC2u9nY=; b=gYmjC40ULccHY12WM2jWBNoqjUkoNxFeSoHJxJ3+1z0Ie3H3U79hSNKySQEuCMcjUQ tFYazS5vzE+AN/tVplwAzoOs/9R3UqWfYUvZVZdvf4Q1TgIGyZbghzX53Y6DOtEftwhI NIcTqIvIQc1I26++Pn+2MUDuI3A01S3SwHwuJwk93UDZ6rDgeV0QtqpuLXnw7kd07BGW SuJHYXPvDEvIL2LnKQGCDZwCIUdFfBdHq9mZ8x0K1m0USJNDG5ybDdoASIJqZFLcM4M1 vNadmYvNI26c8rqARIzZBa7+PUWYGpTsjLGClvLkTZLrRWeb74bugH8DVS6OqxiSaEbE qV9w== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=merlin.20170209 header.b=EUUzzQex; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id n9-v6si16464855pff.370.2018.09.02.20.23.10; Sun, 02 Sep 2018 20:23:25 -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; dkim=fail header.i=@infradead.org header.s=merlin.20170209 header.b=EUUzzQex; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727641AbeICHPY (ORCPT + 99 others); Mon, 3 Sep 2018 03:15:24 -0400 Received: from merlin.infradead.org ([205.233.59.134]:33328 "EHLO merlin.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725903AbeICHPY (ORCPT ); Mon, 3 Sep 2018 03:15:24 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=merlin.20170209; h=Content-Transfer-Encoding:Content-Type: In-Reply-To:MIME-Version:Date:Message-ID:From:References:To:Subject:Sender: Reply-To:Cc:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help: List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=uORBjb/0bYVbJo0Sy1dHc5vGcDBEAhWL5ocuYC2u9nY=; b=EUUzzQexb5mYBNLdGr9gbacO6n G7Oj7LzfLFcOFvo+Kn2c7J4HoaiShvK2SPyH/H5cH+Z5VAs8BLxguxSOEEWiUseTTGukT+Orl0UL4 XI+Iqf2Dvde8kETNjz2uQAaI5p71+fQwfAJmbDh4gYPcWOvELqUaNLTc7lIU85XlhnveZfMrrvvnE SolKRx+YZE7JkBILPFnr3uAeu9awkoHzoFLW4X8plr95A8ulFkjCUxav8RwQwj+XLkPl6nb1pS0/f TTNm/GCCQMKWexsZo+4CM5NoO7ytO2Gs2DVIvLavF9K99lqa+nxVcYE48XG8NKK0+CkpID/zebxTm w1RqETfQ==; Received: from static-50-53-52-16.bvtn.or.frontiernet.net ([50.53.52.16] helo=midway.dunlab) by merlin.infradead.org with esmtpsa (Exim 4.90_1 #2 (Red Hat Linux)) id 1fwf2x-0005ZH-Kj; Mon, 03 Sep 2018 02:56:59 +0000 Subject: Re: [RFC PATCH v3 05/24] Documentation/x86: Add CET description To: Yu-cheng Yu , 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 , "Ravi V. Shankar" , Vedvyas Shanbhogue References: <20180830143904.3168-1-yu-cheng.yu@intel.com> <20180830143904.3168-6-yu-cheng.yu@intel.com> From: Randy Dunlap Message-ID: <709e5e6c-dab1-7a20-9641-b36a0867c006@infradead.org> Date: Sun, 2 Sep 2018 19:56:55 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 MIME-Version: 1.0 In-Reply-To: <20180830143904.3168-6-yu-cheng.yu@intel.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, One spello: On 08/30/2018 07:38 AM, Yu-cheng Yu wrote: > diff --git a/Documentation/x86/intel_cet.rst b/Documentation/x86/intel_cet.rst > new file mode 100644 > index 000000000000..337baa1f6980 > --- /dev/null > +++ b/Documentation/x86/intel_cet.rst > @@ -0,0 +1,252 @@ > +========================================= > +Control Flow Enforcement Technology (CET) > +========================================= > + > +[1] Overview > +============ > + > +Control Flow Enforcement Technology (CET) provides protection against > +return/jump-oriented programing (ROP) attacks. It can be implemented programming > +to protect both the kernel and applications. In the first phase, > +only the user-mode protection is implemented for the 64-bit kernel. > +Thirty-two bit applications are supported under the compatibility > +mode. -- ~Randy