Re: [PATCH v2] kasan: Disable branch tracing for core runtime

2020-05-23 Thread Marco Elver
On Sat, 23 May 2020 at 01:42, Andrew Morton wrote: > > On Fri, 22 May 2020 09:52:07 +0200 Marco Elver wrote: > > > During early boot, while KASAN is not yet initialized, it is possible to > > enter reporting code-path and end up in kasan_report(). While > > uninitialized, the branch there

Re: [PATCH v2] kasan: Disable branch tracing for core runtime

2020-05-22 Thread Andrew Morton
On Fri, 22 May 2020 09:52:07 +0200 Marco Elver wrote: > During early boot, while KASAN is not yet initialized, it is possible to > enter reporting code-path and end up in kasan_report(). While > uninitialized, the branch there prevents generating any reports, > however, under certain

[PATCH v2] kasan: Disable branch tracing for core runtime

2020-05-22 Thread Marco Elver
During early boot, while KASAN is not yet initialized, it is possible to enter reporting code-path and end up in kasan_report(). While uninitialized, the branch there prevents generating any reports, however, under certain circumstances when branches are being traced (TRACE_BRANCH_PROFILING), we