Received: by 2002:a25:23cc:0:0:0:0:0 with SMTP id j195csp1772966ybj; Wed, 6 May 2020 05:10:23 -0700 (PDT) X-Google-Smtp-Source: APiQypLHiI50xA/6nvS3ZlqQoCqrGF4rTxx3r8ihNzL6DgNHpbLk71dwomC1zzvmdrDY8gqSDiJA X-Received: by 2002:a05:6402:48b:: with SMTP id k11mr6734734edv.47.1588767022913; Wed, 06 May 2020 05:10:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1588767022; cv=none; d=google.com; s=arc-20160816; b=YIGRMN6sIkZyEykEu43SHUcpsGwiSvcelV4xxAfeiSvvfGZJDT2glWdCbU1SaDJ7mz wwSLysqIinCqAmvAVCR+lSJlvzK5jPIKp8DRBOy1bOCbjsmtr/htS/GzIvVOqmRn8Ks+ 6Qrk5XmZtGRlPBxnS1Byljg10RBUEW8BiegCYmJVENI/xPGwS4KFIBQrbjjRYANJHkxk vO3HojwabACHH3Yj9UP0xSamQXY5wEiZtiZtqgDumYlw3FXDVp6dTXFq8WvhWv9fhC8o MyGkIaOujsQXFdi4T6M9XXJFwPnUCqIf407nF92TnnaOu8UsnVbQBidfiBo/Ah5Q/OV1 XzQA== 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:cc:to:subject; bh=Qzx+oe7oWHxdAbhozAHtjmjWYAzBh8fvWEBo8IBZsXg=; b=JtrUdN0AVwrAnx/V14Dfgo7bj8bDZvlPCdnKGrWLwxmUeFfa3VFCo0BJViFjRncLQt JjBsZBf0I3xSf39Je1liCzMPb+Hls5Y3CRl3rB2MxVVUGrZKZr9D+Wz4f8VvFoLSUoiK rwgakts7j/gRxaacanj8xuVFI2K1Sn9bHkI9a3LxGj2Eihj+GVVO4SekWg7AnQlzn5xv MaKhd7zGpSlC88HlYUgwCIQACT+EuaaZVpNs/ey5YeGxHHK9LPY8ybdxjiYPobsfmR1d VefyccaYSd8bO5+GDS4xAlEGw1/LRF6wyk/GKe2q3fxwvSAqI0iOHxUOD4IiJmjoXbcA qeRQ== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id k7si867848edn.290.2020.05.06.05.09.58; Wed, 06 May 2020 05:10:22 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727995AbgEFMHh (ORCPT + 99 others); Wed, 6 May 2020 08:07:37 -0400 Received: from foss.arm.com ([217.140.110.172]:35076 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727976AbgEFMHh (ORCPT ); Wed, 6 May 2020 08:07:37 -0400 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 291481FB; Wed, 6 May 2020 05:07:36 -0700 (PDT) Received: from [10.57.31.214] (unknown [10.57.31.214]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id CA1EF3F71F; Wed, 6 May 2020 05:07:32 -0700 (PDT) Subject: Re: [PATCH v2 2/2] Documentation/vmcoreinfo: Add documentation for 'KERNELPACMASK' To: Will Deacon 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 References: <1587968702-19996-1-git-send-email-amit.kachhap@arm.com> <1587968702-19996-2-git-send-email-amit.kachhap@arm.com> <20200504173440.GE1833@willie-the-truck> From: Amit Kachhap Message-ID: Date: Wed, 6 May 2020 17:37:10 +0530 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.6.1 MIME-Version: 1.0 In-Reply-To: <20200504173440.GE1833@willie-the-truck> Content-Type: text/plain; charset=utf-8; format=flowed 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, On 5/4/20 11:04 PM, Will Deacon wrote: > 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. Ok sure. I will update like this in the v3 version. Cheers, Amit Daniel > > Will >