From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-9.2 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,USER_AGENT_SANE_1 autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id DB88EC43381 for ; Thu, 4 Feb 2021 20:47:43 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id A3C6C64F6D for ; Thu, 4 Feb 2021 20:47:43 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230086AbhBDUra (ORCPT ); Thu, 4 Feb 2021 15:47:30 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51124 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230075AbhBDUrX (ORCPT ); Thu, 4 Feb 2021 15:47:23 -0500 Received: from mail-lf1-x12a.google.com (mail-lf1-x12a.google.com [IPv6:2a00:1450:4864:20::12a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 065DFC0613D6; Thu, 4 Feb 2021 12:46:41 -0800 (PST) Received: by mail-lf1-x12a.google.com with SMTP id m22so6621840lfg.5; Thu, 04 Feb 2021 12:46:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=3fSrYxUXmlBaB+2NXWGl7tEc3+t2JcOM6NbRWxINsXA=; b=E5L8mx2TZxzo7nyiCm8lezIbPoDAbvkz1PckVfaH/u1Mu+Q5TQfbEgPftlNj+Z4Z90 BvexiDRA75M3TXXeiUoQJxOAIDOlD5umJkLm92wGmWwAkHekez0bDy5vtSyyIy1okHm7 MmVy9TTvOCjUbMU/4lHlfxVHFIxC2okBF3e6xo4QozIw0Eyh4udmJudDRKHNvWRGFRRf 0VHGewJPxMLv0sjAfZNJ53BNSjex5br4lRaOZ+fetxtN/MImxZfO6+J4u2rV+nJ3tihx Oite0B9bGX+BeiFQ9/6wpR0qnyaZ7dRZOkbC2FCk78C33GNvq8WNJuBKEUd6DqtikioA aUlg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=3fSrYxUXmlBaB+2NXWGl7tEc3+t2JcOM6NbRWxINsXA=; b=DPHN6mKcJPR6u7y/nhzynderLJuF+z0sO35vVs1HypV1+FQGfELtOtM7P/61fXPQh1 H3nTCwlwi4mmACgxKb2+KdtOVj6j3Atcb57xneIq/2XfQ80u13f8mnSwDwbHI6d0y/0h SjxCFK2v4OC9dHO6mteQ1DV5LN9YVdC0ZLYcdZN+upxv/Nkx/x+xJyhFLKHsws+YDH1e CwAaEluYp5aEKgNKiTk1GSMczO482au1VyHX8XFzTVyiuRGFzO9+abdleuhC/M0VTP2f 90XaZEMamlKcvf9O9K6LbsaIaHCYfoihMok3eggjCjpWTLu2hkpt1FpOvp7gDmorinlk 0Ezg== X-Gm-Message-State: AOAM532jzIKKtQDlKEUdvTD4FIMiBMKXqLggVtykgJ/n5JJlcUGBANIN E0OfpCnW0wYyT3k6OfXbsxs= X-Google-Smtp-Source: ABdhPJxLQ8Fe8SBO4JjytedIKGgsbxx/sY199uRRk+DUm6B/HVymjVfU9EKXw5MgrZ59/eUPJ+TVWg== X-Received: by 2002:ac2:592b:: with SMTP id v11mr606993lfi.512.1612471598856; Thu, 04 Feb 2021 12:46:38 -0800 (PST) Received: from grain.localdomain ([5.18.103.226]) by smtp.gmail.com with ESMTPSA id d23sm784872ljo.17.2021.02.04.12.46.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 04 Feb 2021 12:46:37 -0800 (PST) Received: by grain.localdomain (Postfix, from userid 1000) id 6A112560087; Thu, 4 Feb 2021 23:46:36 +0300 (MSK) Date: Thu, 4 Feb 2021 23:46:36 +0300 From: Cyrill Gorcunov To: Yu-cheng Yu 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 , Dave Hansen , Eugene Syromiatnikov , 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 , Dave Martin , Weijiang Yang , Pengfei Xu Subject: Re: [PATCH v19 12/25] mm: Introduce VM_SHSTK for shadow stack memory Message-ID: <20210204204636.GH2172@grain> References: <20210203225547.32221-1-yu-cheng.yu@intel.com> <20210203225547.32221-13-yu-cheng.yu@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210203225547.32221-13-yu-cheng.yu@intel.com> User-Agent: Mutt/1.14.6 (2020-07-11) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Feb 03, 2021 at 02:55:34PM -0800, Yu-cheng Yu wrote: > > diff --git a/fs/proc/task_mmu.c b/fs/proc/task_mmu.c > index 602e3a52884d..59623dcd92bb 100644 > --- a/fs/proc/task_mmu.c > +++ b/fs/proc/task_mmu.c > @@ -661,6 +661,9 @@ static void show_smap_vma_flags(struct seq_file *m, struct vm_area_struct *vma) > [ilog2(VM_PKEY_BIT4)] = "", > #endif > #endif /* CONFIG_ARCH_HAS_PKEYS */ > +#ifdef CONFIG_X86_CET > + [ilog2(VM_SHSTK)] = "ss", > +#endif > }; IIRC we've these abbreviations explained in documentaion (proc.rst file). Could you please update it once time permit? I think it can be done on top of the series.