Message ID | 1587968702-19996-2-git-send-email-amit.kachhap@arm.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | [v2,1/2] arm64/crash_core: Export KERNELPACMASK in vmcoreinfo | expand |
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 <catalin.marinas@arm.com> > Cc: Will Deacon <will@kernel.org> > Cc: Mark Rutland <mark.rutland@arm.com> > Cc: Dave Young <dyoung@redhat.com> > Cc: Baoquan He <bhe@redhat.com> > Signed-off-by: Amit Daniel Kachhap <amit.kachhap@arm.com> > --- > 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
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 <catalin.marinas@arm.com> >> Cc: Will Deacon <will@kernel.org> >> Cc: Mark Rutland <mark.rutland@arm.com> >> Cc: Dave Young <dyoung@redhat.com> >> Cc: Baoquan He <bhe@redhat.com> >> Signed-off-by: Amit Daniel Kachhap <amit.kachhap@arm.com> >> --- >> 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 >
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 ===
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 <catalin.marinas@arm.com> Cc: Will Deacon <will@kernel.org> Cc: Mark Rutland <mark.rutland@arm.com> Cc: Dave Young <dyoung@redhat.com> Cc: Baoquan He <bhe@redhat.com> Signed-off-by: Amit Daniel Kachhap <amit.kachhap@arm.com> --- Documentation/admin-guide/kdump/vmcoreinfo.rst | 6 ++++++ 1 file changed, 6 insertions(+)