Received: by 2002:a05:6359:c8b:b0:c7:702f:21d4 with SMTP id go11csp3720537rwb; Fri, 30 Sep 2022 07:28:40 -0700 (PDT) X-Google-Smtp-Source: AMsMyM6n7bdmn6crdgB1+8QwYqhImMxGXqj72htSNHG+0ePBQT+O3/9jqtULDIoOB/PxJQC5txIg X-Received: by 2002:a05:6a00:15c4:b0:54a:13f1:1118 with SMTP id o4-20020a056a0015c400b0054a13f11118mr9648668pfu.52.1664548119773; Fri, 30 Sep 2022 07:28:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1664548119; cv=none; d=google.com; s=arc-20160816; b=mJn0sq2+wnEzSeyFGz+ig/0RDpE+EF+qybEUzV9Eg7D+UM86gjayIzPc9BiIOmOHk4 wxgDCmr//ndbduO1S26tfIBvRTUxyFa9y65lHIsaM7VMjYblhzsE4/hOVpkmZVYYDRZA jyD6NKIlUbieeB4rKKUhw85QNwR7rNOOAn9JDDSwpjsq28yVLodpa8gZVcfVGr4Sun82 ls0sX/KVI/8MelrS6Pr2XBHZwA1ZGXMeDVxf/pwnJ0E+PMEIvlXfr1iVsc72cIRSrQpr +CVepNSPUsbtyRIQ2IsNAaKpHhPXfy5UGEjQpTmhXuB83dqK/ACdYnIccFCS65yRb4bV AJ1A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=Qoz8AmbfL3c1gEhb9RhVqolO2Z1Q7cU3//oNxnT6QiY=; b=qY6EPhCCJ/5kQqMZMVPaxY/7aqHhRlwzhsO6wWG2f7AWo3m60a1coGNXP+XrZZcqXO NB8kjlicujoH9j4QLyv4J+QP7KIyY3JXUqXE460M3gvebbe/4M/uqEk2uYdM8/6afuH5 XABv93HQM9d4nRcQ3crOpXm/IIEy4i26lXxgysvnvKkmCuN+H8sr3L2kFeEw1ER/1sri 98+h9H0e/qXNIQ9l3RHK11odYWGB6wAGCmxtVLClygps1kcdaKcnFBm3PSU7EMdPzs7E yvwvM7sUSAAQeG+fxBoIYbgoIXwIszYcWMNtl+DL/0UczdyJTZpPKoCgnvNdz8yhys1z LV/g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=lEw9Md54; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id k186-20020a633dc3000000b0043922f7c577si2828054pga.299.2022.09.30.07.28.24; Fri, 30 Sep 2022 07:28:39 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=lEw9Md54; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230309AbiI3Nln (ORCPT + 99 others); Fri, 30 Sep 2022 09:41:43 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52172 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231488AbiI3Nlk (ORCPT ); Fri, 30 Sep 2022 09:41:40 -0400 Received: from mail-pj1-x1036.google.com (mail-pj1-x1036.google.com [IPv6:2607:f8b0:4864:20::1036]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 252AF14E762; Fri, 30 Sep 2022 06:41:39 -0700 (PDT) Received: by mail-pj1-x1036.google.com with SMTP id u12so4319253pjj.1; Fri, 30 Sep 2022 06:41:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date; bh=Qoz8AmbfL3c1gEhb9RhVqolO2Z1Q7cU3//oNxnT6QiY=; b=lEw9Md54Prt5CXkYBqczlMBRAszMS3UrSUYyupvUcYRiqO09gvfojW/5clCytriixS 2808RzoaDYp61oGmZ99HmIzUJaXUj7qfptMeNj8c1POWwsxVBHnMHW5eHJ7eVQ7kbJDC 37oHvD+l3+mZZkvB4HR+RV3QXcBs3Gnwia+aka0g/Bvx7s3rv/S2+m7ycYVFA2NzegCX /VsEROR/dBjvTPWylKYne89QtOdOnn5GiizTeDaBCCfx7hMKZMbopyhPWIhn0wZrqUzL wrYqvyrKk7qj4uPS45mcn+WYnyuTZA/rt/bZ0E3bFtZj/6l/7vBHpzi8rbbKXc0catvl XBHw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date; bh=Qoz8AmbfL3c1gEhb9RhVqolO2Z1Q7cU3//oNxnT6QiY=; b=MDZFeLuDpb2ZdI4/7buaDxUio3smlPEdN+egonP28qT5BJHZ8xFD10fXewknn/YJR4 IzEy1J6tlry6GF9tQXCstbX01/TfZQ5d88LpQqqZt9BDfUdftHpS5tUjpMChNMQFlM/5 GTjqwWUDPEeH07OvenjBJ8bEsU/7G6Xuwy7Im/KbmZHrMBLryGFvGqhSu1H0Y5JK30dS zK98GZRTNVM5turaRlwPfpImJUKlP1Q8WVh2L4IeFrZ/CrkvIPrq9lQPp+0uLHSkVR7Q N8kbzCFH53uBx8n8SMREF66oy/OG9egRj1Crm8SK/xlJ8dMMxXcLhGwMn0vVl5OU4e/q OkvA== X-Gm-Message-State: ACrzQf0rxbnDJhIACMBtAoqMMSh2v8WuxdIaYCbCgjgEJUYvs4e9fFSP qRqVE2UL5MwMp+OxHNpKWlDJZaDYlUkreg== X-Received: by 2002:a17:902:690a:b0:17a:32d:7acc with SMTP id j10-20020a170902690a00b0017a032d7accmr9017854plk.18.1664545298630; Fri, 30 Sep 2022 06:41:38 -0700 (PDT) Received: from [192.168.43.80] (subs32-116-206-28-32.three.co.id. [116.206.28.32]) by smtp.gmail.com with ESMTPSA id j17-20020a635511000000b00439c6a4e1ccsm1667305pgb.62.2022.09.30.06.41.28 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 30 Sep 2022 06:41:38 -0700 (PDT) Message-ID: <0eb358ac-068c-d025-07e3-80a3c51ef39c@gmail.com> Date: Fri, 30 Sep 2022 20:41:24 +0700 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.13.1 Subject: Re: [PATCH v2 01/39] Documentation/x86: Add CET description Content-Language: en-US To: Jonathan Corbet , Rick Edgecombe 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 , Borislav Petkov , Cyrill Gorcunov , Dave Hansen , Eugene Syromiatnikov , Florian Weimer , "H . J . Lu" , Jann Horn , Kees Cook , Mike Kravetz , Nadav Amit , Oleg Nesterov , Pavel Machek , Peter Zijlstra , Randy Dunlap , "Ravi V . Shankar" , Weijiang Yang , "Kirill A . Shutemov" , joao.moreira@intel.com, John Allen , kcc@google.com, eranian@google.com, rppt@kernel.org, jamorris@linux.microsoft.com, dethoma@microsoft.com, Yu-cheng Yu References: <20220929222936.14584-1-rick.p.edgecombe@intel.com> <20220929222936.14584-2-rick.p.edgecombe@intel.com> <87v8p5f0mg.fsf@meer.lwn.net> From: Bagas Sanjaya In-Reply-To: <87v8p5f0mg.fsf@meer.lwn.net> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-1.2 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,NICE_REPLY_A, RCVD_IN_DNSWL_NONE,RCVD_IN_SORBS_WEB,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 9/30/22 20:33, Jonathan Corbet wrote: >> CET introduces Shadow Stack and Indirect Branch Tracking. Shadow stack is >> a secondary stack allocated from memory and cannot be directly modified by >> -applications. When executing a CALL instruction, the processor pushes the >> +applications. When executing a ``CALL`` instruction, the processor pushes the > > Just to be clear, not everybody is fond of sprinkling lots of ``literal > text`` throughout the documentation in this way. Heavy use of it will > certainly clutter the plain-text file and can be a net negative overall. > Actually there is a trade-off between semantic correctness and plain-text clarity. With regards to inline code samples (like identifiers), I fall into the former camp. But when I'm reviewing patches for which the surrounding documentation go latter camp (leave code samples alone without markup), I can adapt to that style as long as it causes no warnings whatsover. -- An old man doll... just what I always wanted! - Clara