[lkml]   [2020]   [Sep]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH v2 26/37] arm64: mte: Convert gcr_user into an exclude mask
On Tue, Sep 15, 2020 at 11:16:08PM +0200, Andrey Konovalov wrote:
> From: Vincenzo Frascino <>
> The gcr_user mask is a per thread mask that represents the tags that are
> excluded from random generation when the Memory Tagging Extension is
> present and an 'irg' instruction is invoked.
> gcr_user affects the behavior on EL0 only.
> Currently that mask is an include mask and it is controlled by the user
> via prctl() while GCR_EL1 accepts an exclude mask.
> Convert the include mask into an exclude one to make it easier the
> register setting.
> Note: This change will affect gcr_kernel (for EL1) introduced with a
> future patch.
> Signed-off-by: Vincenzo Frascino <>
> Signed-off-by: Andrey Konovalov <>

Reviewed-by: Catalin Marinas <>

 \ /
  Last update: 2020-09-17 19:07    [W:0.234 / U:1.852 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site