Re: [PATCH v4 2/5] kasan: Add KASAN mode kernel parameter

2021-01-21 Thread Vincenzo Frascino
Hi Andrey, On 1/19/21 6:10 PM, Andrey Konovalov wrote: > I'll later add a patch on top that forbids running the tests with the > async mode. Sorry, I misread this part, I thought you wanted me to do this. Anyway I added the check to my last series. Please have a look. -- Regards, Vincenzo

Re: [PATCH v4 2/5] kasan: Add KASAN mode kernel parameter

2021-01-20 Thread Vincenzo Frascino
Hi Andrey, On 1/19/21 6:10 PM, Andrey Konovalov wrote: > On Mon, Jan 18, 2021 at 7:30 PM Vincenzo Frascino > wrote: >> --- a/Documentation/dev-tools/kasan.rst >> +++ b/Documentation/dev-tools/kasan.rst >> @@ -162,6 +162,9 @@ particular KASAN features. >> >> - ``kasan=off`` or ``=on`` controls

Re: [PATCH v4 2/5] kasan: Add KASAN mode kernel parameter

2021-01-19 Thread Andrey Konovalov
On Mon, Jan 18, 2021 at 7:30 PM Vincenzo Frascino wrote: > --- a/Documentation/dev-tools/kasan.rst > +++ b/Documentation/dev-tools/kasan.rst > @@ -162,6 +162,9 @@ particular KASAN features. > > - ``kasan=off`` or ``=on`` controls whether KASAN is enabled (default: > ``on``). > > +-

[PATCH v4 2/5] kasan: Add KASAN mode kernel parameter

2021-01-18 Thread Vincenzo Frascino
Architectures supported by KASAN HW can provide a sync or async mode of execution. On an MTE enabled arm64 hw for example this can be identified with the synchronous or asynchronous tagging mode of execution. In synchronous mode, an exception is triggered if a tag check fault occurs. In