lkml.org 
[lkml]   [2021]   [Aug]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH V7 14/18] memremap_pages: Add memremap.pks_fault_mode
On Tue, Aug 03, 2021 at 09:57:31PM -0700, Randy Dunlap wrote:
> On 8/3/21 9:32 PM, ira.weiny@intel.com wrote:
> > diff --git a/Documentation/admin-guide/kernel-parameters.txt b/Documentation/admin-guide/kernel-parameters.txt
> > index bdb22006f713..7902fce7f1da 100644
> > --- a/Documentation/admin-guide/kernel-parameters.txt
> > +++ b/Documentation/admin-guide/kernel-parameters.txt
> > @@ -4081,6 +4081,20 @@
> > pirq= [SMP,APIC] Manual mp-table setup
> > See Documentation/x86/i386/IO-APIC.rst.
> > + memremap.pks_fault_mode= [X86] Control the behavior of page map
> > + protection violations. Violations may not be an actual
> > + use of the memory but simply an attempt to map it in an
> > + incompatible way.
> > + (depends on CONFIG_DEVMAP_ACCESS_PROTECTION
>
> Missing closing ')' above.

Fixed. Thank you!
Ira

>
> > +
> > + Format: { relaxed | strict }
> > +
> > + relaxed - Print a warning, disable the protection and
> > + continue execution.
> > + strict - Stop kernel execution via BUG_ON or fault
> > +
> > + default: relaxed
> > +
>
>
> --
> ~Randy
>
>

\
 
 \ /
  Last update: 2022-09-17 16:11    [W:0.074 / U:0.140 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site