Messages in this thread | | | From | Andrey Konovalov <> | Date | Mon, 13 Dec 2021 22:57:17 +0100 | Subject | Re: [PATCH v2 24/34] kasan, vmalloc, arm64: mark vmalloc mappings as pgprot_tagged |
| |
On Mon, Dec 13, 2021 at 4:17 PM Vincenzo Frascino <vincenzo.frascino@arm.com> wrote: > > Hi Andrey, > > On 12/6/21 9:44 PM, andrey.konovalov@linux.dev wrote: > > From: Andrey Konovalov <andreyknvl@google.com> > > > > HW_TAGS KASAN relies on ARM Memory Tagging Extension (MTE). With MTE, > > a memory region must be mapped as MT_NORMAL_TAGGED to allow setting > > memory tags via MTE-specific instructions. > > > > This change adds proper protection bits to vmalloc() allocations. > > Please avoid "this patch/this change" in patch description and use imperative > mode as if you are giving a command to the code base ([1] paragraph 2).
Hi Vincenzo,
Done in v3.
> > These allocations are always backed by page_alloc pages, so the tags > > will actually be getting set on the corresponding physical memory. > > > > Signed-off-by: Andrey Konovalov <andreyknvl@google.com> > > Co-developed-by: Vincenzo Frascino <vincenzo.frascino@arm.com> > > With the change to the commit message: > > Signed-off-by: Vincenzo Frascino <vincenzo.frascino@arm.com>
Thanks!
| |