Re: [PATCH 05/11] kasan, arm64: allow using KUnit tests with HW_TAGS mode

2021-01-15 Thread Vincenzo Frascino
Hi Andrey, On 1/5/21 6:27 PM, Andrey Konovalov wrote: > On a high level, this patch allows running KUnit KASAN tests with the > hardware tag-based KASAN mode. > > Internally, this change reenables tag checking at the end of each KASAN > test that triggers a tag fault and leads to tag checking

Re: [PATCH 05/11] kasan, arm64: allow using KUnit tests with HW_TAGS mode

2021-01-15 Thread Andrey Konovalov
On Tue, Jan 12, 2021 at 8:01 PM Catalin Marinas wrote: > > On Tue, Jan 05, 2021 at 07:27:49PM +0100, Andrey Konovalov wrote: > > diff --git a/arch/arm64/mm/fault.c b/arch/arm64/mm/fault.c > > index 3c40da479899..57d3f165d907 100644 > > --- a/arch/arm64/mm/fault.c > > +++ b/arch/arm64/mm/fault.c >

Re: [PATCH 05/11] kasan, arm64: allow using KUnit tests with HW_TAGS mode

2021-01-12 Thread Catalin Marinas
On Tue, Jan 05, 2021 at 07:27:49PM +0100, Andrey Konovalov wrote: > diff --git a/arch/arm64/mm/fault.c b/arch/arm64/mm/fault.c > index 3c40da479899..57d3f165d907 100644 > --- a/arch/arm64/mm/fault.c > +++ b/arch/arm64/mm/fault.c > @@ -302,12 +302,20 @@ static void die_kernel_fault(const char *msg,

[PATCH 05/11] kasan, arm64: allow using KUnit tests with HW_TAGS mode

2021-01-05 Thread Andrey Konovalov
On a high level, this patch allows running KUnit KASAN tests with the hardware tag-based KASAN mode. Internally, this change reenables tag checking at the end of each KASAN test that triggers a tag fault and leads to tag checking being disabled. With this patch KASAN tests are still failing for