linux-doc.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] Documentation: document /proc api for arm64 MTE vm flags
@ 2020-11-06 10:19 Szabolcs Nagy
  2020-11-20 14:44 ` Catalin Marinas
  0 siblings, 1 reply; 6+ messages in thread
From: Szabolcs Nagy @ 2020-11-06 10:19 UTC (permalink / raw)
  To: linux-arm-kernel; +Cc: linux-doc

Document that /proc/PID/smaps shows PROT_MTE settings in VmFlags.
Support for this was introduced in

  commit 9f3419315f3cdc41a7318e4d50ba18a592b30c8c
  arm64: mte: Add PROT_MTE support to mmap() and mprotect()

Signed-off-by: Szabolcs Nagy <szabolcs.nagy@arm.com>
Reviewed-by: Catalin Marinas <catalin.marinas@arm.com>
Cc: linux-doc@vger.kernel.org
---
 Documentation/filesystems/proc.rst | 1 +
 1 file changed, 1 insertion(+)

diff --git a/Documentation/filesystems/proc.rst b/Documentation/filesystems/proc.rst
index 533c79e8d2cd..e5fa972d4c76 100644
--- a/Documentation/filesystems/proc.rst
+++ b/Documentation/filesystems/proc.rst
@@ -546,6 +546,7 @@ encoded manner. The codes are the following:
     nh    no huge page advise flag
     mg    mergable advise flag
     bt    arm64 BTI guarded page
+    mt    arm64 MTE allocation tags are enabled
     ==    =======================================
 
 Note that there is no guarantee that every flag and associated mnemonic will
-- 
2.17.1


^ permalink raw reply related	[flat|nested] 6+ messages in thread

* Re: [PATCH] Documentation: document /proc api for arm64 MTE vm flags
  2020-11-06 10:19 [PATCH] Documentation: document /proc api for arm64 MTE vm flags Szabolcs Nagy
@ 2020-11-20 14:44 ` Catalin Marinas
  2020-11-20 18:00   ` Jonathan Corbet
  0 siblings, 1 reply; 6+ messages in thread
From: Catalin Marinas @ 2020-11-20 14:44 UTC (permalink / raw)
  To: Szabolcs Nagy, Jonathan Corbet; +Cc: linux-arm-kernel, linux-doc, adobriyan

Hi Jon,

On Fri, Nov 06, 2020 at 10:19:40AM +0000, Szabolcs Nagy wrote:
> Document that /proc/PID/smaps shows PROT_MTE settings in VmFlags.
> Support for this was introduced in
> 
>   commit 9f3419315f3cdc41a7318e4d50ba18a592b30c8c
>   arm64: mte: Add PROT_MTE support to mmap() and mprotect()
> 
> Signed-off-by: Szabolcs Nagy <szabolcs.nagy@arm.com>
> Reviewed-by: Catalin Marinas <catalin.marinas@arm.com>
> Cc: linux-doc@vger.kernel.org
> ---
>  Documentation/filesystems/proc.rst | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/Documentation/filesystems/proc.rst b/Documentation/filesystems/proc.rst
> index 533c79e8d2cd..e5fa972d4c76 100644
> --- a/Documentation/filesystems/proc.rst
> +++ b/Documentation/filesystems/proc.rst
> @@ -546,6 +546,7 @@ encoded manner. The codes are the following:
>      nh    no huge page advise flag
>      mg    mergable advise flag
>      bt    arm64 BTI guarded page
> +    mt    arm64 MTE allocation tags are enabled
>      ==    =======================================
>  
>  Note that there is no guarantee that every flag and associated mnemonic will

Are you ok with picking up this patch (it can be left for 5.11) or
should I queue it in the arm64 tree?

Thanks.

-- 
Catalin

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH] Documentation: document /proc api for arm64 MTE vm flags
  2020-11-20 14:44 ` Catalin Marinas
@ 2020-11-20 18:00   ` Jonathan Corbet
  2020-11-20 22:24     ` Catalin Marinas
  0 siblings, 1 reply; 6+ messages in thread
From: Jonathan Corbet @ 2020-11-20 18:00 UTC (permalink / raw)
  To: Catalin Marinas; +Cc: Szabolcs Nagy, linux-arm-kernel, linux-doc, adobriyan

On Fri, 20 Nov 2020 14:44:09 +0000
Catalin Marinas <catalin.marinas@arm.com> wrote:

> On Fri, Nov 06, 2020 at 10:19:40AM +0000, Szabolcs Nagy wrote:
> > Document that /proc/PID/smaps shows PROT_MTE settings in VmFlags.
> > Support for this was introduced in
> > 
> >   commit 9f3419315f3cdc41a7318e4d50ba18a592b30c8c
> >   arm64: mte: Add PROT_MTE support to mmap() and mprotect()
> > 
> > Signed-off-by: Szabolcs Nagy <szabolcs.nagy@arm.com>
> > Reviewed-by: Catalin Marinas <catalin.marinas@arm.com>
> > Cc: linux-doc@vger.kernel.org
> > ---
> >  Documentation/filesystems/proc.rst | 1 +
> >  1 file changed, 1 insertion(+)
> > 
> > diff --git a/Documentation/filesystems/proc.rst b/Documentation/filesystems/proc.rst
> > index 533c79e8d2cd..e5fa972d4c76 100644
> > --- a/Documentation/filesystems/proc.rst
> > +++ b/Documentation/filesystems/proc.rst
> > @@ -546,6 +546,7 @@ encoded manner. The codes are the following:
> >      nh    no huge page advise flag
> >      mg    mergable advise flag
> >      bt    arm64 BTI guarded page
> > +    mt    arm64 MTE allocation tags are enabled
> >      ==    =======================================
> >  
> >  Note that there is no guarantee that every flag and associated mnemonic will  
> 
> Are you ok with picking up this patch (it can be left for 5.11) or
> should I queue it in the arm64 tree?

It wasn't sent to me, so it wasn't on my radar.  Up to you, I'm happy to
grab it if you'd prefer.

Thanks,

jon

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH] Documentation: document /proc api for arm64 MTE vm flags
  2020-11-20 18:00   ` Jonathan Corbet
@ 2020-11-20 22:24     ` Catalin Marinas
  2020-12-01 19:04       ` Catalin Marinas
  0 siblings, 1 reply; 6+ messages in thread
From: Catalin Marinas @ 2020-11-20 22:24 UTC (permalink / raw)
  To: Jonathan Corbet; +Cc: Szabolcs Nagy, linux-arm-kernel, linux-doc, adobriyan

On Fri, Nov 20, 2020 at 11:00:03AM -0700, Jonathan Corbet wrote:
> On Fri, 20 Nov 2020 14:44:09 +0000
> Catalin Marinas <catalin.marinas@arm.com> wrote:
> 
> > On Fri, Nov 06, 2020 at 10:19:40AM +0000, Szabolcs Nagy wrote:
> > > Document that /proc/PID/smaps shows PROT_MTE settings in VmFlags.
> > > Support for this was introduced in
> > > 
> > >   commit 9f3419315f3cdc41a7318e4d50ba18a592b30c8c
> > >   arm64: mte: Add PROT_MTE support to mmap() and mprotect()
> > > 
> > > Signed-off-by: Szabolcs Nagy <szabolcs.nagy@arm.com>
> > > Reviewed-by: Catalin Marinas <catalin.marinas@arm.com>
> > > Cc: linux-doc@vger.kernel.org
> > > ---
> > >  Documentation/filesystems/proc.rst | 1 +
> > >  1 file changed, 1 insertion(+)
> > > 
> > > diff --git a/Documentation/filesystems/proc.rst b/Documentation/filesystems/proc.rst
> > > index 533c79e8d2cd..e5fa972d4c76 100644
> > > --- a/Documentation/filesystems/proc.rst
> > > +++ b/Documentation/filesystems/proc.rst
> > > @@ -546,6 +546,7 @@ encoded manner. The codes are the following:
> > >      nh    no huge page advise flag
> > >      mg    mergable advise flag
> > >      bt    arm64 BTI guarded page
> > > +    mt    arm64 MTE allocation tags are enabled
> > >      ==    =======================================
> > >  
> > >  Note that there is no guarantee that every flag and associated mnemonic will  
> > 
> > Are you ok with picking up this patch (it can be left for 5.11) or
> > should I queue it in the arm64 tree?
> 
> It wasn't sent to me, so it wasn't on my radar.  Up to you, I'm happy to
> grab it if you'd prefer.

Please do grab it. Thanks.

-- 
Catalin

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH] Documentation: document /proc api for arm64 MTE vm flags
  2020-11-20 22:24     ` Catalin Marinas
@ 2020-12-01 19:04       ` Catalin Marinas
  2020-12-01 19:29         ` Jonathan Corbet
  0 siblings, 1 reply; 6+ messages in thread
From: Catalin Marinas @ 2020-12-01 19:04 UTC (permalink / raw)
  To: Jonathan Corbet; +Cc: Szabolcs Nagy, adobriyan, linux-arm-kernel, linux-doc

Hi Jon,

On Fri, Nov 20, 2020 at 10:24:13PM +0000, Catalin Marinas wrote:
> On Fri, Nov 20, 2020 at 11:00:03AM -0700, Jonathan Corbet wrote:
> > On Fri, 20 Nov 2020 14:44:09 +0000
> > Catalin Marinas <catalin.marinas@arm.com> wrote:
> > 
> > > On Fri, Nov 06, 2020 at 10:19:40AM +0000, Szabolcs Nagy wrote:
> > > > Document that /proc/PID/smaps shows PROT_MTE settings in VmFlags.
> > > > Support for this was introduced in
> > > > 
> > > >   commit 9f3419315f3cdc41a7318e4d50ba18a592b30c8c
> > > >   arm64: mte: Add PROT_MTE support to mmap() and mprotect()
> > > > 
> > > > Signed-off-by: Szabolcs Nagy <szabolcs.nagy@arm.com>
> > > > Reviewed-by: Catalin Marinas <catalin.marinas@arm.com>
> > > > Cc: linux-doc@vger.kernel.org
> > > > ---
> > > >  Documentation/filesystems/proc.rst | 1 +
> > > >  1 file changed, 1 insertion(+)
> > > > 
> > > > diff --git a/Documentation/filesystems/proc.rst b/Documentation/filesystems/proc.rst
> > > > index 533c79e8d2cd..e5fa972d4c76 100644
> > > > --- a/Documentation/filesystems/proc.rst
> > > > +++ b/Documentation/filesystems/proc.rst
> > > > @@ -546,6 +546,7 @@ encoded manner. The codes are the following:
> > > >      nh    no huge page advise flag
> > > >      mg    mergable advise flag
> > > >      bt    arm64 BTI guarded page
> > > > +    mt    arm64 MTE allocation tags are enabled
> > > >      ==    =======================================
> > > >  
> > > >  Note that there is no guarantee that every flag and associated mnemonic will  
> > > 
> > > Are you ok with picking up this patch (it can be left for 5.11) or
> > > should I queue it in the arm64 tree?
> > 
> > It wasn't sent to me, so it wasn't on my radar.  Up to you, I'm happy to
> > grab it if you'd prefer.
> 
> Please do grab it. Thanks.

In case it slipped through the cracks (I haven't seen it in -next).
Otherwise I'll queue it sometime later this week for 5.11.

Thanks.

-- 
Catalin

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH] Documentation: document /proc api for arm64 MTE vm flags
  2020-12-01 19:04       ` Catalin Marinas
@ 2020-12-01 19:29         ` Jonathan Corbet
  0 siblings, 0 replies; 6+ messages in thread
From: Jonathan Corbet @ 2020-12-01 19:29 UTC (permalink / raw)
  To: Catalin Marinas; +Cc: Szabolcs Nagy, adobriyan, linux-arm-kernel, linux-doc

On Tue, 1 Dec 2020 19:04:06 +0000
Catalin Marinas <catalin.marinas@arm.com> wrote:

> > > > Are you ok with picking up this patch (it can be left for 5.11) or
> > > > should I queue it in the arm64 tree?  
> > > 
> > > It wasn't sent to me, so it wasn't on my radar.  Up to you, I'm happy to
> > > grab it if you'd prefer.  
> > 
> > Please do grab it. Thanks.  
> 
> In case it slipped through the cracks (I haven't seen it in -next).
> Otherwise I'll queue it sometime later this week for 5.11.

Um ... yes ... I was just going to apply it right now, honest ...

Applied, thanks for the reminder.

jon

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2020-12-01 19:30 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-11-06 10:19 [PATCH] Documentation: document /proc api for arm64 MTE vm flags Szabolcs Nagy
2020-11-20 14:44 ` Catalin Marinas
2020-11-20 18:00   ` Jonathan Corbet
2020-11-20 22:24     ` Catalin Marinas
2020-12-01 19:04       ` Catalin Marinas
2020-12-01 19:29         ` Jonathan Corbet

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).