Re: [PATCH v5 08/40] arm64: mte: Switch GCR_EL1 in kernel entry and exit

2020-10-29 Thread Andrey Konovalov
On Wed, Oct 28, 2020 at 11:07 AM Dmitry Vyukov wrote: > > On Mon, Oct 12, 2020 at 10:45 PM Andrey Konovalov > wrote: > > > > From: Vincenzo Frascino > > > > When MTE is present, the GCR_EL1 register contains the tags mask that > > allows to exclude tags from the random generation via the IRG in

Re: [PATCH v5 08/40] arm64: mte: Switch GCR_EL1 in kernel entry and exit

2020-10-28 Thread Dmitry Vyukov
On Mon, Oct 12, 2020 at 10:45 PM Andrey Konovalov wrote: > > From: Vincenzo Frascino > > When MTE is present, the GCR_EL1 register contains the tags mask that > allows to exclude tags from the random generation via the IRG instruction. > > With the introduction of the new Tag-Based KASAN API that

[PATCH v5 08/40] arm64: mte: Switch GCR_EL1 in kernel entry and exit

2020-10-12 Thread Andrey Konovalov
From: Vincenzo Frascino When MTE is present, the GCR_EL1 register contains the tags mask that allows to exclude tags from the random generation via the IRG instruction. With the introduction of the new Tag-Based KASAN API that provides a mechanism to reserve tags for special reasons, the MTE imp