Received: by 2002:a25:1985:0:0:0:0:0 with SMTP id 127csp3838710ybz; Mon, 4 May 2020 10:37:54 -0700 (PDT) X-Google-Smtp-Source: APiQypL8ska1hGKxfTU+UPcL9hU0+AyCgDfsI0eaYt5K+frNQEMDI1vsznrvrALT59aw/wgR4wFM X-Received: by 2002:a05:6402:309b:: with SMTP id de27mr13454016edb.276.1588613873991; Mon, 04 May 2020 10:37:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1588613873; cv=none; d=google.com; s=arc-20160816; b=WgGuHOZdGR737iBPGo2SGrw1HVI4Ont0pJc1ixRErRYP5MAo1z/IM4jIrOFP+AcLzd yC/u3UbG+a3QxwZv2JaVfOQk/+PNrGQVUuSrhjTSkEbDuvKvljj+zkSkDAZzOT+uk8FJ uYh5jaCDLfjcFRy8HFI+zXQZuDBupXWXkgOEfr4Z7GuifP0g0vU9F7F/gc0p+6VXchx0 6asIRWka8ixYHN0O6yo3NM+YC2lRll5sM24QTT14rog87nEGqvZFOldXm3scTflnwy6E oW/kgQjrJkT3SZpplHOXfzp8x5KCDZqLrEr5LGaW3RDKqH2dCP2Y4ywAWmSZb3UpZiVj mK6Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=GD9YNz/2Yg7xKiWqmq9nc8GM5SDfzhuOB2ZNQRJqk/c=; b=PD84ly8y/ZFUJEHgfh0rx4X/GDnuiddQVrhSVoORSMempF9frIabAB/Zu2S2OpP/Cc BQxWmTQpq7zS90pabD9uqQkXEhZgNgvfFQrAOK9aYyvVDCQ7xZoElZYsEeZ9R77ORRcG DgzzkgxwtkfH9Vu9VgQLaozdKh8ho/G2ijbaod1y8S4/YPNWbDNcTfndPpuvhi+zaups m4Vqzr/w8mOVjoPMNlJafdsIL4vNUjiGEa/tVY4rO8KdzZUWI/zF/8nrUgAe9i4pSZHV fT/YhMLfBeyMnv3TvukcAcGXh2CPQhsp1YcYZkFqCpqUdJKa3XxBu7/qK8humhf9ld+G mTjQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=oV7393kw; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id u3si6814083edq.473.2020.05.04.10.37.29; Mon, 04 May 2020 10:37:53 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=oV7393kw; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730447AbgEDRer (ORCPT + 99 others); Mon, 4 May 2020 13:34:47 -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