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=-8.6 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,INCLUDES_PATCH,MAILING_LIST_MULTI,SIGNED_OFF_BY, SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_1 autolearn=ham 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 50AB1C3A5A9 for ; Mon, 4 May 2020 17:34:49 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 1F8A12068E for ; Mon, 4 May 2020 17:34:49 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1588613689; bh=SYLOk8zAXRq6cpLb63mzYrQC0BmeoAJMWTarcKweCJs=; h=Date:From:To:Cc:Subject:References:In-Reply-To:List-ID:From; b=I4MtjSWTtM1u300IyK/Ht59KzEzdFEFxG2oen3rB3T9fGioeeBAu6AyFjsm7Vt+2m 5GhEQY9A2wMs66Ef9wiSVg4R11SlP9yetE9YbXMeGlC3pSpUSVIFtDO4NU3X6iIxpt YrYO1v5Eaq5+SHOFCbP1sUcjO+1ATmtvRcBY6Rk0= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730467AbgEDRes (ORCPT ); Mon, 4 May 2020 13:34:48 -0400 Received: from mail.kernel.org ([198.145.29.99]:41198 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730127AbgEDReq (ORCPT ); Mon, 4 May 2020 13:34:46 -0400 Received: from willie-the-truck (236.31.169.217.in-addr.arpa [217.169.31.236]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id C090320663; Mon, 4 May 2020 17:34:44 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1588613686; bh=SYLOk8zAXRq6cpLb63mzYrQC0BmeoAJMWTarcKweCJs=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=oV7393kwsqjxUVvePC/KwNmJq/9FkNT3BS+IF2obey7V/PlZY7huwvvNn3/ac/C8J 5ACm7icZ1fjWxKRhxkWRiTYvWE/MraAJ1Op5IUfA5jYEuRGhY18H90cy01gGahApbc MjiAgkl4s1IFSRzlvCOqcObUlEuJTr0JtI5n2w8s= Date: Mon, 4 May 2020 18:34:41 +0100 From: Will Deacon To: Amit Daniel Kachhap Cc: linux-arm-kernel@lists.infradead.org, kexec@lists.infradead.org, linux-kernel@vger.kernel.org, Catalin Marinas , Bhupesh Sharma , Vincenzo Frascino , James Morse , Mark Rutland , Dave Young , Baoquan He Subject: Re: [PATCH v2 2/2] Documentation/vmcoreinfo: Add documentation for 'KERNELPACMASK' Message-ID: <20200504173440.GE1833@willie-the-truck> References: <1587968702-19996-1-git-send-email-amit.kachhap@arm.com> <1587968702-19996-2-git-send-email-amit.kachhap@arm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1587968702-19996-2-git-send-email-amit.kachhap@arm.com> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Apr 27, 2020 at 11:55:02AM +0530, Amit Daniel Kachhap wrote: > Add documentation for KERNELPACMASK variable being added to the vmcoreinfo. > > It indicates the PAC bits mask information of signed kernel pointers if > Armv8.3-A Pointer Authentication feature is present. > > Cc: Catalin Marinas > Cc: Will Deacon > Cc: Mark Rutland > Cc: Dave Young > Cc: Baoquan He > Signed-off-by: Amit Daniel Kachhap > --- > Documentation/admin-guide/kdump/vmcoreinfo.rst | 6 ++++++ > 1 file changed, 6 insertions(+) > > diff --git a/Documentation/admin-guide/kdump/vmcoreinfo.rst b/Documentation/admin-guide/kdump/vmcoreinfo.rst > index 007a6b8..5cc3ee6 100644 > --- a/Documentation/admin-guide/kdump/vmcoreinfo.rst > +++ b/Documentation/admin-guide/kdump/vmcoreinfo.rst > @@ -393,6 +393,12 @@ KERNELOFFSET > The kernel randomization offset. Used to compute the page offset. If > KASLR is disabled, this value is zero. > > +KERNELPACMASK > +------------- > + > +Indicates the PAC bits mask information if Pointer Authentication is > +enabled and address authentication feature is present. This is a bit cryptic. How about: The mask to extract the Pointer Authentication Code from a kernel virtual address. Will