2020-03-19 11:16:13

by Amit Kachhap

[permalink] [raw]
Subject: [PATCH 2/2] Documentation/vmcoreinfo: Add documentation for 'KERNELPACMASK'

Add documentation for KERNELPACMASK variable being added to vmcoreinfo.

It indicates the PAC bits mask information of signed kernel pointers if
ARMv8.3-A Pointer Authentication feature is present.

Cc: Catalin Marinas <[email protected]>
Cc: Will Deacon <[email protected]>
Cc: Mark Rutland <[email protected]>
Cc: James Morse <[email protected]>
Cc: Dave Anderson <[email protected]>
Signed-off-by: Amit Daniel Kachhap <[email protected]>
---
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.
+
arm
===

--
2.7.4


2020-03-19 13:52:33

by John Donnelly

[permalink] [raw]
Subject: Re: [PATCH 2/2] Documentation/vmcoreinfo: Add documentation for 'KERNELPACMASK'

On 3/19/20 2:39 AM, Amit Daniel Kachhap wrote:
> Add documentation for KERNELPACMASK variable being added to vmcoreinfo.
>
> It indicates the PAC bits mask information of signed kernel pointers if
> ARMv8.3-A Pointer Authentication feature is present.
>
> Cc: Catalin Marinas <[email protected]>
> Cc: Will Deacon <[email protected]>
> Cc: Mark Rutland <[email protected]>
> Cc: James Morse <[email protected]>
> Cc: Dave Anderson <[email protected]>
> Signed-off-by: Amit Daniel Kachhap <[email protected]>
> ---
> 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.
> +
> arm
> ===
>
>
>


Hi,

Does this require changes to the makedumpfile or crash utilities ?



--
Thank You,
John

2020-03-20 10:27:20

by Amit Kachhap

[permalink] [raw]
Subject: Re: [PATCH 2/2] Documentation/vmcoreinfo: Add documentation for 'KERNELPACMASK'

Hi,

On 3/19/20 7:21 PM, John Donnelly wrote:
> On 3/19/20 2:39 AM, Amit Daniel Kachhap wrote:
>> Add documentation for KERNELPACMASK variable being added to vmcoreinfo.
>>
>> It indicates the PAC bits mask information of signed kernel pointers if
>> ARMv8.3-A Pointer Authentication feature is present.
>>
>> Cc: Catalin Marinas <[email protected]>
>> Cc: Will Deacon <[email protected]>
>> Cc: Mark Rutland <[email protected]>
>> Cc: James Morse <[email protected]>
>> Cc: Dave Anderson <[email protected]>
>> Signed-off-by: Amit Daniel Kachhap <[email protected]>
>> ---
>>   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.
>> +
>>   arm
>>   ===
>>
>>
>
>
> Hi,
>
> Does this require changes to the  makedumpfile or crash utilities ?

I did the corresponding change in crash tool. The link is mentioned in
first patch of the series.

Thanks,
Amit Daniel
>
>
>