[-tip] compiler_types.h: Optimize __unqual_scalar_typeof compilation time
diff mbox series

Message ID 20200527103236.148700-1-elver@google.com
State In Next
Commit a5dead405f6be1fb80555bdcb77c406bf133fdc8
Headers show
Series
  • [-tip] compiler_types.h: Optimize __unqual_scalar_typeof compilation time
Related show

Commit Message

Marco Elver May 27, 2020, 10:32 a.m. UTC
If the compiler supports C11's _Generic, use it to speed up compilation
times of __unqual_scalar_typeof(). GCC version 4.9 or later and
all supported versions of Clang support the feature (the oldest
supported compiler that doesn't support _Generic is GCC 4.8, for which
we use the slower alternative).

The non-_Generic variant relies on multiple expansions of
__pick_integer_type -> __pick_scalar_type -> __builtin_choose_expr,
which increases pre-processed code size, and can cause compile times to
increase in files with numerous expansions of READ_ONCE(), or other
users of __unqual_scalar_typeof().

Summary of compile-time benchmarking done by Arnd Bergmann [1]:

	<baseline normalized time>  clang-11   gcc-9
	this patch                      0.78    0.91
	ideal                           0.76    0.86

[1] https://lkml.kernel.org/r/CAK8P3a3UYQeXhiufUevz=rwe09WM_vSTCd9W+KvJHJcOeQyWVA@mail.gmail.com

Further compile-testing done with:
	gcc 4.8, 4.9, 5.5, 6.4, 7.5, 8.4;
	clang 9, 10.

Reported-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Marco Elver <elver@google.com>
Cc: Borislav Petkov <bp@alien8.de>
Cc: Ingo Molnar <mingo@kernel.org>
Cc: Nick Desaulniers <ndesaulniers@google.com>
Cc: Paul E. McKenney <paulmck@kernel.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Stephen Rothwell <sfr@canb.auug.org.au>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Will Deacon <will@kernel.org>
Link: https://lkml.kernel.org/r/CAK8P3a0RJtbVi1JMsfik=jkHCNFv+DJn_FeDg-YLW+ueQW3tNg@mail.gmail.com
---
Same version as in:
https://lkml.kernel.org/r/20200526173312.GA30240@google.com
---
 include/linux/compiler_types.h | 22 +++++++++++++++++++++-
 1 file changed, 21 insertions(+), 1 deletion(-)

Comments

Arnd Bergmann May 27, 2020, 11:26 a.m. UTC | #1
On Wed, May 27, 2020 at 12:33 PM Marco Elver <elver@google.com> wrote:
>
> If the compiler supports C11's _Generic, use it to speed up compilation
> times of __unqual_scalar_typeof(). GCC version 4.9 or later and
> all supported versions of Clang support the feature (the oldest
> supported compiler that doesn't support _Generic is GCC 4.8, for which
> we use the slower alternative).
>
> The non-_Generic variant relies on multiple expansions of
> __pick_integer_type -> __pick_scalar_type -> __builtin_choose_expr,
> which increases pre-processed code size, and can cause compile times to
> increase in files with numerous expansions of READ_ONCE(), or other
> users of __unqual_scalar_typeof().
>
> Summary of compile-time benchmarking done by Arnd Bergmann [1]:
>
>         <baseline normalized time>  clang-11   gcc-9
>         this patch                      0.78    0.91
>         ideal                           0.76    0.86
>
> [1] https://lkml.kernel.org/r/CAK8P3a3UYQeXhiufUevz=rwe09WM_vSTCd9W+KvJHJcOeQyWVA@mail.gmail.com
>
> Further compile-testing done with:
>         gcc 4.8, 4.9, 5.5, 6.4, 7.5, 8.4;
>         clang 9, 10.
>
> Reported-by: Arnd Bergmann <arnd@arndb.de>
> Signed-off-by: Marco Elver <elver@google.com>

This gives us back 80% of the performance drop on clang, and 50%
of the drop I saw with gcc, compared to current mainline.

Tested-by: Arnd Bergmann <arnd@arndb.de>
Sedat Dilek May 27, 2020, 11:36 a.m. UTC | #2
On Wed, May 27, 2020 at 1:27 PM Arnd Bergmann <arnd@arndb.de> wrote:
>
> On Wed, May 27, 2020 at 12:33 PM Marco Elver <elver@google.com> wrote:
> >
> > If the compiler supports C11's _Generic, use it to speed up compilation
> > times of __unqual_scalar_typeof(). GCC version 4.9 or later and
> > all supported versions of Clang support the feature (the oldest
> > supported compiler that doesn't support _Generic is GCC 4.8, for which
> > we use the slower alternative).
> >
> > The non-_Generic variant relies on multiple expansions of
> > __pick_integer_type -> __pick_scalar_type -> __builtin_choose_expr,
> > which increases pre-processed code size, and can cause compile times to
> > increase in files with numerous expansions of READ_ONCE(), or other
> > users of __unqual_scalar_typeof().
> >
> > Summary of compile-time benchmarking done by Arnd Bergmann [1]:
> >
> >         <baseline normalized time>  clang-11   gcc-9
> >         this patch                      0.78    0.91
> >         ideal                           0.76    0.86
> >
> > [1] https://lkml.kernel.org/r/CAK8P3a3UYQeXhiufUevz=rwe09WM_vSTCd9W+KvJHJcOeQyWVA@mail.gmail.com
> >
> > Further compile-testing done with:
> >         gcc 4.8, 4.9, 5.5, 6.4, 7.5, 8.4;
> >         clang 9, 10.
> >
> > Reported-by: Arnd Bergmann <arnd@arndb.de>
> > Signed-off-by: Marco Elver <elver@google.com>
>
> This gives us back 80% of the performance drop on clang, and 50%
> of the drop I saw with gcc, compared to current mainline.
>
> Tested-by: Arnd Bergmann <arnd@arndb.de>
>

Hi Arnd,

with "mainline" you mean Linux-next aka Linux v5.8 - not v5.7?
I have not seen __unqual_scalar_typeof(x) in compiler_types.h in Linux v5.7.

Is there a speedup benefit also for Linux v5.7?
Which patches do I need?

Thanks.

Regards,
- Sedat -
Arnd Bergmann May 27, 2020, 12:31 p.m. UTC | #3
On Wed, May 27, 2020 at 1:36 PM Sedat Dilek <sedat.dilek@gmail.com> wrote:
> On Wed, May 27, 2020 at 1:27 PM Arnd Bergmann <arnd@arndb.de> wrote:
> > On Wed, May 27, 2020 at 12:33 PM Marco Elver <elver@google.com> wrote:
> >
> > This gives us back 80% of the performance drop on clang, and 50%
> > of the drop I saw with gcc, compared to current mainline.
> >
> > Tested-by: Arnd Bergmann <arnd@arndb.de>
> >
>
> Hi Arnd,
>
> with "mainline" you mean Linux-next aka Linux v5.8 - not v5.7?

I meant v5.7.

> I have not seen __unqual_scalar_typeof(x) in compiler_types.h in Linux v5.7.
>
> Is there a speedup benefit also for Linux v5.7?
> Which patches do I need?

v5.7-rc is the baseline and is the fastest I currently see. On certain files,
I saw an intermittent 10x slowdown that was already fixed earlier, now
linux-next
is more like 2x slowdown for me and 1.2x with this patch on top, so we're
almost back to the speed of linux-5.7.

      Arnd
Sedat Dilek May 27, 2020, 12:35 p.m. UTC | #4
On Wed, May 27, 2020 at 2:31 PM Arnd Bergmann <arnd@arndb.de> wrote:
>
> On Wed, May 27, 2020 at 1:36 PM Sedat Dilek <sedat.dilek@gmail.com> wrote:
> > On Wed, May 27, 2020 at 1:27 PM Arnd Bergmann <arnd@arndb.de> wrote:
> > > On Wed, May 27, 2020 at 12:33 PM Marco Elver <elver@google.com> wrote:
> > >
> > > This gives us back 80% of the performance drop on clang, and 50%
> > > of the drop I saw with gcc, compared to current mainline.
> > >
> > > Tested-by: Arnd Bergmann <arnd@arndb.de>
> > >
> >
> > Hi Arnd,
> >
> > with "mainline" you mean Linux-next aka Linux v5.8 - not v5.7?
>
> I meant v5.7.
>
> > I have not seen __unqual_scalar_typeof(x) in compiler_types.h in Linux v5.7.
> >
> > Is there a speedup benefit also for Linux v5.7?
> > Which patches do I need?
>
> v5.7-rc is the baseline and is the fastest I currently see. On certain files,
> I saw an intermittent 10x slowdown that was already fixed earlier, now
> linux-next
> is more like 2x slowdown for me and 1.2x with this patch on top, so we're
> almost back to the speed of linux-5.7.
>

Which clang version did you use - and have you set KCSAN kconfigs -
AFAICS this needs clang-11?

- Sedat -
Arnd Bergmann May 27, 2020, 12:50 p.m. UTC | #5
On Wed, May 27, 2020 at 2:35 PM Sedat Dilek <sedat.dilek@gmail.com> wrote:
> On Wed, May 27, 2020 at 2:31 PM Arnd Bergmann <arnd@arndb.de> wrote:
> > On Wed, May 27, 2020 at 1:36 PM Sedat Dilek <sedat.dilek@gmail.com> wrote:
> > > On Wed, May 27, 2020 at 1:27 PM Arnd Bergmann <arnd@arndb.de> wrote:
> > > > On Wed, May 27, 2020 at 12:33 PM Marco Elver <elver@google.com> wrote:
> > > >
> > > > This gives us back 80% of the performance drop on clang, and 50%
> > > > of the drop I saw with gcc, compared to current mainline.
> > > >
> > > > Tested-by: Arnd Bergmann <arnd@arndb.de>
> > > >
> > >
> > > Hi Arnd,
> > >
> > > with "mainline" you mean Linux-next aka Linux v5.8 - not v5.7?
> >
> > I meant v5.7.
> >
> > > I have not seen __unqual_scalar_typeof(x) in compiler_types.h in Linux v5.7.
> > >
> > > Is there a speedup benefit also for Linux v5.7?
> > > Which patches do I need?
> >
> > v5.7-rc is the baseline and is the fastest I currently see. On certain files,
> > I saw an intermittent 10x slowdown that was already fixed earlier, now
> > linux-next
> > is more like 2x slowdown for me and 1.2x with this patch on top, so we're
> > almost back to the speed of linux-5.7.
> >
>
> Which clang version did you use - and have you set KCSAN kconfigs -
> AFAICS this needs clang-11?

I'm currently using clang-11, but I see the same problem with older
versions, and both with and without KCSAN enabled. I think the issue
is mostly the deep nesting of macros that leads to code bloat.

        Arnd
Sedat Dilek May 27, 2020, 1:11 p.m. UTC | #6
On Wed, May 27, 2020 at 2:50 PM Arnd Bergmann <arnd@arndb.de> wrote:
>
> On Wed, May 27, 2020 at 2:35 PM Sedat Dilek <sedat.dilek@gmail.com> wrote:
> > On Wed, May 27, 2020 at 2:31 PM Arnd Bergmann <arnd@arndb.de> wrote:
> > > On Wed, May 27, 2020 at 1:36 PM Sedat Dilek <sedat.dilek@gmail.com> wrote:
> > > > On Wed, May 27, 2020 at 1:27 PM Arnd Bergmann <arnd@arndb.de> wrote:
> > > > > On Wed, May 27, 2020 at 12:33 PM Marco Elver <elver@google.com> wrote:
> > > > >
> > > > > This gives us back 80% of the performance drop on clang, and 50%
> > > > > of the drop I saw with gcc, compared to current mainline.
> > > > >
> > > > > Tested-by: Arnd Bergmann <arnd@arndb.de>
> > > > >
> > > >
> > > > Hi Arnd,
> > > >
> > > > with "mainline" you mean Linux-next aka Linux v5.8 - not v5.7?
> > >
> > > I meant v5.7.
> > >
> > > > I have not seen __unqual_scalar_typeof(x) in compiler_types.h in Linux v5.7.
> > > >
> > > > Is there a speedup benefit also for Linux v5.7?
> > > > Which patches do I need?
> > >
> > > v5.7-rc is the baseline and is the fastest I currently see. On certain files,
> > > I saw an intermittent 10x slowdown that was already fixed earlier, now
> > > linux-next
> > > is more like 2x slowdown for me and 1.2x with this patch on top, so we're
> > > almost back to the speed of linux-5.7.
> > >
> >
> > Which clang version did you use - and have you set KCSAN kconfigs -
> > AFAICS this needs clang-11?
>
> I'm currently using clang-11, but I see the same problem with older
> versions, and both with and without KCSAN enabled. I think the issue
> is mostly the deep nesting of macros that leads to code bloat.
>

Thanks.

With clang-10:

$ scripts/diffconfig /boot/config-5.7.0-rc7-2-amd64-clang .config
 BUILD_SALT "5.7.0-rc7-2-amd64-clang" -> "5.7.0-rc7-3-amd64-clang"
+HAVE_ARCH_KCSAN y

With clang-11:

$ scripts/diffconfig /boot/config-5.7.0-rc7-2-amd64-clang .config
 BUILD_SALT "5.7.0-rc7-2-amd64-clang" -> "5.7.0-rc7-3-amd64-clang"
 CLANG_VERSION 100001 -> 110000
+CC_HAS_ASM_INLINE y
+HAVE_ARCH_KCSAN y
+HAVE_KCSAN_COMPILER y
+KCSAN n

Which KCSAN kconfigs did you enable?

- Sedat -
Marco Elver May 27, 2020, 1:30 p.m. UTC | #7
On Wed, 27 May 2020 at 15:11, Sedat Dilek <sedat.dilek@gmail.com> wrote:
>
> On Wed, May 27, 2020 at 2:50 PM Arnd Bergmann <arnd@arndb.de> wrote:
> >
> > On Wed, May 27, 2020 at 2:35 PM Sedat Dilek <sedat.dilek@gmail.com> wrote:
> > > On Wed, May 27, 2020 at 2:31 PM Arnd Bergmann <arnd@arndb.de> wrote:
> > > > On Wed, May 27, 2020 at 1:36 PM Sedat Dilek <sedat.dilek@gmail.com> wrote:
> > > > > On Wed, May 27, 2020 at 1:27 PM Arnd Bergmann <arnd@arndb.de> wrote:
> > > > > > On Wed, May 27, 2020 at 12:33 PM Marco Elver <elver@google.com> wrote:
> > > > > >
> > > > > > This gives us back 80% of the performance drop on clang, and 50%
> > > > > > of the drop I saw with gcc, compared to current mainline.
> > > > > >
> > > > > > Tested-by: Arnd Bergmann <arnd@arndb.de>
> > > > > >
> > > > >
> > > > > Hi Arnd,
> > > > >
> > > > > with "mainline" you mean Linux-next aka Linux v5.8 - not v5.7?
> > > >
> > > > I meant v5.7.
> > > >
> > > > > I have not seen __unqual_scalar_typeof(x) in compiler_types.h in Linux v5.7.
> > > > >
> > > > > Is there a speedup benefit also for Linux v5.7?
> > > > > Which patches do I need?
> > > >
> > > > v5.7-rc is the baseline and is the fastest I currently see. On certain files,
> > > > I saw an intermittent 10x slowdown that was already fixed earlier, now
> > > > linux-next
> > > > is more like 2x slowdown for me and 1.2x with this patch on top, so we're
> > > > almost back to the speed of linux-5.7.
> > > >
> > >
> > > Which clang version did you use - and have you set KCSAN kconfigs -
> > > AFAICS this needs clang-11?
> >
> > I'm currently using clang-11, but I see the same problem with older
> > versions, and both with and without KCSAN enabled. I think the issue
> > is mostly the deep nesting of macros that leads to code bloat.
> >
>
> Thanks.
>
> With clang-10:
>
> $ scripts/diffconfig /boot/config-5.7.0-rc7-2-amd64-clang .config
>  BUILD_SALT "5.7.0-rc7-2-amd64-clang" -> "5.7.0-rc7-3-amd64-clang"
> +HAVE_ARCH_KCSAN y

Clang 10 doesn't support KCSAN (HAVE_KCSAN_COMPILER unset).

> With clang-11:
>
> $ scripts/diffconfig /boot/config-5.7.0-rc7-2-amd64-clang .config
>  BUILD_SALT "5.7.0-rc7-2-amd64-clang" -> "5.7.0-rc7-3-amd64-clang"
>  CLANG_VERSION 100001 -> 110000
> +CC_HAS_ASM_INLINE y
> +HAVE_ARCH_KCSAN y
> +HAVE_KCSAN_COMPILER y
> +KCSAN n
>
> Which KCSAN kconfigs did you enable?

To clarify: as said in [1], KCSAN (or any other instrumentation) is no
longer relevant to the issue here, and the compile-time regression is
observable with most configs. The problem is due to pre-processing and
parsing, which came about due to new READ_ONCE() and the
__unqual_scalar_typeof() macro (which this patch optimizes).

KCSAN and new ONCEs got tangled up because we first attempted to
annotate {READ,WRITE}_ONCE() with data_race(), but that turned out to
have all kinds of other issues (explanation in [2]). So we decided to
drop all the KCSAN-specific bits from ONCE, and require KCSAN to be
Clang 11. Those fixes were applied to the first version of new
{READ,WRITE}_ONCE() in -tip, which actually restored the new ONCEs to
the pre-KCSAN version (now that KCSAN can deal with them without
annotations).

Hope this makes more sense now.

[1] https://lore.kernel.org/lkml/CANpmjNOUdr2UG3F45=JaDa0zLwJ5ukPc1MMKujQtmYSmQnjcXg@mail.gmail.com/
[2] https://lore.kernel.org/lkml/20200521142047.169334-1-elver@google.com/

Thanks,
-- Marco
Sedat Dilek May 27, 2020, 1:37 p.m. UTC | #8
On Wed, May 27, 2020 at 3:30 PM Marco Elver <elver@google.com> wrote:
>
> On Wed, 27 May 2020 at 15:11, Sedat Dilek <sedat.dilek@gmail.com> wrote:
> >
> > On Wed, May 27, 2020 at 2:50 PM Arnd Bergmann <arnd@arndb.de> wrote:
> > >
> > > On Wed, May 27, 2020 at 2:35 PM Sedat Dilek <sedat.dilek@gmail.com> wrote:
> > > > On Wed, May 27, 2020 at 2:31 PM Arnd Bergmann <arnd@arndb.de> wrote:
> > > > > On Wed, May 27, 2020 at 1:36 PM Sedat Dilek <sedat.dilek@gmail.com> wrote:
> > > > > > On Wed, May 27, 2020 at 1:27 PM Arnd Bergmann <arnd@arndb.de> wrote:
> > > > > > > On Wed, May 27, 2020 at 12:33 PM Marco Elver <elver@google.com> wrote:
> > > > > > >
> > > > > > > This gives us back 80% of the performance drop on clang, and 50%
> > > > > > > of the drop I saw with gcc, compared to current mainline.
> > > > > > >
> > > > > > > Tested-by: Arnd Bergmann <arnd@arndb.de>
> > > > > > >
> > > > > >
> > > > > > Hi Arnd,
> > > > > >
> > > > > > with "mainline" you mean Linux-next aka Linux v5.8 - not v5.7?
> > > > >
> > > > > I meant v5.7.
> > > > >
> > > > > > I have not seen __unqual_scalar_typeof(x) in compiler_types.h in Linux v5.7.
> > > > > >
> > > > > > Is there a speedup benefit also for Linux v5.7?
> > > > > > Which patches do I need?
> > > > >
> > > > > v5.7-rc is the baseline and is the fastest I currently see. On certain files,
> > > > > I saw an intermittent 10x slowdown that was already fixed earlier, now
> > > > > linux-next
> > > > > is more like 2x slowdown for me and 1.2x with this patch on top, so we're
> > > > > almost back to the speed of linux-5.7.
> > > > >
> > > >
> > > > Which clang version did you use - and have you set KCSAN kconfigs -
> > > > AFAICS this needs clang-11?
> > >
> > > I'm currently using clang-11, but I see the same problem with older
> > > versions, and both with and without KCSAN enabled. I think the issue
> > > is mostly the deep nesting of macros that leads to code bloat.
> > >
> >
> > Thanks.
> >
> > With clang-10:
> >
> > $ scripts/diffconfig /boot/config-5.7.0-rc7-2-amd64-clang .config
> >  BUILD_SALT "5.7.0-rc7-2-amd64-clang" -> "5.7.0-rc7-3-amd64-clang"
> > +HAVE_ARCH_KCSAN y
>
> Clang 10 doesn't support KCSAN (HAVE_KCSAN_COMPILER unset).
>
> > With clang-11:
> >
> > $ scripts/diffconfig /boot/config-5.7.0-rc7-2-amd64-clang .config
> >  BUILD_SALT "5.7.0-rc7-2-amd64-clang" -> "5.7.0-rc7-3-amd64-clang"
> >  CLANG_VERSION 100001 -> 110000
> > +CC_HAS_ASM_INLINE y
> > +HAVE_ARCH_KCSAN y
> > +HAVE_KCSAN_COMPILER y
> > +KCSAN n
> >
> > Which KCSAN kconfigs did you enable?
>
> To clarify: as said in [1], KCSAN (or any other instrumentation) is no
> longer relevant to the issue here, and the compile-time regression is
> observable with most configs. The problem is due to pre-processing and
> parsing, which came about due to new READ_ONCE() and the
> __unqual_scalar_typeof() macro (which this patch optimizes).
>
> KCSAN and new ONCEs got tangled up because we first attempted to
> annotate {READ,WRITE}_ONCE() with data_race(), but that turned out to
> have all kinds of other issues (explanation in [2]). So we decided to
> drop all the KCSAN-specific bits from ONCE, and require KCSAN to be
> Clang 11. Those fixes were applied to the first version of new
> {READ,WRITE}_ONCE() in -tip, which actually restored the new ONCEs to
> the pre-KCSAN version (now that KCSAN can deal with them without
> annotations).
>
> Hope this makes more sense now.
>
> [1] https://lore.kernel.org/lkml/CANpmjNOUdr2UG3F45=JaDa0zLwJ5ukPc1MMKujQtmYSmQnjcXg@mail.gmail.com/
> [2] https://lore.kernel.org/lkml/20200521142047.169334-1-elver@google.com/
>

Thanks, Marco.

I pulled tip.git#locking/kcsan on top of Linux v5.7-rc7 and applied this patch.
Just wanted to try KCSAN for the first time and it will also be my
first building with clang-11.
That's why I asked.

- Sedat -
Marco Elver May 27, 2020, 1:56 p.m. UTC | #9
On Wed, 27 May 2020 at 15:37, Sedat Dilek <sedat.dilek@gmail.com> wrote:
>
> On Wed, May 27, 2020 at 3:30 PM Marco Elver <elver@google.com> wrote:
> >
> > On Wed, 27 May 2020 at 15:11, Sedat Dilek <sedat.dilek@gmail.com> wrote:
> > >
> > > On Wed, May 27, 2020 at 2:50 PM Arnd Bergmann <arnd@arndb.de> wrote:
> > > >
> > > > On Wed, May 27, 2020 at 2:35 PM Sedat Dilek <sedat.dilek@gmail.com> wrote:
> > > > > On Wed, May 27, 2020 at 2:31 PM Arnd Bergmann <arnd@arndb.de> wrote:
> > > > > > On Wed, May 27, 2020 at 1:36 PM Sedat Dilek <sedat.dilek@gmail.com> wrote:
> > > > > > > On Wed, May 27, 2020 at 1:27 PM Arnd Bergmann <arnd@arndb.de> wrote:
> > > > > > > > On Wed, May 27, 2020 at 12:33 PM Marco Elver <elver@google.com> wrote:
> > > > > > > >
> > > > > > > > This gives us back 80% of the performance drop on clang, and 50%
> > > > > > > > of the drop I saw with gcc, compared to current mainline.
> > > > > > > >
> > > > > > > > Tested-by: Arnd Bergmann <arnd@arndb.de>
> > > > > > > >
> > > > > > >
> > > > > > > Hi Arnd,
> > > > > > >
> > > > > > > with "mainline" you mean Linux-next aka Linux v5.8 - not v5.7?
> > > > > >
> > > > > > I meant v5.7.
> > > > > >
> > > > > > > I have not seen __unqual_scalar_typeof(x) in compiler_types.h in Linux v5.7.
> > > > > > >
> > > > > > > Is there a speedup benefit also for Linux v5.7?
> > > > > > > Which patches do I need?
> > > > > >
> > > > > > v5.7-rc is the baseline and is the fastest I currently see. On certain files,
> > > > > > I saw an intermittent 10x slowdown that was already fixed earlier, now
> > > > > > linux-next
> > > > > > is more like 2x slowdown for me and 1.2x with this patch on top, so we're
> > > > > > almost back to the speed of linux-5.7.
> > > > > >
> > > > >
> > > > > Which clang version did you use - and have you set KCSAN kconfigs -
> > > > > AFAICS this needs clang-11?
> > > >
> > > > I'm currently using clang-11, but I see the same problem with older
> > > > versions, and both with and without KCSAN enabled. I think the issue
> > > > is mostly the deep nesting of macros that leads to code bloat.
> > > >
> > >
> > > Thanks.
> > >
> > > With clang-10:
> > >
> > > $ scripts/diffconfig /boot/config-5.7.0-rc7-2-amd64-clang .config
> > >  BUILD_SALT "5.7.0-rc7-2-amd64-clang" -> "5.7.0-rc7-3-amd64-clang"
> > > +HAVE_ARCH_KCSAN y
> >
> > Clang 10 doesn't support KCSAN (HAVE_KCSAN_COMPILER unset).
> >
> > > With clang-11:
> > >
> > > $ scripts/diffconfig /boot/config-5.7.0-rc7-2-amd64-clang .config
> > >  BUILD_SALT "5.7.0-rc7-2-amd64-clang" -> "5.7.0-rc7-3-amd64-clang"
> > >  CLANG_VERSION 100001 -> 110000
> > > +CC_HAS_ASM_INLINE y
> > > +HAVE_ARCH_KCSAN y
> > > +HAVE_KCSAN_COMPILER y
> > > +KCSAN n
> > >
> > > Which KCSAN kconfigs did you enable?
> >
> > To clarify: as said in [1], KCSAN (or any other instrumentation) is no
> > longer relevant to the issue here, and the compile-time regression is
> > observable with most configs. The problem is due to pre-processing and
> > parsing, which came about due to new READ_ONCE() and the
> > __unqual_scalar_typeof() macro (which this patch optimizes).
> >
> > KCSAN and new ONCEs got tangled up because we first attempted to
> > annotate {READ,WRITE}_ONCE() with data_race(), but that turned out to
> > have all kinds of other issues (explanation in [2]). So we decided to
> > drop all the KCSAN-specific bits from ONCE, and require KCSAN to be
> > Clang 11. Those fixes were applied to the first version of new
> > {READ,WRITE}_ONCE() in -tip, which actually restored the new ONCEs to
> > the pre-KCSAN version (now that KCSAN can deal with them without
> > annotations).
> >
> > Hope this makes more sense now.
> >
> > [1] https://lore.kernel.org/lkml/CANpmjNOUdr2UG3F45=JaDa0zLwJ5ukPc1MMKujQtmYSmQnjcXg@mail.gmail.com/
> > [2] https://lore.kernel.org/lkml/20200521142047.169334-1-elver@google.com/
> >
>
> Thanks, Marco.
>
> I pulled tip.git#locking/kcsan on top of Linux v5.7-rc7 and applied this patch.
> Just wanted to try KCSAN for the first time and it will also be my
> first building with clang-11.
> That's why I asked.

In general, CONFIG_KCSAN=y and the defaults for the other KCSAN
options should be good. Depending on the size of your system, you
could also tweak KCSAN runtime performance:
https://lwn.net/Articles/816850/#Interacting%20with%20KCSAN%20at%20Runtime
-- the defaults should be good for most systems though.
Hope this helps. Any more questions, do let me know.

Thanks,
-- Marco
Nathan Chancellor May 27, 2020, 3:29 p.m. UTC | #10
On Wed, May 27, 2020 at 12:32:36PM +0200, 'Marco Elver' via Clang Built Linux wrote:
> If the compiler supports C11's _Generic, use it to speed up compilation
> times of __unqual_scalar_typeof(). GCC version 4.9 or later and
> all supported versions of Clang support the feature (the oldest
> supported compiler that doesn't support _Generic is GCC 4.8, for which
> we use the slower alternative).
> 
> The non-_Generic variant relies on multiple expansions of
> __pick_integer_type -> __pick_scalar_type -> __builtin_choose_expr,
> which increases pre-processed code size, and can cause compile times to
> increase in files with numerous expansions of READ_ONCE(), or other
> users of __unqual_scalar_typeof().
> 
> Summary of compile-time benchmarking done by Arnd Bergmann [1]:
> 
> 	<baseline normalized time>  clang-11   gcc-9
> 	this patch                      0.78    0.91
> 	ideal                           0.76    0.86
> 
> [1] https://lkml.kernel.org/r/CAK8P3a3UYQeXhiufUevz=rwe09WM_vSTCd9W+KvJHJcOeQyWVA@mail.gmail.com
> 
> Further compile-testing done with:
> 	gcc 4.8, 4.9, 5.5, 6.4, 7.5, 8.4;
> 	clang 9, 10.
> 
> Reported-by: Arnd Bergmann <arnd@arndb.de>
> Signed-off-by: Marco Elver <elver@google.com>
> Cc: Borislav Petkov <bp@alien8.de>
> Cc: Ingo Molnar <mingo@kernel.org>
> Cc: Nick Desaulniers <ndesaulniers@google.com>
> Cc: Paul E. McKenney <paulmck@kernel.org>
> Cc: Peter Zijlstra <peterz@infradead.org>
> Cc: Stephen Rothwell <sfr@canb.auug.org.au>
> Cc: Thomas Gleixner <tglx@linutronix.de>
> Cc: Will Deacon <will@kernel.org>
> Link: https://lkml.kernel.org/r/CAK8P3a0RJtbVi1JMsfik=jkHCNFv+DJn_FeDg-YLW+ueQW3tNg@mail.gmail.com
> ---
> Same version as in:
> https://lkml.kernel.org/r/20200526173312.GA30240@google.com
> ---
>  include/linux/compiler_types.h | 22 +++++++++++++++++++++-
>  1 file changed, 21 insertions(+), 1 deletion(-)
> 
> diff --git a/include/linux/compiler_types.h b/include/linux/compiler_types.h
> index 5faf68eae204..a529fa263906 100644
> --- a/include/linux/compiler_types.h
> +++ b/include/linux/compiler_types.h
> @@ -245,7 +245,9 @@ struct ftrace_likely_data {
>  /*
>   * __unqual_scalar_typeof(x) - Declare an unqualified scalar type, leaving
>   *			       non-scalar types unchanged.
> - *
> + */
> +#if defined(CONFIG_CC_IS_GCC) && CONFIG_GCC_VERSION < 40900
> +/*
>   * We build this out of a couple of helper macros in a vain attempt to
>   * help you keep your lunch down while reading it.
>   */
> @@ -267,6 +269,24 @@ struct ftrace_likely_data {
>  			__pick_integer_type(x, int,				\
>  				__pick_integer_type(x, long,			\
>  					__pick_integer_type(x, long long, x))))))
> +#else
> +/*
> + * If supported, prefer C11 _Generic for better compile-times. As above, 'char'
> + * is not type-compatible with 'signed char', and we define a separate case.
> + */
> +#define __scalar_type_to_expr_cases(type)				\
> +		type: (type)0, unsigned type: (unsigned type)0
> +
> +#define __unqual_scalar_typeof(x) typeof(				\
> +		_Generic((x),						\
> +			 __scalar_type_to_expr_cases(char),		\
> +			 signed char: (signed char)0,			\
> +			 __scalar_type_to_expr_cases(short),		\
> +			 __scalar_type_to_expr_cases(int),		\
> +			 __scalar_type_to_expr_cases(long),		\
> +			 __scalar_type_to_expr_cases(long long),	\
> +			 default: (x)))
> +#endif
>  
>  /* Is this type a native word size -- useful for atomic operations */
>  #define __native_word(t) \
> -- 
> 2.27.0.rc0.183.gde8f92d652-goog
> 

Reviewed-by: Nathan Chancellor <natechancellor@gmail.com>
Tested-by: Nathan Chancellor <natechancellor@gmail.com> # build
Sedat Dilek May 27, 2020, 7:11 p.m. UTC | #11
On Wed, May 27, 2020 at 3:57 PM Marco Elver <elver@google.com> wrote:
>
> On Wed, 27 May 2020 at 15:37, Sedat Dilek <sedat.dilek@gmail.com> wrote:
> >
> > On Wed, May 27, 2020 at 3:30 PM Marco Elver <elver@google.com> wrote:
> > >
> > > On Wed, 27 May 2020 at 15:11, Sedat Dilek <sedat.dilek@gmail.com> wrote:
> > > >
> > > > On Wed, May 27, 2020 at 2:50 PM Arnd Bergmann <arnd@arndb.de> wrote:
> > > > >
> > > > > On Wed, May 27, 2020 at 2:35 PM Sedat Dilek <sedat.dilek@gmail.com> wrote:
> > > > > > On Wed, May 27, 2020 at 2:31 PM Arnd Bergmann <arnd@arndb.de> wrote:
> > > > > > > On Wed, May 27, 2020 at 1:36 PM Sedat Dilek <sedat.dilek@gmail.com> wrote:
> > > > > > > > On Wed, May 27, 2020 at 1:27 PM Arnd Bergmann <arnd@arndb.de> wrote:
> > > > > > > > > On Wed, May 27, 2020 at 12:33 PM Marco Elver <elver@google.com> wrote:
> > > > > > > > >
> > > > > > > > > This gives us back 80% of the performance drop on clang, and 50%
> > > > > > > > > of the drop I saw with gcc, compared to current mainline.
> > > > > > > > >
> > > > > > > > > Tested-by: Arnd Bergmann <arnd@arndb.de>
> > > > > > > > >
> > > > > > > >
> > > > > > > > Hi Arnd,
> > > > > > > >
> > > > > > > > with "mainline" you mean Linux-next aka Linux v5.8 - not v5.7?
> > > > > > >
> > > > > > > I meant v5.7.
> > > > > > >
> > > > > > > > I have not seen __unqual_scalar_typeof(x) in compiler_types.h in Linux v5.7.
> > > > > > > >
> > > > > > > > Is there a speedup benefit also for Linux v5.7?
> > > > > > > > Which patches do I need?
> > > > > > >
> > > > > > > v5.7-rc is the baseline and is the fastest I currently see. On certain files,
> > > > > > > I saw an intermittent 10x slowdown that was already fixed earlier, now
> > > > > > > linux-next
> > > > > > > is more like 2x slowdown for me and 1.2x with this patch on top, so we're
> > > > > > > almost back to the speed of linux-5.7.
> > > > > > >
> > > > > >
> > > > > > Which clang version did you use - and have you set KCSAN kconfigs -
> > > > > > AFAICS this needs clang-11?
> > > > >
> > > > > I'm currently using clang-11, but I see the same problem with older
> > > > > versions, and both with and without KCSAN enabled. I think the issue
> > > > > is mostly the deep nesting of macros that leads to code bloat.
> > > > >
> > > >
> > > > Thanks.
> > > >
> > > > With clang-10:
> > > >
> > > > $ scripts/diffconfig /boot/config-5.7.0-rc7-2-amd64-clang .config
> > > >  BUILD_SALT "5.7.0-rc7-2-amd64-clang" -> "5.7.0-rc7-3-amd64-clang"
> > > > +HAVE_ARCH_KCSAN y
> > >
> > > Clang 10 doesn't support KCSAN (HAVE_KCSAN_COMPILER unset).
> > >
> > > > With clang-11:
> > > >
> > > > $ scripts/diffconfig /boot/config-5.7.0-rc7-2-amd64-clang .config
> > > >  BUILD_SALT "5.7.0-rc7-2-amd64-clang" -> "5.7.0-rc7-3-amd64-clang"
> > > >  CLANG_VERSION 100001 -> 110000
> > > > +CC_HAS_ASM_INLINE y
> > > > +HAVE_ARCH_KCSAN y
> > > > +HAVE_KCSAN_COMPILER y
> > > > +KCSAN n
> > > >
> > > > Which KCSAN kconfigs did you enable?
> > >
> > > To clarify: as said in [1], KCSAN (or any other instrumentation) is no
> > > longer relevant to the issue here, and the compile-time regression is
> > > observable with most configs. The problem is due to pre-processing and
> > > parsing, which came about due to new READ_ONCE() and the
> > > __unqual_scalar_typeof() macro (which this patch optimizes).
> > >
> > > KCSAN and new ONCEs got tangled up because we first attempted to
> > > annotate {READ,WRITE}_ONCE() with data_race(), but that turned out to
> > > have all kinds of other issues (explanation in [2]). So we decided to
> > > drop all the KCSAN-specific bits from ONCE, and require KCSAN to be
> > > Clang 11. Those fixes were applied to the first version of new
> > > {READ,WRITE}_ONCE() in -tip, which actually restored the new ONCEs to
> > > the pre-KCSAN version (now that KCSAN can deal with them without
> > > annotations).
> > >
> > > Hope this makes more sense now.
> > >
> > > [1] https://lore.kernel.org/lkml/CANpmjNOUdr2UG3F45=JaDa0zLwJ5ukPc1MMKujQtmYSmQnjcXg@mail.gmail.com/
> > > [2] https://lore.kernel.org/lkml/20200521142047.169334-1-elver@google.com/
> > >
> >
> > Thanks, Marco.
> >
> > I pulled tip.git#locking/kcsan on top of Linux v5.7-rc7 and applied this patch.
> > Just wanted to try KCSAN for the first time and it will also be my
> > first building with clang-11.
> > That's why I asked.
>
> In general, CONFIG_KCSAN=y and the defaults for the other KCSAN
> options should be good. Depending on the size of your system, you
> could also tweak KCSAN runtime performance:
> https://lwn.net/Articles/816850/#Interacting%20with%20KCSAN%20at%20Runtime
> -- the defaults should be good for most systems though.
> Hope this helps. Any more questions, do let me know.
>

Which "projects" and packages do I need?

I have installed:

# LC_ALL=C apt-get install llvm-11 clang-11 lld-11
--no-install-recommends -t llvm-toolchain -y

# dpkg -l | grep
1:11~++20200527111130+65030821d4a-1~exp1~20200527091804.3261 | awk
'/^ii/ {print $1 " " $2 " " $3}' | column -t
ii  clang-11
1:11~++20200527111130+65030821d4a-1~exp1~20200527091804.3261
ii  libclang-common-11-dev
1:11~++20200527111130+65030821d4a-1~exp1~20200527091804.3261
ii  libclang-cpp11
1:11~++20200527111130+65030821d4a-1~exp1~20200527091804.3261
ii  libclang1-11
1:11~++20200527111130+65030821d4a-1~exp1~20200527091804.3261
ii  libllvm11:amd64
1:11~++20200527111130+65030821d4a-1~exp1~20200527091804.3261
ii  lld-11
1:11~++20200527111130+65030821d4a-1~exp1~20200527091804.3261
ii  llvm-11
1:11~++20200527111130+65030821d4a-1~exp1~20200527091804.3261
ii  llvm-11-runtime
1:11~++20200527111130+65030821d4a-1~exp1~20200527091804.3261

Is that enough?

- Sedat -
Marco Elver May 27, 2020, 7:14 p.m. UTC | #12
On Wed, 27 May 2020 at 21:11, Sedat Dilek <sedat.dilek@gmail.com> wrote:
>
> On Wed, May 27, 2020 at 3:57 PM Marco Elver <elver@google.com> wrote:
> >
> > On Wed, 27 May 2020 at 15:37, Sedat Dilek <sedat.dilek@gmail.com> wrote:
> > >
> > > On Wed, May 27, 2020 at 3:30 PM Marco Elver <elver@google.com> wrote:
> > > >
> > > > On Wed, 27 May 2020 at 15:11, Sedat Dilek <sedat.dilek@gmail.com> wrote:
> > > > >
> > > > > On Wed, May 27, 2020 at 2:50 PM Arnd Bergmann <arnd@arndb.de> wrote:
> > > > > >
> > > > > > On Wed, May 27, 2020 at 2:35 PM Sedat Dilek <sedat.dilek@gmail.com> wrote:
> > > > > > > On Wed, May 27, 2020 at 2:31 PM Arnd Bergmann <arnd@arndb.de> wrote:
> > > > > > > > On Wed, May 27, 2020 at 1:36 PM Sedat Dilek <sedat.dilek@gmail.com> wrote:
> > > > > > > > > On Wed, May 27, 2020 at 1:27 PM Arnd Bergmann <arnd@arndb.de> wrote:
> > > > > > > > > > On Wed, May 27, 2020 at 12:33 PM Marco Elver <elver@google.com> wrote:
> > > > > > > > > >
> > > > > > > > > > This gives us back 80% of the performance drop on clang, and 50%
> > > > > > > > > > of the drop I saw with gcc, compared to current mainline.
> > > > > > > > > >
> > > > > > > > > > Tested-by: Arnd Bergmann <arnd@arndb.de>
> > > > > > > > > >
> > > > > > > > >
> > > > > > > > > Hi Arnd,
> > > > > > > > >
> > > > > > > > > with "mainline" you mean Linux-next aka Linux v5.8 - not v5.7?
> > > > > > > >
> > > > > > > > I meant v5.7.
> > > > > > > >
> > > > > > > > > I have not seen __unqual_scalar_typeof(x) in compiler_types.h in Linux v5.7.
> > > > > > > > >
> > > > > > > > > Is there a speedup benefit also for Linux v5.7?
> > > > > > > > > Which patches do I need?
> > > > > > > >
> > > > > > > > v5.7-rc is the baseline and is the fastest I currently see. On certain files,
> > > > > > > > I saw an intermittent 10x slowdown that was already fixed earlier, now
> > > > > > > > linux-next
> > > > > > > > is more like 2x slowdown for me and 1.2x with this patch on top, so we're
> > > > > > > > almost back to the speed of linux-5.7.
> > > > > > > >
> > > > > > >
> > > > > > > Which clang version did you use - and have you set KCSAN kconfigs -
> > > > > > > AFAICS this needs clang-11?
> > > > > >
> > > > > > I'm currently using clang-11, but I see the same problem with older
> > > > > > versions, and both with and without KCSAN enabled. I think the issue
> > > > > > is mostly the deep nesting of macros that leads to code bloat.
> > > > > >
> > > > >
> > > > > Thanks.
> > > > >
> > > > > With clang-10:
> > > > >
> > > > > $ scripts/diffconfig /boot/config-5.7.0-rc7-2-amd64-clang .config
> > > > >  BUILD_SALT "5.7.0-rc7-2-amd64-clang" -> "5.7.0-rc7-3-amd64-clang"
> > > > > +HAVE_ARCH_KCSAN y
> > > >
> > > > Clang 10 doesn't support KCSAN (HAVE_KCSAN_COMPILER unset).
> > > >
> > > > > With clang-11:
> > > > >
> > > > > $ scripts/diffconfig /boot/config-5.7.0-rc7-2-amd64-clang .config
> > > > >  BUILD_SALT "5.7.0-rc7-2-amd64-clang" -> "5.7.0-rc7-3-amd64-clang"
> > > > >  CLANG_VERSION 100001 -> 110000
> > > > > +CC_HAS_ASM_INLINE y
> > > > > +HAVE_ARCH_KCSAN y
> > > > > +HAVE_KCSAN_COMPILER y
> > > > > +KCSAN n
> > > > >
> > > > > Which KCSAN kconfigs did you enable?
> > > >
> > > > To clarify: as said in [1], KCSAN (or any other instrumentation) is no
> > > > longer relevant to the issue here, and the compile-time regression is
> > > > observable with most configs. The problem is due to pre-processing and
> > > > parsing, which came about due to new READ_ONCE() and the
> > > > __unqual_scalar_typeof() macro (which this patch optimizes).
> > > >
> > > > KCSAN and new ONCEs got tangled up because we first attempted to
> > > > annotate {READ,WRITE}_ONCE() with data_race(), but that turned out to
> > > > have all kinds of other issues (explanation in [2]). So we decided to
> > > > drop all the KCSAN-specific bits from ONCE, and require KCSAN to be
> > > > Clang 11. Those fixes were applied to the first version of new
> > > > {READ,WRITE}_ONCE() in -tip, which actually restored the new ONCEs to
> > > > the pre-KCSAN version (now that KCSAN can deal with them without
> > > > annotations).
> > > >
> > > > Hope this makes more sense now.
> > > >
> > > > [1] https://lore.kernel.org/lkml/CANpmjNOUdr2UG3F45=JaDa0zLwJ5ukPc1MMKujQtmYSmQnjcXg@mail.gmail.com/
> > > > [2] https://lore.kernel.org/lkml/20200521142047.169334-1-elver@google.com/
> > > >
> > >
> > > Thanks, Marco.
> > >
> > > I pulled tip.git#locking/kcsan on top of Linux v5.7-rc7 and applied this patch.
> > > Just wanted to try KCSAN for the first time and it will also be my
> > > first building with clang-11.
> > > That's why I asked.
> >
> > In general, CONFIG_KCSAN=y and the defaults for the other KCSAN
> > options should be good. Depending on the size of your system, you
> > could also tweak KCSAN runtime performance:
> > https://lwn.net/Articles/816850/#Interacting%20with%20KCSAN%20at%20Runtime
> > -- the defaults should be good for most systems though.
> > Hope this helps. Any more questions, do let me know.
> >
>
> Which "projects" and packages do I need?
>
> I have installed:
>
> # LC_ALL=C apt-get install llvm-11 clang-11 lld-11
> --no-install-recommends -t llvm-toolchain -y
>
> # dpkg -l | grep
> 1:11~++20200527111130+65030821d4a-1~exp1~20200527091804.3261 | awk
> '/^ii/ {print $1 " " $2 " " $3}' | column -t
> ii  clang-11
> 1:11~++20200527111130+65030821d4a-1~exp1~20200527091804.3261
> ii  libclang-common-11-dev
> 1:11~++20200527111130+65030821d4a-1~exp1~20200527091804.3261
> ii  libclang-cpp11
> 1:11~++20200527111130+65030821d4a-1~exp1~20200527091804.3261
> ii  libclang1-11
> 1:11~++20200527111130+65030821d4a-1~exp1~20200527091804.3261
> ii  libllvm11:amd64
> 1:11~++20200527111130+65030821d4a-1~exp1~20200527091804.3261
> ii  lld-11
> 1:11~++20200527111130+65030821d4a-1~exp1~20200527091804.3261
> ii  llvm-11
> 1:11~++20200527111130+65030821d4a-1~exp1~20200527091804.3261
> ii  llvm-11-runtime
> 1:11~++20200527111130+65030821d4a-1~exp1~20200527091804.3261
>
> Is that enough?

Just clang-11 (and its transitive dependencies) is enough. Unsure what
your installed binary is, likely "clang-11", so if you can do "make
CC=clang-11 defconfig" (and check for CONFIG_HAVE_KCSAN_COMPILER)
you're good to go.

Thanks,
-- Marco
Sedat Dilek May 28, 2020, 2:12 a.m. UTC | #13
On Wed, May 27, 2020 at 9:15 PM Marco Elver <elver@google.com> wrote:
>
> On Wed, 27 May 2020 at 21:11, Sedat Dilek <sedat.dilek@gmail.com> wrote:
> >
> > On Wed, May 27, 2020 at 3:57 PM Marco Elver <elver@google.com> wrote:
> > >
> > > On Wed, 27 May 2020 at 15:37, Sedat Dilek <sedat.dilek@gmail.com> wrote:
> > > >
> > > > On Wed, May 27, 2020 at 3:30 PM Marco Elver <elver@google.com> wrote:
> > > > >
> > > > > On Wed, 27 May 2020 at 15:11, Sedat Dilek <sedat.dilek@gmail.com> wrote:
> > > > > >
> > > > > > On Wed, May 27, 2020 at 2:50 PM Arnd Bergmann <arnd@arndb.de> wrote:
> > > > > > >
> > > > > > > On Wed, May 27, 2020 at 2:35 PM Sedat Dilek <sedat.dilek@gmail.com> wrote:
> > > > > > > > On Wed, May 27, 2020 at 2:31 PM Arnd Bergmann <arnd@arndb.de> wrote:
> > > > > > > > > On Wed, May 27, 2020 at 1:36 PM Sedat Dilek <sedat.dilek@gmail.com> wrote:
> > > > > > > > > > On Wed, May 27, 2020 at 1:27 PM Arnd Bergmann <arnd@arndb.de> wrote:
> > > > > > > > > > > On Wed, May 27, 2020 at 12:33 PM Marco Elver <elver@google.com> wrote:
> > > > > > > > > > >
> > > > > > > > > > > This gives us back 80% of the performance drop on clang, and 50%
> > > > > > > > > > > of the drop I saw with gcc, compared to current mainline.
> > > > > > > > > > >
> > > > > > > > > > > Tested-by: Arnd Bergmann <arnd@arndb.de>
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > Hi Arnd,
> > > > > > > > > >
> > > > > > > > > > with "mainline" you mean Linux-next aka Linux v5.8 - not v5.7?
> > > > > > > > >
> > > > > > > > > I meant v5.7.
> > > > > > > > >
> > > > > > > > > > I have not seen __unqual_scalar_typeof(x) in compiler_types.h in Linux v5.7.
> > > > > > > > > >
> > > > > > > > > > Is there a speedup benefit also for Linux v5.7?
> > > > > > > > > > Which patches do I need?
> > > > > > > > >
> > > > > > > > > v5.7-rc is the baseline and is the fastest I currently see. On certain files,
> > > > > > > > > I saw an intermittent 10x slowdown that was already fixed earlier, now
> > > > > > > > > linux-next
> > > > > > > > > is more like 2x slowdown for me and 1.2x with this patch on top, so we're
> > > > > > > > > almost back to the speed of linux-5.7.
> > > > > > > > >
> > > > > > > >
> > > > > > > > Which clang version did you use - and have you set KCSAN kconfigs -
> > > > > > > > AFAICS this needs clang-11?
> > > > > > >
> > > > > > > I'm currently using clang-11, but I see the same problem with older
> > > > > > > versions, and both with and without KCSAN enabled. I think the issue
> > > > > > > is mostly the deep nesting of macros that leads to code bloat.
> > > > > > >
> > > > > >
> > > > > > Thanks.
> > > > > >
> > > > > > With clang-10:
> > > > > >
> > > > > > $ scripts/diffconfig /boot/config-5.7.0-rc7-2-amd64-clang .config
> > > > > >  BUILD_SALT "5.7.0-rc7-2-amd64-clang" -> "5.7.0-rc7-3-amd64-clang"
> > > > > > +HAVE_ARCH_KCSAN y
> > > > >
> > > > > Clang 10 doesn't support KCSAN (HAVE_KCSAN_COMPILER unset).
> > > > >
> > > > > > With clang-11:
> > > > > >
> > > > > > $ scripts/diffconfig /boot/config-5.7.0-rc7-2-amd64-clang .config
> > > > > >  BUILD_SALT "5.7.0-rc7-2-amd64-clang" -> "5.7.0-rc7-3-amd64-clang"
> > > > > >  CLANG_VERSION 100001 -> 110000
> > > > > > +CC_HAS_ASM_INLINE y
> > > > > > +HAVE_ARCH_KCSAN y
> > > > > > +HAVE_KCSAN_COMPILER y
> > > > > > +KCSAN n
> > > > > >
> > > > > > Which KCSAN kconfigs did you enable?
> > > > >
> > > > > To clarify: as said in [1], KCSAN (or any other instrumentation) is no
> > > > > longer relevant to the issue here, and the compile-time regression is
> > > > > observable with most configs. The problem is due to pre-processing and
> > > > > parsing, which came about due to new READ_ONCE() and the
> > > > > __unqual_scalar_typeof() macro (which this patch optimizes).
> > > > >
> > > > > KCSAN and new ONCEs got tangled up because we first attempted to
> > > > > annotate {READ,WRITE}_ONCE() with data_race(), but that turned out to
> > > > > have all kinds of other issues (explanation in [2]). So we decided to
> > > > > drop all the KCSAN-specific bits from ONCE, and require KCSAN to be
> > > > > Clang 11. Those fixes were applied to the first version of new
> > > > > {READ,WRITE}_ONCE() in -tip, which actually restored the new ONCEs to
> > > > > the pre-KCSAN version (now that KCSAN can deal with them without
> > > > > annotations).
> > > > >
> > > > > Hope this makes more sense now.
> > > > >
> > > > > [1] https://lore.kernel.org/lkml/CANpmjNOUdr2UG3F45=JaDa0zLwJ5ukPc1MMKujQtmYSmQnjcXg@mail.gmail.com/
> > > > > [2] https://lore.kernel.org/lkml/20200521142047.169334-1-elver@google.com/
> > > > >
> > > >
> > > > Thanks, Marco.
> > > >
> > > > I pulled tip.git#locking/kcsan on top of Linux v5.7-rc7 and applied this patch.
> > > > Just wanted to try KCSAN for the first time and it will also be my
> > > > first building with clang-11.
> > > > That's why I asked.
> > >
> > > In general, CONFIG_KCSAN=y and the defaults for the other KCSAN
> > > options should be good. Depending on the size of your system, you
> > > could also tweak KCSAN runtime performance:
> > > https://lwn.net/Articles/816850/#Interacting%20with%20KCSAN%20at%20Runtime
> > > -- the defaults should be good for most systems though.
> > > Hope this helps. Any more questions, do let me know.
> > >
> >
> > Which "projects" and packages do I need?
> >
> > I have installed:
> >
> > # LC_ALL=C apt-get install llvm-11 clang-11 lld-11
> > --no-install-recommends -t llvm-toolchain -y
> >
> > # dpkg -l | grep
> > 1:11~++20200527111130+65030821d4a-1~exp1~20200527091804.3261 | awk
> > '/^ii/ {print $1 " " $2 " " $3}' | column -t
> > ii  clang-11
> > 1:11~++20200527111130+65030821d4a-1~exp1~20200527091804.3261
> > ii  libclang-common-11-dev
> > 1:11~++20200527111130+65030821d4a-1~exp1~20200527091804.3261
> > ii  libclang-cpp11
> > 1:11~++20200527111130+65030821d4a-1~exp1~20200527091804.3261
> > ii  libclang1-11
> > 1:11~++20200527111130+65030821d4a-1~exp1~20200527091804.3261
> > ii  libllvm11:amd64
> > 1:11~++20200527111130+65030821d4a-1~exp1~20200527091804.3261
> > ii  lld-11
> > 1:11~++20200527111130+65030821d4a-1~exp1~20200527091804.3261
> > ii  llvm-11
> > 1:11~++20200527111130+65030821d4a-1~exp1~20200527091804.3261
> > ii  llvm-11-runtime
> > 1:11~++20200527111130+65030821d4a-1~exp1~20200527091804.3261
> >
> > Is that enough?
>
> Just clang-11 (and its transitive dependencies) is enough. Unsure what
> your installed binary is, likely "clang-11", so if you can do "make
> CC=clang-11 defconfig" (and check for CONFIG_HAVE_KCSAN_COMPILER)
> you're good to go.
>

I was able to build with clang-11 from apt.llvm.org.

[ build-time ]

Normally, it takes me approx. 05:00 to build with clang-10
(10.0.1-rc1) and Linux v5.7-rc7.

This time start: 21:18 and stop: 03:45 means 06:27 - took 01:27 longer.

Samsung Ultrabook 2nd generation aka Intel Sandybridge CPU with 'make -j3'.

[ diffconfig ]

 BUILD_SALT "5.7.0-rc7-2-amd64-clang" -> "5.7.0-rc7-3-amd64-clang"
 CLANG_VERSION 100001 -> 110000
+CC_HAS_ASM_INLINE y
+HAVE_ARCH_KCSAN y
+HAVE_KCSAN_COMPILER y
+KCSAN y
+KCSAN_ASSUME_PLAIN_WRITES_ATOMIC y
+KCSAN_DEBUG n
+KCSAN_DELAY_RANDOMIZE y
+KCSAN_EARLY_ENABLE y
+KCSAN_IGNORE_ATOMICS n
+KCSAN_INTERRUPT_WATCHER n
+KCSAN_NUM_WATCHPOINTS 64
+KCSAN_REPORT_ONCE_IN_MS 3000
+KCSAN_REPORT_RACE_UNKNOWN_ORIGIN y
+KCSAN_REPORT_VALUE_CHANGE_ONLY y
+KCSAN_SELFTEST y
+KCSAN_SKIP_WATCH 4000
+KCSAN_SKIP_WATCH_RANDOMIZE y
+KCSAN_UDELAY_INTERRUPT 20
+KCSAN_UDELAY_TASK 80

I am seeing this data-races:

root@iniza:~# LC_ALL=C dmesg -T | grep 'BUG: KCSAN: data-race'
[Thu May 28 03:51:53 2020] BUG: KCSAN: data-race in
mutex_spin_on_owner+0xe0/0x1b0
[Thu May 28 03:52:00 2020] BUG: KCSAN: data-race in mark_page_accessed
/ workingset_activation
[Thu May 28 03:52:02 2020] BUG: KCSAN: data-race in
mutex_spin_on_owner+0xe0/0x1b0
[Thu May 28 03:52:08 2020] BUG: KCSAN: data-race in
blk_mq_sched_dispatch_requests / blk_mq_sched_dispatch_requests
[Thu May 28 03:52:10 2020] BUG: KCSAN: data-race in dd_has_work /
dd_insert_requests
[Thu May 28 03:52:11 2020] BUG: KCSAN: data-race in
mutex_spin_on_owner+0xe0/0x1b0
[Thu May 28 03:52:13 2020] BUG: KCSAN: data-race in
page_counter_try_charge / page_counter_try_charge
[Thu May 28 03:52:15 2020] BUG: KCSAN: data-race in ep_poll_callback /
ep_send_events_proc
[Thu May 28 03:52:21 2020] BUG: KCSAN: data-race in
mutex_spin_on_owner+0xe0/0x1b0
[Thu May 28 03:52:25 2020] BUG: KCSAN: data-race in
mutex_spin_on_owner+0xe0/0x1b0
[Thu May 28 03:52:26 2020] BUG: KCSAN: data-race in dd_has_work /
deadline_remove_request
[Thu May 28 03:52:31 2020] BUG: KCSAN: data-race in dd_has_work /
deadline_remove_request
[Thu May 28 03:52:38 2020] BUG: KCSAN: data-race in dd_has_work /
deadline_remove_request
[Thu May 28 03:52:53 2020] BUG: KCSAN: data-race in dd_has_work /
dd_insert_requests
[Thu May 28 03:52:56 2020] BUG: KCSAN: data-race in dd_has_work /
deadline_remove_request
[Thu May 28 03:52:59 2020] BUG: KCSAN: data-race in
blk_mq_sched_dispatch_requests / blk_mq_sched_dispatch_requests
[Thu May 28 03:53:25 2020] BUG: KCSAN: data-race in
rwsem_spin_on_owner+0x102/0x1a0
[Thu May 28 03:53:25 2020] BUG: KCSAN: data-race in
page_counter_try_charge / page_counter_try_charge
[Thu May 28 03:53:39 2020] BUG: KCSAN: data-race in do_epoll_wait /
ep_poll_callback
[Thu May 28 03:53:39 2020] BUG: KCSAN: data-race in find_next_and_bit+0x30/0xd0
[Thu May 28 03:53:41 2020] BUG: KCSAN: data-race in dd_has_work /
dd_insert_requests
[Thu May 28 03:53:43 2020] BUG: KCSAN: data-race in do_epoll_wait /
ep_poll_callback
[Thu May 28 03:53:45 2020] BUG: KCSAN: data-race in dd_has_work /
dd_insert_requests
[Thu May 28 03:53:46 2020] BUG: KCSAN: data-race in
blk_mq_sched_dispatch_requests / blk_mq_sched_dispatch_requests
[Thu May 28 03:53:47 2020] BUG: KCSAN: data-race in
rwsem_spin_on_owner+0x102/0x1a0
[Thu May 28 03:54:02 2020] BUG: KCSAN: data-race in dd_has_work /
deadline_remove_request
[Thu May 28 03:54:11 2020] BUG: KCSAN: data-race in find_next_and_bit+0x30/0xd0
[Thu May 28 03:54:19 2020] BUG: KCSAN: data-race in
rwsem_spin_on_owner+0x102/0x1a0
[Thu May 28 03:55:00 2020] BUG: KCSAN: data-race in
mutex_spin_on_owner+0xe0/0x1b0
[Thu May 28 03:56:14 2020] BUG: KCSAN: data-race in dd_has_work /
deadline_remove_request
[Thu May 28 03:56:50 2020] BUG: KCSAN: data-race in dd_has_work /
deadline_remove_request
[Thu May 28 03:56:50 2020] BUG: KCSAN: data-race in dd_has_work /
deadline_remove_request
[Thu May 28 03:56:52 2020] BUG: KCSAN: data-race in
tick_nohz_next_event / tick_nohz_stop_tick
[Thu May 28 03:56:58 2020] BUG: KCSAN: data-race in
blk_mq_sched_dispatch_requests / blk_mq_sched_dispatch_requests
[Thu May 28 03:57:58 2020] BUG: KCSAN: data-race in
blk_mq_sched_dispatch_requests / blk_mq_sched_dispatch_requests
[Thu May 28 03:58:00 2020] BUG: KCSAN: data-race in dd_has_work /
deadline_remove_request
[Thu May 28 03:58:07 2020] BUG: KCSAN: data-race in
tick_nohz_next_event / tick_nohz_stop_tick
[Thu May 28 03:58:44 2020] BUG: KCSAN: data-race in
mutex_spin_on_owner+0xe0/0x1b0
[Thu May 28 03:58:49 2020] BUG: KCSAN: data-race in __bitmap_subset+0x38/0xd0
[Thu May 28 03:59:46 2020] BUG: KCSAN: data-race in
tick_nohz_next_event / tick_nohz_stop_tick
[Thu May 28 04:00:25 2020] BUG: KCSAN: data-race in dd_has_work /
deadline_remove_request
[Thu May 28 04:00:26 2020] BUG: KCSAN: data-race in
tick_nohz_next_event / tick_nohz_stop_tick

Full dmesg output and linux-config attached.

- Sedat -
[Thu May 28 03:51:42 2020] microcode: microcode updated early to revision 0x2f, date = 2019-02-17
[Thu May 28 03:51:42 2020] Linux version 5.7.0-rc7-3-amd64-clang (sedat.dilek@gmail.com@iniza) (clang version 11.0.0-++20200527111130+65030821d4a-1~exp1~20200527091804.3261, LLD 11.0.0) #3~bullseye+dileks1 SMP 2020-05-27
[Thu May 28 03:51:42 2020] Command line: BOOT_IMAGE=/boot/vmlinuz-5.7.0-rc7-3-amd64-clang root=UUID=5f730cbc-abda-410c-9ea9-f0bdeda41926 ro
[Thu May 28 03:51:42 2020] Disabled fast string operations
[Thu May 28 03:51:42 2020] x86/fpu: Supporting XSAVE feature 0x001: 'x87 floating point registers'
[Thu May 28 03:51:42 2020] x86/fpu: Supporting XSAVE feature 0x002: 'SSE registers'
[Thu May 28 03:51:42 2020] x86/fpu: Supporting XSAVE feature 0x004: 'AVX registers'
[Thu May 28 03:51:42 2020] x86/fpu: xstate_offset[2]:  576, xstate_sizes[2]:  256
[Thu May 28 03:51:42 2020] x86/fpu: Enabled xstate features 0x7, context size is 832 bytes, using 'standard' format.
[Thu May 28 03:51:42 2020] BIOS-provided physical RAM map:
[Thu May 28 03:51:42 2020] BIOS-e820: [mem 0x0000000000000000-0x000000000009d7ff] usable
[Thu May 28 03:51:42 2020] BIOS-e820: [mem 0x000000000009d800-0x000000000009ffff] reserved
[Thu May 28 03:51:42 2020] BIOS-e820: [mem 0x00000000000e0000-0x00000000000fffff] reserved
[Thu May 28 03:51:42 2020] BIOS-e820: [mem 0x0000000000100000-0x000000001fffffff] usable
[Thu May 28 03:51:42 2020] BIOS-e820: [mem 0x0000000020000000-0x00000000201fffff] reserved
[Thu May 28 03:51:42 2020] BIOS-e820: [mem 0x0000000020200000-0x000000003fffffff] usable
[Thu May 28 03:51:42 2020] BIOS-e820: [mem 0x0000000040000000-0x00000000401fffff] reserved
[Thu May 28 03:51:42 2020] BIOS-e820: [mem 0x0000000040200000-0x00000000d9c9efff] usable
[Thu May 28 03:51:42 2020] BIOS-e820: [mem 0x00000000d9c9f000-0x00000000dae7efff] reserved
[Thu May 28 03:51:42 2020] BIOS-e820: [mem 0x00000000dae7f000-0x00000000daf9efff] ACPI NVS
[Thu May 28 03:51:42 2020] BIOS-e820: [mem 0x00000000daf9f000-0x00000000daffefff] ACPI data
[Thu May 28 03:51:42 2020] BIOS-e820: [mem 0x00000000dafff000-0x00000000daffffff] usable
[Thu May 28 03:51:42 2020] BIOS-e820: [mem 0x00000000db000000-0x00000000df9fffff] reserved
[Thu May 28 03:51:42 2020] BIOS-e820: [mem 0x00000000f8000000-0x00000000fbffffff] reserved
[Thu May 28 03:51:42 2020] BIOS-e820: [mem 0x00000000fec00000-0x00000000fec00fff] reserved
[Thu May 28 03:51:42 2020] BIOS-e820: [mem 0x00000000fed08000-0x00000000fed08fff] reserved
[Thu May 28 03:51:42 2020] BIOS-e820: [mem 0x00000000fed10000-0x00000000fed19fff] reserved
[Thu May 28 03:51:42 2020] BIOS-e820: [mem 0x00000000fed1c000-0x00000000fed1ffff] reserved
[Thu May 28 03:51:42 2020] BIOS-e820: [mem 0x00000000fee00000-0x00000000fee00fff] reserved
[Thu May 28 03:51:42 2020] BIOS-e820: [mem 0x00000000ffd80000-0x00000000ffffffff] reserved
[Thu May 28 03:51:42 2020] BIOS-e820: [mem 0x0000000100000000-0x000000021fdfffff] usable
[Thu May 28 03:51:42 2020] NX (Execute Disable) protection: active
[Thu May 28 03:51:42 2020] SMBIOS 2.6 present.
[Thu May 28 03:51:42 2020] DMI: SAMSUNG ELECTRONICS CO., LTD. 530U3BI/530U4BI/530U4BH/530U3BI/530U4BI/530U4BH, BIOS 13XK 03/28/2013
[Thu May 28 03:51:42 2020] tsc: Fast TSC calibration using PIT
[Thu May 28 03:51:42 2020] tsc: Detected 1596.229 MHz processor
[Thu May 28 03:51:42 2020] e820: update [mem 0x00000000-0x00000fff] usable ==> reserved
[Thu May 28 03:51:42 2020] e820: remove [mem 0x000a0000-0x000fffff] usable
[Thu May 28 03:51:42 2020] last_pfn = 0x21fe00 max_arch_pfn = 0x400000000
[Thu May 28 03:51:42 2020] MTRR default type: uncachable
[Thu May 28 03:51:42 2020] MTRR fixed ranges enabled:
[Thu May 28 03:51:42 2020]   00000-9FFFF write-back
[Thu May 28 03:51:42 2020]   A0000-BFFFF uncachable
[Thu May 28 03:51:42 2020]   C0000-FFFFF write-protect
[Thu May 28 03:51:42 2020] MTRR variable ranges enabled:
[Thu May 28 03:51:42 2020]   0 base 000000000 mask F80000000 write-back
[Thu May 28 03:51:42 2020]   1 base 080000000 mask FC0000000 write-back
[Thu May 28 03:51:42 2020]   2 base 0C0000000 mask FE0000000 write-back
[Thu May 28 03:51:42 2020]   3 base 0DC000000 mask FFC000000 uncachable
[Thu May 28 03:51:42 2020]   4 base 0DB000000 mask FFF000000 uncachable
[Thu May 28 03:51:42 2020]   5 base 100000000 mask F00000000 write-back
[Thu May 28 03:51:42 2020]   6 base 200000000 mask FE0000000 write-back
[Thu May 28 03:51:42 2020]   7 base 21FE00000 mask FFFE00000 uncachable
[Thu May 28 03:51:42 2020]   8 base 0FFC00000 mask FFFC00000 write-protect
[Thu May 28 03:51:42 2020]   9 disabled
[Thu May 28 03:51:42 2020] x86/PAT: Configuration [0-7]: WB  WC  UC- UC  WB  WP  UC- WT  
[Thu May 28 03:51:42 2020] last_pfn = 0xdb000 max_arch_pfn = 0x400000000
[Thu May 28 03:51:42 2020] found SMP MP-table at [mem 0x000f00e0-0x000f00ef]
[Thu May 28 03:51:42 2020] reserving inaccessible SNB gfx pages
[Thu May 28 03:51:42 2020] BRK [0x173c01000, 0x173c01fff] PGTABLE
[Thu May 28 03:51:42 2020] BRK [0x173c02000, 0x173c02fff] PGTABLE
[Thu May 28 03:51:42 2020] BRK [0x173c03000, 0x173c03fff] PGTABLE
[Thu May 28 03:51:42 2020] BRK [0x173c04000, 0x173c04fff] PGTABLE
[Thu May 28 03:51:42 2020] BRK [0x173c05000, 0x173c05fff] PGTABLE
[Thu May 28 03:51:42 2020] BRK [0x173c06000, 0x173c06fff] PGTABLE
[Thu May 28 03:51:42 2020] BRK [0x173c07000, 0x173c07fff] PGTABLE
[Thu May 28 03:51:42 2020] BRK [0x173c08000, 0x173c08fff] PGTABLE
[Thu May 28 03:51:42 2020] BRK [0x173c09000, 0x173c09fff] PGTABLE
[Thu May 28 03:51:42 2020] BRK [0x173c0a000, 0x173c0afff] PGTABLE
[Thu May 28 03:51:42 2020] BRK [0x173c0b000, 0x173c0bfff] PGTABLE
[Thu May 28 03:51:42 2020] RAMDISK: [mem 0x343cb000-0x361dcfff]
[Thu May 28 03:51:42 2020] ACPI: Early table checksum verification disabled
[Thu May 28 03:51:42 2020] ACPI: RSDP 0x00000000000F0100 000024 (v02 SECCSD)
[Thu May 28 03:51:42 2020] ACPI: XSDT 0x00000000DAFFE170 000084 (v01 SECCSD LH43STAR 00000002 PTEC 00000002)
[Thu May 28 03:51:42 2020] ACPI: FACP 0x00000000DAFEF000 00010C (v05 SECCSD LH43STAR 00000002 PTL  00000002)
[Thu May 28 03:51:42 2020] ACPI: DSDT 0x00000000DAFF2000 0083AC (v02 SECCSD SNB-CPT  00000000 INTL 20061109)
[Thu May 28 03:51:42 2020] ACPI: FACS 0x00000000DAF47000 000040
[Thu May 28 03:51:42 2020] ACPI: SLIC 0x00000000DAFFD000 000176 (v01 SECCSD LH43STAR 00000002 PTEC 00000001)
[Thu May 28 03:51:42 2020] ACPI: SSDT 0x00000000DAFFB000 001068 (v01 SECCSD PtidDevc 00001000 INTL 20061109)
[Thu May 28 03:51:42 2020] ACPI: ASF! 0x00000000DAFF1000 0000A5 (v32 SECCSD LH43STAR 00000002 PTL  00000002)
[Thu May 28 03:51:42 2020] ACPI: HPET 0x00000000DAFEE000 000038 (v01 SECCSD LH43STAR 00000002 PTL  00000002)
[Thu May 28 03:51:42 2020] ACPI: APIC 0x00000000DAFED000 000098 (v03 SECCSD LH43STAR 00000002 PTL  00000002)
[Thu May 28 03:51:42 2020] ACPI: MCFG 0x00000000DAFEC000 00003C (v01 SECCSD LH43STAR 00000002 PTL  00000002)
[Thu May 28 03:51:42 2020] ACPI: SSDT 0x00000000DAFEB000 000804 (v01 PmRef  Cpu0Ist  00003000 INTL 20061109)
[Thu May 28 03:51:42 2020] ACPI: SSDT 0x00000000DAFEA000 000996 (v01 PmRef  CpuPm    00003000 INTL 20061109)
[Thu May 28 03:51:42 2020] ACPI: UEFI 0x00000000DAFE9000 00003E (v01 SECCSD LH43STAR 00000002 PTL  00000002)
[Thu May 28 03:51:42 2020] ACPI: UEFI 0x00000000DAFE8000 000042 (v01 PTL    COMBUF   00000001 PTL  00000001)
[Thu May 28 03:51:42 2020] ACPI: UEFI 0x00000000DAFE7000 00026A (v01 SECCSD LH43STAR 00000002 PTL  00000002)
[Thu May 28 03:51:42 2020] ACPI: Local APIC address 0xfee00000
[Thu May 28 03:51:42 2020] No NUMA configuration found
[Thu May 28 03:51:42 2020] Faking a node at [mem 0x0000000000000000-0x000000021fdfffff]
[Thu May 28 03:51:42 2020] NODE_DATA(0) allocated [mem 0x21fdf8000-0x21fdfcfff]
[Thu May 28 03:51:42 2020] Zone ranges:
[Thu May 28 03:51:42 2020]   DMA      [mem 0x0000000000001000-0x0000000000ffffff]
[Thu May 28 03:51:42 2020]   DMA32    [mem 0x0000000001000000-0x00000000ffffffff]
[Thu May 28 03:51:42 2020]   Normal   [mem 0x0000000100000000-0x000000021fdfffff]
[Thu May 28 03:51:42 2020]   Device   empty
[Thu May 28 03:51:42 2020] Movable zone start for each node
[Thu May 28 03:51:42 2020] Early memory node ranges
[Thu May 28 03:51:42 2020]   node   0: [mem 0x0000000000001000-0x000000000009cfff]
[Thu May 28 03:51:42 2020]   node   0: [mem 0x0000000000100000-0x000000001fffffff]
[Thu May 28 03:51:42 2020]   node   0: [mem 0x0000000020200000-0x000000003fffffff]
[Thu May 28 03:51:42 2020]   node   0: [mem 0x0000000040200000-0x00000000d9c9efff]
[Thu May 28 03:51:42 2020]   node   0: [mem 0x00000000dafff000-0x00000000daffffff]
[Thu May 28 03:51:42 2020]   node   0: [mem 0x0000000100000000-0x000000021fdfffff]
[Thu May 28 03:51:42 2020] Zeroed struct page in unavailable ranges: 27076 pages
[Thu May 28 03:51:42 2020] Initmem setup node 0 [mem 0x0000000000001000-0x000000021fdfffff]
[Thu May 28 03:51:42 2020] On node 0 totalpages: 2070076
[Thu May 28 03:51:42 2020]   DMA zone: 64 pages used for memmap
[Thu May 28 03:51:42 2020]   DMA zone: 156 pages reserved
[Thu May 28 03:51:42 2020]   DMA zone: 3996 pages, LIFO batch:0
[Thu May 28 03:51:42 2020]   DMA32 zone: 13859 pages used for memmap
[Thu May 28 03:51:42 2020]   DMA32 zone: 886944 pages, LIFO batch:63
[Thu May 28 03:51:42 2020]   Normal zone: 18424 pages used for memmap
[Thu May 28 03:51:42 2020]   Normal zone: 1179136 pages, LIFO batch:63
[Thu May 28 03:51:42 2020] Reserving Intel graphics memory at [mem 0xdba00000-0xdf9fffff]
[Thu May 28 03:51:42 2020] ACPI: PM-Timer IO Port: 0x408
[Thu May 28 03:51:42 2020] ACPI: Local APIC address 0xfee00000
[Thu May 28 03:51:42 2020] ACPI: LAPIC_NMI (acpi_id[0x00] high edge lint[0x1])
[Thu May 28 03:51:42 2020] ACPI: LAPIC_NMI (acpi_id[0x01] high edge lint[0x1])
[Thu May 28 03:51:42 2020] IOAPIC[0]: apic_id 14, version 32, address 0xfec00000, GSI 0-23
[Thu May 28 03:51:42 2020] ACPI: INT_SRC_OVR (bus 0 bus_irq 0 global_irq 2 dfl dfl)
[Thu May 28 03:51:42 2020] ACPI: INT_SRC_OVR (bus 0 bus_irq 9 global_irq 9 high level)
[Thu May 28 03:51:42 2020] ACPI: IRQ0 used by override.
[Thu May 28 03:51:42 2020] ACPI: IRQ9 used by override.
[Thu May 28 03:51:42 2020] Using ACPI (MADT) for SMP configuration information
[Thu May 28 03:51:42 2020] ACPI: HPET id: 0x8086a301 base: 0xfed00000
[Thu May 28 03:51:42 2020] smpboot: Allowing 8 CPUs, 4 hotplug CPUs
[Thu May 28 03:51:42 2020] PM: hibernation: Registered nosave memory: [mem 0x00000000-0x00000fff]
[Thu May 28 03:51:42 2020] PM: hibernation: Registered nosave memory: [mem 0x0009d000-0x0009dfff]
[Thu May 28 03:51:42 2020] PM: hibernation: Registered nosave memory: [mem 0x0009e000-0x0009ffff]
[Thu May 28 03:51:42 2020] PM: hibernation: Registered nosave memory: [mem 0x000a0000-0x000dffff]
[Thu May 28 03:51:42 2020] PM: hibernation: Registered nosave memory: [mem 0x000e0000-0x000fffff]
[Thu May 28 03:51:42 2020] PM: hibernation: Registered nosave memory: [mem 0x20000000-0x201fffff]
[Thu May 28 03:51:42 2020] PM: hibernation: Registered nosave memory: [mem 0x40000000-0x401fffff]
[Thu May 28 03:51:42 2020] PM: hibernation: Registered nosave memory: [mem 0xd9c9f000-0xdae7efff]
[Thu May 28 03:51:42 2020] PM: hibernation: Registered nosave memory: [mem 0xdae7f000-0xdaf9efff]
[Thu May 28 03:51:42 2020] PM: hibernation: Registered nosave memory: [mem 0xdaf9f000-0xdaffefff]
[Thu May 28 03:51:42 2020] PM: hibernation: Registered nosave memory: [mem 0xdb000000-0xdf9fffff]
[Thu May 28 03:51:42 2020] PM: hibernation: Registered nosave memory: [mem 0xdfa00000-0xf7ffffff]
[Thu May 28 03:51:42 2020] PM: hibernation: Registered nosave memory: [mem 0xf8000000-0xfbffffff]
[Thu May 28 03:51:42 2020] PM: hibernation: Registered nosave memory: [mem 0xfc000000-0xfebfffff]
[Thu May 28 03:51:42 2020] PM: hibernation: Registered nosave memory: [mem 0xfec00000-0xfec00fff]
[Thu May 28 03:51:42 2020] PM: hibernation: Registered nosave memory: [mem 0xfec01000-0xfed07fff]
[Thu May 28 03:51:42 2020] PM: hibernation: Registered nosave memory: [mem 0xfed08000-0xfed08fff]
[Thu May 28 03:51:42 2020] PM: hibernation: Registered nosave memory: [mem 0xfed09000-0xfed0ffff]
[Thu May 28 03:51:42 2020] PM: hibernation: Registered nosave memory: [mem 0xfed10000-0xfed19fff]
[Thu May 28 03:51:42 2020] PM: hibernation: Registered nosave memory: [mem 0xfed1a000-0xfed1bfff]
[Thu May 28 03:51:42 2020] PM: hibernation: Registered nosave memory: [mem 0xfed1c000-0xfed1ffff]
[Thu May 28 03:51:42 2020] PM: hibernation: Registered nosave memory: [mem 0xfed20000-0xfedfffff]
[Thu May 28 03:51:42 2020] PM: hibernation: Registered nosave memory: [mem 0xfee00000-0xfee00fff]
[Thu May 28 03:51:42 2020] PM: hibernation: Registered nosave memory: [mem 0xfee01000-0xffd7ffff]
[Thu May 28 03:51:42 2020] PM: hibernation: Registered nosave memory: [mem 0xffd80000-0xffffffff]
[Thu May 28 03:51:42 2020] [mem 0xdfa00000-0xf7ffffff] available for PCI devices
[Thu May 28 03:51:42 2020] Booting paravirtualized kernel on bare hardware
[Thu May 28 03:51:42 2020] clocksource: refined-jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645519600211568 ns
[Thu May 28 03:51:42 2020] setup_percpu: NR_CPUS:512 nr_cpumask_bits:512 nr_cpu_ids:8 nr_node_ids:1
[Thu May 28 03:51:42 2020] percpu: Embedded 55 pages/cpu s187224 r8192 d29864 u262144
[Thu May 28 03:51:42 2020] pcpu-alloc: s187224 r8192 d29864 u262144 alloc=1*2097152
[Thu May 28 03:51:42 2020] pcpu-alloc: [0] 0 1 2 3 4 5 6 7 
[Thu May 28 03:51:42 2020] Built 1 zonelists, mobility grouping on.  Total pages: 2037573
[Thu May 28 03:51:42 2020] Policy zone: Normal
[Thu May 28 03:51:42 2020] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-5.7.0-rc7-3-amd64-clang root=UUID=5f730cbc-abda-410c-9ea9-f0bdeda41926 ro
[Thu May 28 03:51:42 2020] Dentry cache hash table entries: 1048576 (order: 11, 8388608 bytes, linear)
[Thu May 28 03:51:42 2020] Inode-cache hash table entries: 524288 (order: 10, 4194304 bytes, linear)
[Thu May 28 03:51:42 2020] mem auto-init: stack:off, heap alloc:off, heap free:off
[Thu May 28 03:51:42 2020] Memory: 3597880K/8280304K available (16387K kernel code, 1198K rwdata, 5628K rodata, 1824K init, 932K bss, 275376K reserved, 0K cma-reserved)
[Thu May 28 03:51:42 2020] random: get_random_u64 called from __kmem_cache_create+0xd9/0x890 with crng_init=0
[Thu May 28 03:51:42 2020] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=8, Nodes=1
[Thu May 28 03:51:42 2020] Kernel/User page tables isolation: enabled
[Thu May 28 03:51:42 2020] ftrace: allocating 32539 entries in 128 pages
[Thu May 28 03:51:42 2020] ftrace: allocated 128 pages with 1 groups
[Thu May 28 03:51:42 2020] rcu: Hierarchical RCU implementation.
[Thu May 28 03:51:42 2020] rcu: 	RCU restricting CPUs from NR_CPUS=512 to nr_cpu_ids=8.
[Thu May 28 03:51:42 2020] rcu: RCU calculated value of scheduler-enlistment delay is 25 jiffies.
[Thu May 28 03:51:42 2020] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=8
[Thu May 28 03:51:42 2020] NR_IRQS: 33024, nr_irqs: 488, preallocated irqs: 16
[Thu May 28 03:51:42 2020] Console: colour VGA+ 80x25
[Thu May 28 03:51:42 2020] printk: console [tty0] enabled
[Thu May 28 03:51:42 2020] ACPI: Core revision 20200326
[Thu May 28 03:51:42 2020] clocksource: hpet: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 133484882848 ns
[Thu May 28 03:51:42 2020] APIC: Switch to symmetric I/O mode setup
[Thu May 28 03:51:42 2020] x2apic: IRQ remapping doesn't support X2APIC mode
[Thu May 28 03:51:42 2020] ..TIMER: vector=0x30 apic1=0 pin1=2 apic2=-1 pin2=-1
[Thu May 28 03:51:42 2020] clocksource: tsc-early: mask: 0xffffffffffffffff max_cycles: 0x17023aa528b, max_idle_ns: 440795246276 ns
[Thu May 28 03:51:42 2020] Calibrating delay loop (skipped), value calculated using timer frequency.. 3192.45 BogoMIPS (lpj=6384916)
[Thu May 28 03:51:42 2020] pid_max: default: 32768 minimum: 301
[Thu May 28 03:51:42 2020] LSM: Security Framework initializing
[Thu May 28 03:51:42 2020] Yama: becoming mindful.
[Thu May 28 03:51:42 2020] AppArmor: AppArmor initialized
[Thu May 28 03:51:42 2020] TOMOYO Linux initialized
[Thu May 28 03:51:42 2020] Mount-cache hash table entries: 16384 (order: 5, 131072 bytes, linear)
[Thu May 28 03:51:42 2020] Mountpoint-cache hash table entries: 16384 (order: 5, 131072 bytes, linear)
[Thu May 28 03:51:42 2020] Disabled fast string operations
[Thu May 28 03:51:42 2020] mce: CPU0: Thermal monitoring enabled (TM1)
[Thu May 28 03:51:42 2020] process: using mwait in idle threads
[Thu May 28 03:51:42 2020] Last level iTLB entries: 4KB 512, 2MB 8, 4MB 8
[Thu May 28 03:51:42 2020] Last level dTLB entries: 4KB 512, 2MB 32, 4MB 32, 1GB 0
[Thu May 28 03:51:42 2020] Spectre V1 : Mitigation: usercopy/swapgs barriers and __user pointer sanitization
[Thu May 28 03:51:42 2020] Spectre V2 : Mitigation: Full generic retpoline
[Thu May 28 03:51:42 2020] Spectre V2 : Spectre v2 / SpectreRSB mitigation: Filling RSB on context switch
[Thu May 28 03:51:42 2020] Spectre V2 : Enabling Restricted Speculation for firmware calls
[Thu May 28 03:51:42 2020] Spectre V2 : mitigation: Enabling conditional Indirect Branch Prediction Barrier
[Thu May 28 03:51:42 2020] Spectre V2 : User space: Mitigation: STIBP via seccomp and prctl
[Thu May 28 03:51:42 2020] Speculative Store Bypass: Mitigation: Speculative Store Bypass disabled via prctl and seccomp
[Thu May 28 03:51:42 2020] MDS: Mitigation: Clear CPU buffers
[Thu May 28 03:51:42 2020] Freeing SMP alternatives memory: 36K
[Thu May 28 03:51:42 2020] smpboot: CPU0: Intel(R) Core(TM) i5-2467M CPU @ 1.60GHz (family: 0x6, model: 0x2a, stepping: 0x7)
[Thu May 28 03:51:42 2020] Performance Events: PEBS fmt1+, SandyBridge events, 16-deep LBR, full-width counters, Intel PMU driver.
[Thu May 28 03:51:42 2020] ... version:                3
[Thu May 28 03:51:42 2020] ... bit width:              48
[Thu May 28 03:51:42 2020] ... generic registers:      4
[Thu May 28 03:51:42 2020] ... value mask:             0000ffffffffffff
[Thu May 28 03:51:42 2020] ... max period:             00007fffffffffff
[Thu May 28 03:51:42 2020] ... fixed-purpose events:   3
[Thu May 28 03:51:42 2020] ... event mask:             000000070000000f
[Thu May 28 03:51:42 2020] rcu: Hierarchical SRCU implementation.
[Thu May 28 03:51:42 2020] NMI watchdog: Enabled. Permanently consumes one hw-PMU counter.
[Thu May 28 03:51:42 2020] smp: Bringing up secondary CPUs ...
[Thu May 28 03:51:42 2020] x86: Booting SMP configuration:
[Thu May 28 03:51:42 2020] .... node  #0, CPUs:      #1
[Thu May 28 03:51:42 2020] Disabled fast string operations
[Thu May 28 03:51:42 2020] MDS CPU bug present and SMT on, data leak possible. See https://www.kernel.org/doc/html/latest/admin-guide/hw-vuln/mds.html for more details.
[Thu May 28 03:51:42 2020]  #2
[Thu May 28 03:51:42 2020] Disabled fast string operations
[Thu May 28 03:51:42 2020]  #3
[Thu May 28 03:51:42 2020] Disabled fast string operations
[Thu May 28 03:51:42 2020] smp: Brought up 1 node, 4 CPUs
[Thu May 28 03:51:42 2020] smpboot: Max logical packages: 2
[Thu May 28 03:51:42 2020] smpboot: Total of 4 processors activated (12769.83 BogoMIPS)
[Thu May 28 03:51:42 2020] node 0 initialised, 1101762 pages in 20ms
[Thu May 28 03:51:42 2020] devtmpfs: initialized
[Thu May 28 03:51:42 2020] x86/mm: Memory block size: 128MB
[Thu May 28 03:51:42 2020] PM: Registering ACPI NVS region [mem 0xdae7f000-0xdaf9efff] (1179648 bytes)
[Thu May 28 03:51:42 2020] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[Thu May 28 03:51:42 2020] futex hash table entries: 2048 (order: 5, 131072 bytes, linear)
[Thu May 28 03:51:42 2020] pinctrl core: initialized pinctrl subsystem
[Thu May 28 03:51:42 2020] thermal_sys: Registered thermal governor 'fair_share'
[Thu May 28 03:51:42 2020] thermal_sys: Registered thermal governor 'bang_bang'
[Thu May 28 03:51:42 2020] thermal_sys: Registered thermal governor 'step_wise'
[Thu May 28 03:51:42 2020] thermal_sys: Registered thermal governor 'user_space'
[Thu May 28 03:51:42 2020] NET: Registered protocol family 16
[Thu May 28 03:51:42 2020] audit: initializing netlink subsys (disabled)
[Thu May 28 03:51:42 2020] audit: type=2000 audit(1590630702.136:1): state=initialized audit_enabled=0 res=1
[Thu May 28 03:51:42 2020] KCSAN selftest: 3/3 tests passed
[Thu May 28 03:51:42 2020] cpuidle: using governor ladder
[Thu May 28 03:51:42 2020] cpuidle: using governor menu
[Thu May 28 03:51:42 2020] ACPI: bus type PCI registered
[Thu May 28 03:51:42 2020] acpiphp: ACPI Hot Plug PCI Controller Driver version: 0.5
[Thu May 28 03:51:42 2020] PCI: MMCONFIG for domain 0000 [bus 00-3f] at [mem 0xf8000000-0xfbffffff] (base 0xf8000000)
[Thu May 28 03:51:42 2020] PCI: MMCONFIG at [mem 0xf8000000-0xfbffffff] reserved in E820
[Thu May 28 03:51:42 2020] PCI: Using configuration type 1 for base access
[Thu May 28 03:51:42 2020] core: PMU erratum BJ122, BV98, HSD29 worked around, HT is on
[Thu May 28 03:51:42 2020] ENERGY_PERF_BIAS: Set to 'normal', was 'performance'
[Thu May 28 03:51:42 2020] mtrr: your CPUs had inconsistent variable MTRR settings
[Thu May 28 03:51:42 2020] mtrr: probably your BIOS does not setup all CPUs.
[Thu May 28 03:51:42 2020] mtrr: corrected configuration.
[Thu May 28 03:51:42 2020] HugeTLB registered 2.00 MiB page size, pre-allocated 0 pages
[Thu May 28 03:51:44 2020] ACPI: Added _OSI(Module Device)
[Thu May 28 03:51:44 2020] ACPI: Added _OSI(Processor Device)
[Thu May 28 03:51:44 2020] ACPI: Added _OSI(3.0 _SCP Extensions)
[Thu May 28 03:51:44 2020] ACPI: Added _OSI(Processor Aggregator Device)
[Thu May 28 03:51:44 2020] ACPI: Added _OSI(Linux-Dell-Video)
[Thu May 28 03:51:44 2020] ACPI: Added _OSI(Linux-Lenovo-NV-HDMI-Audio)
[Thu May 28 03:51:44 2020] ACPI: Added _OSI(Linux-HPI-Hybrid-Graphics)
[Thu May 28 03:51:44 2020] ACPI: 4 ACPI AML tables successfully acquired and loaded
[Thu May 28 03:51:44 2020] ACPI: [Firmware Bug]: BIOS _OSI(Linux) query ignored
[Thu May 28 03:51:44 2020] ACPI: Dynamic OEM Table Load:
[Thu May 28 03:51:44 2020] ACPI: SSDT 0xFFFF99A307FA6800 000688 (v01 PmRef  Cpu0Cst  00003001 INTL 20061109)
[Thu May 28 03:51:44 2020] ACPI: Dynamic OEM Table Load:
[Thu May 28 03:51:44 2020] ACPI: SSDT 0xFFFF99A307FC3800 000303 (v01 PmRef  ApIst    00003000 INTL 20061109)
[Thu May 28 03:51:44 2020] ACPI: Dynamic OEM Table Load:
[Thu May 28 03:51:44 2020] ACPI: SSDT 0xFFFF99A3074BF600 000119 (v01 PmRef  ApCst    00003000 INTL 20061109)
[Thu May 28 03:51:44 2020] ACPI: EC: EC started
[Thu May 28 03:51:44 2020] ACPI: EC: interrupt blocked
[Thu May 28 03:51:44 2020] ACPI: EC: EC_CMD/EC_SC=0x66, EC_DATA=0x62
[Thu May 28 03:51:44 2020] ACPI: \_SB_.PCI0.LPCB.H_EC: Boot DSDT EC used to handle transactions
[Thu May 28 03:51:44 2020] ACPI: Interpreter enabled
[Thu May 28 03:51:44 2020] ACPI: (supports S0 S1 S3 S4 S5)
[Thu May 28 03:51:44 2020] ACPI: Using IOAPIC for interrupt routing
[Thu May 28 03:51:44 2020] PCI: Using host bridge windows from ACPI; if necessary, use "pci=nocrs" and report a bug
[Thu May 28 03:51:44 2020] ACPI: Enabled 8 GPEs in block 00 to 3F
[Thu May 28 03:51:44 2020] ACPI: Power Resource [FN00] (off)
[Thu May 28 03:51:44 2020] ACPI: Power Resource [FN01] (off)
[Thu May 28 03:51:44 2020] ACPI: Power Resource [FN02] (off)
[Thu May 28 03:51:44 2020] ACPI: Power Resource [FN03] (off)
[Thu May 28 03:51:44 2020] ACPI: Power Resource [FN04] (off)
[Thu May 28 03:51:44 2020] ACPI: PCI Root Bridge [PCI0] (domain 0000 [bus 00-3e])
[Thu May 28 03:51:44 2020] acpi PNP0A08:00: _OSC: OS supports [ExtendedConfig ASPM ClockPM Segments MSI HPX-Type3]
[Thu May 28 03:51:44 2020] acpi PNP0A08:00: _OSC failed (AE_ERROR); disabling ASPM
[Thu May 28 03:51:44 2020] PCI host bridge to bus 0000:00
[Thu May 28 03:51:44 2020] pci_bus 0000:00: root bus resource [io  0x0000-0x0cf7 window]
[Thu May 28 03:51:44 2020] pci_bus 0000:00: root bus resource [io  0x0d00-0xffff window]
[Thu May 28 03:51:44 2020] pci_bus 0000:00: root bus resource [mem 0x000a0000-0x000bffff window]
[Thu May 28 03:51:44 2020] pci_bus 0000:00: root bus resource [mem 0xdfa00000-0xfeafffff window]
[Thu May 28 03:51:44 2020] pci_bus 0000:00: root bus resource [mem 0xfed40000-0xfed44fff window]
[Thu May 28 03:51:44 2020] pci_bus 0000:00: root bus resource [bus 00-3e]
[Thu May 28 03:51:44 2020] pci 0000:00:00.0: [8086:0104] type 00 class 0x060000
[Thu May 28 03:51:44 2020] pci 0000:00:02.0: [8086:0116] type 00 class 0x030000
[Thu May 28 03:51:44 2020] pci 0000:00:02.0: reg 0x10: [mem 0xf0000000-0xf03fffff 64bit]
[Thu May 28 03:51:44 2020] pci 0000:00:02.0: reg 0x18: [mem 0xe0000000-0xefffffff 64bit pref]
[Thu May 28 03:51:44 2020] pci 0000:00:02.0: reg 0x20: [io  0x3000-0x303f]
[Thu May 28 03:51:44 2020] pci 0000:00:16.0: [8086:1c3a] type 00 class 0x078000
[Thu May 28 03:51:44 2020] pci 0000:00:16.0: reg 0x10: [mem 0xf0705000-0xf070500f 64bit]
[Thu May 28 03:51:44 2020] pci 0000:00:16.0: PME# supported from D0 D3hot D3cold
[Thu May 28 03:51:44 2020] pci 0000:00:1a.0: [8086:1c2d] type 00 class 0x0c0320
[Thu May 28 03:51:44 2020] pci 0000:00:1a.0: reg 0x10: [mem 0xf070a000-0xf070a3ff]
[Thu May 28 03:51:44 2020] pci 0000:00:1a.0: PME# supported from D0 D3hot D3cold
[Thu May 28 03:51:44 2020] pci 0000:00:1b.0: [8086:1c20] type 00 class 0x040300
[Thu May 28 03:51:44 2020] pci 0000:00:1b.0: reg 0x10: [mem 0xf0700000-0xf0703fff 64bit]
[Thu May 28 03:51:44 2020] pci 0000:00:1b.0: PME# supported from D0 D3hot D3cold
[Thu May 28 03:51:44 2020] pci 0000:00:1c.0: [8086:1c10] type 01 class 0x060400
[Thu May 28 03:51:44 2020] pci 0000:00:1c.0: PME# supported from D0 D3hot D3cold
[Thu May 28 03:51:44 2020] pci 0000:00:1c.3: [8086:1c16] type 01 class 0x060400
[Thu May 28 03:51:44 2020] pci 0000:00:1c.3: PME# supported from D0 D3hot D3cold
[Thu May 28 03:51:44 2020] pci 0000:00:1c.4: [8086:1c18] type 01 class 0x060400
[Thu May 28 03:51:44 2020] pci 0000:00:1c.4: PME# supported from D0 D3hot D3cold
[Thu May 28 03:51:44 2020] pci 0000:00:1d.0: [8086:1c26] type 00 class 0x0c0320
[Thu May 28 03:51:44 2020] pci 0000:00:1d.0: reg 0x10: [mem 0xf0709000-0xf07093ff]
[Thu May 28 03:51:44 2020] pci 0000:00:1d.0: PME# supported from D0 D3hot D3cold
[Thu May 28 03:51:44 2020] pci 0000:00:1f.0: [8086:1c49] type 00 class 0x060100
[Thu May 28 03:51:44 2020] pci 0000:00:1f.2: [8086:1c03] type 00 class 0x010601
[Thu May 28 03:51:44 2020] pci 0000:00:1f.2: reg 0x10: [io  0x3088-0x308f]
[Thu May 28 03:51:44 2020] pci 0000:00:1f.2: reg 0x14: [io  0x3094-0x3097]
[Thu May 28 03:51:44 2020] pci 0000:00:1f.2: reg 0x18: [io  0x3080-0x3087]
[Thu May 28 03:51:44 2020] pci 0000:00:1f.2: reg 0x1c: [io  0x3090-0x3093]
[Thu May 28 03:51:44 2020] pci 0000:00:1f.2: reg 0x20: [io  0x3060-0x307f]
[Thu May 28 03:51:44 2020] pci 0000:00:1f.2: reg 0x24: [mem 0xf0708000-0xf07087ff]
[Thu May 28 03:51:44 2020] pci 0000:00:1f.2: PME# supported from D3hot
[Thu May 28 03:51:44 2020] pci 0000:00:1f.3: [8086:1c22] type 00 class 0x0c0500
[Thu May 28 03:51:44 2020] pci 0000:00:1f.3: reg 0x10: [mem 0xf0704000-0xf07040ff 64bit]
[Thu May 28 03:51:44 2020] pci 0000:00:1f.3: reg 0x20: [io  0xefa0-0xefbf]
[Thu May 28 03:51:44 2020] pci 0000:01:00.0: [8086:0091] type 00 class 0x028000
[Thu May 28 03:51:44 2020] pci 0000:01:00.0: reg 0x10: [mem 0xf0600000-0xf0601fff 64bit]
[Thu May 28 03:51:44 2020] pci 0000:01:00.0: PME# supported from D0 D3hot D3cold
[Thu May 28 03:51:44 2020] pci 0000:00:1c.0: PCI bridge to [bus 01]
[Thu May 28 03:51:44 2020] pci 0000:00:1c.0:   bridge window [mem 0xf0600000-0xf06fffff]
[Thu May 28 03:51:44 2020] pci 0000:02:00.0: [10ec:8168] type 00 class 0x020000
[Thu May 28 03:51:44 2020] pci 0000:02:00.0: reg 0x10: [io  0x2000-0x20ff]
[Thu May 28 03:51:44 2020] pci 0000:02:00.0: reg 0x18: [mem 0xf0404000-0xf0404fff 64bit pref]
[Thu May 28 03:51:44 2020] pci 0000:02:00.0: reg 0x20: [mem 0xf0400000-0xf0403fff 64bit pref]
[Thu May 28 03:51:44 2020] pci 0000:02:00.0: supports D1 D2
[Thu May 28 03:51:44 2020] pci 0000:02:00.0: PME# supported from D0 D1 D2 D3hot D3cold
[Thu May 28 03:51:44 2020] pci 0000:00:1c.3: PCI bridge to [bus 02]
[Thu May 28 03:51:44 2020] pci 0000:00:1c.3:   bridge window [io  0x2000-0x2fff]
[Thu May 28 03:51:44 2020] pci 0000:00:1c.3:   bridge window [mem 0xf0400000-0xf04fffff 64bit pref]
[Thu May 28 03:51:44 2020] pci 0000:03:00.0: [1b21:1042] type 00 class 0x0c0330
[Thu May 28 03:51:44 2020] pci 0000:03:00.0: reg 0x10: [mem 0xf0500000-0xf0507fff 64bit]
[Thu May 28 03:51:44 2020] pci 0000:03:00.0: PME# supported from D3cold
[Thu May 28 03:51:44 2020] pci 0000:00:1c.4: PCI bridge to [bus 03]
[Thu May 28 03:51:44 2020] pci 0000:00:1c.4:   bridge window [mem 0xf0500000-0xf05fffff]
[Thu May 28 03:51:44 2020] ACPI: PCI Interrupt Link [LNKA] (IRQs 1 3 4 5 6 10 *11 12 14 15)
[Thu May 28 03:51:44 2020] ACPI: PCI Interrupt Link [LNKB] (IRQs 1 3 4 5 6 10 11 12 14 15) *0, disabled.
[Thu May 28 03:51:44 2020] ACPI: PCI Interrupt Link [LNKC] (IRQs 1 3 4 5 6 *10 11 12 14 15)
[Thu May 28 03:51:44 2020] ACPI: PCI Interrupt Link [LNKD] (IRQs 1 3 4 5 6 *10 11 12 14 15)
[Thu May 28 03:51:44 2020] ACPI: PCI Interrupt Link [LNKE] (IRQs 1 3 4 5 6 10 11 12 14 15) *9
[Thu May 28 03:51:44 2020] ACPI: PCI Interrupt Link [LNKF] (IRQs 1 3 4 5 6 10 11 12 14 15) *0, disabled.
[Thu May 28 03:51:44 2020] ACPI: PCI Interrupt Link [LNKG] (IRQs 1 3 4 5 6 10 *11 12 14 15)
[Thu May 28 03:51:44 2020] ACPI: PCI Interrupt Link [LNKH] (IRQs 1 3 4 5 6 10 11 12 14 15) *9
[Thu May 28 03:51:44 2020] ACPI: EC: interrupt unblocked
[Thu May 28 03:51:44 2020] ACPI: EC: event unblocked
[Thu May 28 03:51:44 2020] ACPI: EC: 0 stale EC events cleared
[Thu May 28 03:51:44 2020] ACPI: EC: EC_CMD/EC_SC=0x66, EC_DATA=0x62
[Thu May 28 03:51:44 2020] ACPI: EC: GPE=0x17
[Thu May 28 03:51:44 2020] ACPI: \_SB_.PCI0.LPCB.H_EC: Boot DSDT EC initialization complete
[Thu May 28 03:51:44 2020] ACPI: \_SB_.PCI0.LPCB.H_EC: EC: Used to handle transactions and events
[Thu May 28 03:51:44 2020] iommu: Default domain type: Translated 
[Thu May 28 03:51:44 2020] pci 0000:00:02.0: vgaarb: setting as boot VGA device
[Thu May 28 03:51:44 2020] pci 0000:00:02.0: vgaarb: VGA device added: decodes=io+mem,owns=io+mem,locks=none
[Thu May 28 03:51:44 2020] pci 0000:00:02.0: vgaarb: bridge control possible
[Thu May 28 03:51:44 2020] vgaarb: loaded
[Thu May 28 03:51:44 2020] EDAC MC: Ver: 3.0.0
[Thu May 28 03:51:44 2020] PCI: Using ACPI for IRQ routing
[Thu May 28 03:51:44 2020] PCI: pci_cache_line_size set to 64 bytes
[Thu May 28 03:51:44 2020] e820: reserve RAM buffer [mem 0x0009d800-0x0009ffff]
[Thu May 28 03:51:44 2020] e820: reserve RAM buffer [mem 0xd9c9f000-0xdbffffff]
[Thu May 28 03:51:44 2020] e820: reserve RAM buffer [mem 0xdb000000-0xdbffffff]
[Thu May 28 03:51:44 2020] e820: reserve RAM buffer [mem 0x21fe00000-0x21fffffff]
[Thu May 28 03:51:44 2020] NetLabel: Initializing
[Thu May 28 03:51:44 2020] NetLabel:  domain hash size = 128
[Thu May 28 03:51:44 2020] NetLabel:  protocols = UNLABELED CIPSOv4 CALIPSO
[Thu May 28 03:51:44 2020] NetLabel:  unlabeled traffic allowed by default
[Thu May 28 03:51:44 2020] hpet0: at MMIO 0xfed00000, IRQs 2, 8, 0, 0, 0, 0, 0, 0
[Thu May 28 03:51:44 2020] hpet0: 8 comparators, 64-bit 14.318180 MHz counter
[Thu May 28 03:51:44 2020] clocksource: Switched to clocksource tsc-early
[Thu May 28 03:51:44 2020] VFS: Disk quotas dquot_6.6.0
[Thu May 28 03:51:44 2020] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
[Thu May 28 03:51:44 2020] AppArmor: AppArmor Filesystem Enabled
[Thu May 28 03:51:44 2020] pnp: PnP ACPI init
[Thu May 28 03:51:44 2020] system 00:00: [io  0x0680-0x069f] has been reserved
[Thu May 28 03:51:44 2020] system 00:00: [io  0x1000-0x100f] has been reserved
[Thu May 28 03:51:44 2020] system 00:00: [io  0x5000-0x5003] has been reserved
[Thu May 28 03:51:44 2020] system 00:00: [io  0xffff] has been reserved
[Thu May 28 03:51:44 2020] system 00:00: [io  0x0400-0x0453] has been reserved
[Thu May 28 03:51:44 2020] system 00:00: [io  0x0458-0x047f] has been reserved
[Thu May 28 03:51:44 2020] system 00:00: [io  0x0500-0x057f] has been reserved
[Thu May 28 03:51:44 2020] system 00:00: [io  0x0a00-0x0a0f] has been reserved
[Thu May 28 03:51:44 2020] system 00:00: [io  0x164e-0x164f] has been reserved
[Thu May 28 03:51:44 2020] system 00:00: [io  0x5000-0x500f] could not be reserved
[Thu May 28 03:51:44 2020] system 00:00: Plug and Play ACPI device, IDs PNP0c02 (active)
[Thu May 28 03:51:44 2020] pnp 00:01: Plug and Play ACPI device, IDs PNP0b00 (active)
[Thu May 28 03:51:44 2020] system 00:02: [io  0x0454-0x0457] has been reserved
[Thu May 28 03:51:44 2020] system 00:02: Plug and Play ACPI device, IDs INT3f0d PNP0c02 (active)
[Thu May 28 03:51:44 2020] pnp 00:03: Plug and Play ACPI device, IDs PNP0303 (active)
[Thu May 28 03:51:44 2020] pnp 00:04: Plug and Play ACPI device, IDs ETD0b00 SYN0002 PNP0f13 (active)
[Thu May 28 03:51:44 2020] system 00:05: [mem 0xfed1c000-0xfed1ffff] has been reserved
[Thu May 28 03:51:44 2020] system 00:05: [mem 0xfed10000-0xfed17fff] has been reserved
[Thu May 28 03:51:44 2020] system 00:05: [mem 0xfed18000-0xfed18fff] has been reserved
[Thu May 28 03:51:44 2020] system 00:05: [mem 0xfed19000-0xfed19fff] has been reserved
[Thu May 28 03:51:44 2020] system 00:05: [mem 0xf8000000-0xfbffffff] has been reserved
[Thu May 28 03:51:44 2020] system 00:05: [mem 0xfed20000-0xfed3ffff] has been reserved
[Thu May 28 03:51:44 2020] system 00:05: [mem 0xfed90000-0xfed93fff] has been reserved
[Thu May 28 03:51:44 2020] system 00:05: [mem 0xfed45000-0xfed8ffff] has been reserved
[Thu May 28 03:51:44 2020] system 00:05: [mem 0xff000000-0xffffffff] could not be reserved
[Thu May 28 03:51:44 2020] system 00:05: [mem 0xfee00000-0xfeefffff] could not be reserved
[Thu May 28 03:51:44 2020] system 00:05: Plug and Play ACPI device, IDs PNP0c02 (active)
[Thu May 28 03:51:44 2020] system 00:06: Plug and Play ACPI device, IDs PNP0c01 (active)
[Thu May 28 03:51:44 2020] pnp: PnP ACPI: found 7 devices
[Thu May 28 03:51:44 2020] clocksource: acpi_pm: mask: 0xffffff max_cycles: 0xffffff, max_idle_ns: 2085701024 ns
[Thu May 28 03:51:44 2020] pci 0000:00:1c.0: PCI bridge to [bus 01]
[Thu May 28 03:51:44 2020] pci 0000:00:1c.0:   bridge window [mem 0xf0600000-0xf06fffff]
[Thu May 28 03:51:44 2020] pci 0000:00:1c.3: PCI bridge to [bus 02]
[Thu May 28 03:51:44 2020] pci 0000:00:1c.3:   bridge window [io  0x2000-0x2fff]
[Thu May 28 03:51:44 2020] pci 0000:00:1c.3:   bridge window [mem 0xf0400000-0xf04fffff 64bit pref]
[Thu May 28 03:51:44 2020] pci 0000:00:1c.4: PCI bridge to [bus 03]
[Thu May 28 03:51:44 2020] pci 0000:00:1c.4:   bridge window [mem 0xf0500000-0xf05fffff]
[Thu May 28 03:51:44 2020] pci_bus 0000:00: resource 4 [io  0x0000-0x0cf7 window]
[Thu May 28 03:51:44 2020] pci_bus 0000:00: resource 5 [io  0x0d00-0xffff window]
[Thu May 28 03:51:44 2020] pci_bus 0000:00: resource 6 [mem 0x000a0000-0x000bffff window]
[Thu May 28 03:51:44 2020] pci_bus 0000:00: resource 7 [mem 0xdfa00000-0xfeafffff window]
[Thu May 28 03:51:44 2020] pci_bus 0000:00: resource 8 [mem 0xfed40000-0xfed44fff window]
[Thu May 28 03:51:44 2020] pci_bus 0000:01: resource 1 [mem 0xf0600000-0xf06fffff]
[Thu May 28 03:51:44 2020] pci_bus 0000:02: resource 0 [io  0x2000-0x2fff]
[Thu May 28 03:51:44 2020] pci_bus 0000:02: resource 2 [mem 0xf0400000-0xf04fffff 64bit pref]
[Thu May 28 03:51:44 2020] pci_bus 0000:03: resource 1 [mem 0xf0500000-0xf05fffff]
[Thu May 28 03:51:44 2020] NET: Registered protocol family 2
[Thu May 28 03:51:44 2020] tcp_listen_portaddr_hash hash table entries: 4096 (order: 4, 65536 bytes, linear)
[Thu May 28 03:51:44 2020] TCP established hash table entries: 65536 (order: 7, 524288 bytes, linear)
[Thu May 28 03:51:44 2020] TCP bind hash table entries: 65536 (order: 8, 1048576 bytes, linear)
[Thu May 28 03:51:44 2020] TCP: Hash tables configured (established 65536 bind 65536)
[Thu May 28 03:51:44 2020] UDP hash table entries: 4096 (order: 5, 131072 bytes, linear)
[Thu May 28 03:51:44 2020] UDP-Lite hash table entries: 4096 (order: 5, 131072 bytes, linear)
[Thu May 28 03:51:44 2020] NET: Registered protocol family 1
[Thu May 28 03:51:44 2020] NET: Registered protocol family 44
[Thu May 28 03:51:44 2020] pci 0000:00:02.0: Video device with shadowed ROM at [mem 0x000c0000-0x000dffff]
[Thu May 28 03:51:44 2020] PCI: CLS 64 bytes, default 64
[Thu May 28 03:51:44 2020] Trying to unpack rootfs image as initramfs...
[Thu May 28 03:51:52 2020] Freeing initrd memory: 30792K
[Thu May 28 03:51:52 2020] PCI-DMA: Using software bounce buffering for IO (SWIOTLB)
[Thu May 28 03:51:52 2020] software IO TLB: mapped [mem 0xd5c9f000-0xd9c9f000] (64MB)
[Thu May 28 03:51:52 2020] Initialise system trusted keyrings
[Thu May 28 03:51:52 2020] Key type blacklist registered
[Thu May 28 03:51:52 2020] workingset: timestamp_bits=40 max_order=21 bucket_order=0
[Thu May 28 03:51:52 2020] zbud: loaded
[Thu May 28 03:51:52 2020] integrity: Platform Keyring initialized
[Thu May 28 03:51:52 2020] Key type asymmetric registered
[Thu May 28 03:51:52 2020] Asymmetric key parser 'x509' registered
[Thu May 28 03:51:52 2020] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 251)
[Thu May 28 03:51:52 2020] io scheduler mq-deadline registered
[Thu May 28 03:51:52 2020] shpchp: Standard Hot Plug PCI Controller Driver version: 0.4
[Thu May 28 03:51:52 2020] intel_idle: MWAIT substates: 0x21120
[Thu May 28 03:51:52 2020] intel_idle: v0.5.1 model 0x2A
[Thu May 28 03:51:52 2020] intel_idle: Local APIC timer is reliable in all C-states
[Thu May 28 03:51:52 2020] thermal LNXTHERM:00: registered as thermal_zone0
[Thu May 28 03:51:52 2020] ACPI: Thermal Zone [TZ00] (64 C)
[Thu May 28 03:51:52 2020] thermal LNXTHERM:01: registered as thermal_zone1
[Thu May 28 03:51:52 2020] ACPI: Thermal Zone [TZ01] (30 C)
[Thu May 28 03:51:52 2020] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
[Thu May 28 03:51:52 2020] Linux agpgart interface v0.103
[Thu May 28 03:51:52 2020] AMD-Vi: AMD IOMMUv2 driver by Joerg Roedel <jroedel@suse.de>
[Thu May 28 03:51:52 2020] AMD-Vi: AMD IOMMUv2 functionality not available on this system
[Thu May 28 03:51:52 2020] i8042: PNP: PS/2 Controller [PNP0303:PS2K,PNP0f13:EPAD] at 0x60,0x64 irq 1,12
[Thu May 28 03:51:52 2020] serio: i8042 KBD port at 0x60,0x64 irq 1
[Thu May 28 03:51:52 2020] serio: i8042 AUX port at 0x60,0x64 irq 12
[Thu May 28 03:51:52 2020] mousedev: PS/2 mouse device common for all mice
[Thu May 28 03:51:52 2020] rtc_cmos 00:01: registered as rtc0
[Thu May 28 03:51:52 2020] rtc_cmos 00:01: setting system clock to 2020-05-28T01:51:52 UTC (1590630712)
[Thu May 28 03:51:52 2020] rtc_cmos 00:01: alarms up to one month, y3k, 242 bytes nvram, hpet irqs
[Thu May 28 03:51:52 2020] intel_pstate: Intel P-state driver initializing
[Thu May 28 03:51:52 2020] ledtrig-cpu: registered to indicate activity on CPUs
[Thu May 28 03:51:52 2020] input: AT Translated Set 2 keyboard as /devices/platform/i8042/serio0/input/input0
[Thu May 28 03:51:52 2020] NET: Registered protocol family 10
[Thu May 28 03:51:52 2020] Segment Routing with IPv6
[Thu May 28 03:51:52 2020] mip6: Mobile IPv6
[Thu May 28 03:51:52 2020] NET: Registered protocol family 17
[Thu May 28 03:51:52 2020] mpls_gso: MPLS GSO support
[Thu May 28 03:51:52 2020] microcode: sig=0x206a7, pf=0x10, revision=0x2f
[Thu May 28 03:51:52 2020] microcode: Microcode Update Driver: v2.2.
[Thu May 28 03:51:52 2020] IPI shorthand broadcast: enabled
[Thu May 28 03:51:52 2020] sched_clock: Marking stable (10559413515, 13817528)->(10597152522, -23921479)
[Thu May 28 03:51:52 2020] registered taskstats version 1
[Thu May 28 03:51:52 2020] Loading compiled-in X.509 certificates
[Thu May 28 03:51:52 2020] zswap: loaded using pool zstd/zbud
[Thu May 28 03:51:52 2020] Key type ._fscrypt registered
[Thu May 28 03:51:52 2020] Key type .fscrypt registered
[Thu May 28 03:51:52 2020] Key type fscrypt-provisioning registered
[Thu May 28 03:51:52 2020] AppArmor: AppArmor sha1 policy hashing enabled
[Thu May 28 03:51:52 2020] Freeing unused kernel image (initmem) memory: 1824K
[Thu May 28 03:51:52 2020] Write protecting the kernel read-only data: 24576k
[Thu May 28 03:51:52 2020] Freeing unused kernel image (text/rodata gap) memory: 2044K
[Thu May 28 03:51:52 2020] Freeing unused kernel image (rodata/data gap) memory: 516K
[Thu May 28 03:51:52 2020] x86/mm: Checked W+X mappings: passed, no W+X pages found.
[Thu May 28 03:51:52 2020] x86/mm: Checking user space page tables
[Thu May 28 03:51:52 2020] x86/mm: Checked W+X mappings: passed, no W+X pages found.
[Thu May 28 03:51:52 2020] Run /init as init process
[Thu May 28 03:51:52 2020]   with arguments:
[Thu May 28 03:51:52 2020]     /init
[Thu May 28 03:51:52 2020]   with environment:
[Thu May 28 03:51:52 2020]     HOME=/
[Thu May 28 03:51:52 2020]     TERM=linux
[Thu May 28 03:51:52 2020]     BOOT_IMAGE=/boot/vmlinuz-5.7.0-rc7-3-amd64-clang
[Thu May 28 03:51:53 2020] fjes: module verification failed: signature and/or required key missing - tainting kernel
[Thu May 28 03:51:53 2020] ==================================================================
[Thu May 28 03:51:53 2020] BUG: KCSAN: data-race in mutex_spin_on_owner+0xe0/0x1b0

[Thu May 28 03:51:53 2020] race at unknown origin, with read to 0xffff99a30751cc78 of 4 bytes by task 145 on cpu 3:
[Thu May 28 03:51:53 2020]  mutex_spin_on_owner+0xe0/0x1b0
[Thu May 28 03:51:53 2020]  __mutex_lock+0x1cc/0x770
[Thu May 28 03:51:53 2020]  __mutex_lock_slowpath+0xf/0x10
[Thu May 28 03:51:53 2020]  mutex_lock+0x99/0xa0
[Thu May 28 03:51:53 2020]  kernfs_add_one+0x30/0x2c0
[Thu May 28 03:51:53 2020]  kernfs_create_dir_ns+0x100/0x140
[Thu May 28 03:51:53 2020]  sysfs_create_dir_ns+0x97/0x170
[Thu May 28 03:51:53 2020]  kobject_add_internal+0x21e/0x5f0
[Thu May 28 03:51:53 2020]  kobject_init_and_add+0x80/0xc0
[Thu May 28 03:51:53 2020]  load_module+0x3fce/0x53b0
[Thu May 28 03:51:53 2020]  __se_sys_finit_module+0xeb/0x120
[Thu May 28 03:51:53 2020]  __x64_sys_finit_module+0x3f/0x50
[Thu May 28 03:51:53 2020]  do_syscall_64+0x62/0xb0
[Thu May 28 03:51:53 2020]  entry_SYSCALL_64_after_hwframe+0x44/0xa9

[Thu May 28 03:51:53 2020] Reported by Kernel Concurrency Sanitizer on:
[Thu May 28 03:51:53 2020] CPU: 3 PID: 145 Comm: systemd-udevd Tainted: G            E     5.7.0-rc7-3-amd64-clang #3~bullseye+dileks1
[Thu May 28 03:51:53 2020] Hardware name: SAMSUNG ELECTRONICS CO., LTD. 530U3BI/530U4BI/530U4BH/530U3BI/530U4BI/530U4BH, BIOS 13XK 03/28/2013
[Thu May 28 03:51:53 2020] ==================================================================
[Thu May 28 03:51:53 2020] battery: ACPI: Battery Slot [BAT1] (battery present)
[Thu May 28 03:51:53 2020] ACPI Warning: SystemIO range 0x0000000000000428-0x000000000000042F conflicts with OpRegion 0x0000000000000400-0x000000000000047F (\PMIO) (20200326/utaddress-204)
[Thu May 28 03:51:53 2020] ACPI: If an ACPI driver is available for this device, you should use it instead of the native driver
[Thu May 28 03:51:53 2020] ACPI Warning: SystemIO range 0x0000000000000540-0x000000000000054F conflicts with OpRegion 0x0000000000000500-0x0000000000000563 (\GPIO) (20200326/utaddress-204)
[Thu May 28 03:51:53 2020] ACPI: If an ACPI driver is available for this device, you should use it instead of the native driver
[Thu May 28 03:51:53 2020] ACPI Warning: SystemIO range 0x0000000000000530-0x000000000000053F conflicts with OpRegion 0x0000000000000500-0x0000000000000563 (\GPIO) (20200326/utaddress-204)
[Thu May 28 03:51:53 2020] ACPI: If an ACPI driver is available for this device, you should use it instead of the native driver
[Thu May 28 03:51:53 2020] ACPI Warning: SystemIO range 0x0000000000000500-0x000000000000052F conflicts with OpRegion 0x0000000000000500-0x0000000000000563 (\GPIO) (20200326/utaddress-204)
[Thu May 28 03:51:53 2020] ACPI: If an ACPI driver is available for this device, you should use it instead of the native driver
[Thu May 28 03:51:53 2020] lpc_ich: Resource conflict(s) found affecting gpio_ich
[Thu May 28 03:51:53 2020] ACPI: bus type USB registered
[Thu May 28 03:51:53 2020] usbcore: registered new interface driver usbfs
[Thu May 28 03:51:53 2020] usbcore: registered new interface driver hub
[Thu May 28 03:51:53 2020] usbcore: registered new device driver usb
[Thu May 28 03:51:53 2020] i801_smbus 0000:00:1f.3: SMBus using PCI interrupt
[Thu May 28 03:51:53 2020] r8169 0000:02:00.0: can't disable ASPM; OS doesn't have ASPM control
[Thu May 28 03:51:53 2020] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[Thu May 28 03:51:53 2020] ehci-pci: EHCI PCI platform driver
[Thu May 28 03:51:53 2020] ehci-pci 0000:00:1a.0: EHCI Host Controller
[Thu May 28 03:51:53 2020] ehci-pci 0000:00:1a.0: new USB bus registered, assigned bus number 1
[Thu May 28 03:51:53 2020] ehci-pci 0000:00:1a.0: debug port 2
[Thu May 28 03:51:53 2020] ehci-pci 0000:00:1a.0: cache line size of 64 is not supported
[Thu May 28 03:51:53 2020] ehci-pci 0000:00:1a.0: irq 16, io mem 0xf070a000
[Thu May 28 03:51:53 2020] libphy: r8169: probed
[Thu May 28 03:51:53 2020] SCSI subsystem initialized
[Thu May 28 03:51:53 2020] r8169 0000:02:00.0 eth0: RTL8168evl/8111evl, e8:03:9a:36:17:a9, XID 2c9, IRQ 27
[Thu May 28 03:51:53 2020] r8169 0000:02:00.0 eth0: jumbo features [frames: 9200 bytes, tx checksumming: ko]
[Thu May 28 03:51:53 2020] ehci-pci 0000:00:1a.0: USB 2.0 started, EHCI 1.00
[Thu May 28 03:51:53 2020] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.07
[Thu May 28 03:51:53 2020] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[Thu May 28 03:51:53 2020] usb usb1: Product: EHCI Host Controller
[Thu May 28 03:51:53 2020] usb usb1: Manufacturer: Linux 5.7.0-rc7-3-amd64-clang ehci_hcd
[Thu May 28 03:51:53 2020] usb usb1: SerialNumber: 0000:00:1a.0
[Thu May 28 03:51:53 2020] hub 1-0:1.0: USB hub found
[Thu May 28 03:51:53 2020] hub 1-0:1.0: 2 ports detected
[Thu May 28 03:51:53 2020] xhci_hcd 0000:03:00.0: xHCI Host Controller
[Thu May 28 03:51:53 2020] xhci_hcd 0000:03:00.0: new USB bus registered, assigned bus number 2
[Thu May 28 03:51:53 2020] r8169 0000:02:00.0 enp2s0: renamed from eth0
[Thu May 28 03:51:53 2020] tsc: Refined TSC clocksource calibration: 1596.374 MHz
[Thu May 28 03:51:53 2020] clocksource: tsc: mask: 0xffffffffffffffff max_cycles: 0x1702c3a922f, max_idle_ns: 440795242034 ns
[Thu May 28 03:51:53 2020] clocksource: Switched to clocksource tsc
[Thu May 28 03:51:53 2020] xhci_hcd 0000:03:00.0: hcc params 0x0200f180 hci version 0x96 quirks 0x0000000000080000
[Thu May 28 03:51:53 2020] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.07
[Thu May 28 03:51:53 2020] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[Thu May 28 03:51:53 2020] usb usb2: Product: xHCI Host Controller
[Thu May 28 03:51:53 2020] usb usb2: Manufacturer: Linux 5.7.0-rc7-3-amd64-clang xhci-hcd
[Thu May 28 03:51:53 2020] usb usb2: SerialNumber: 0000:03:00.0
[Thu May 28 03:51:53 2020] hub 2-0:1.0: USB hub found
[Thu May 28 03:51:53 2020] hub 2-0:1.0: 2 ports detected
[Thu May 28 03:51:53 2020] ehci-pci 0000:00:1d.0: EHCI Host Controller
[Thu May 28 03:51:53 2020] xhci_hcd 0000:03:00.0: xHCI Host Controller
[Thu May 28 03:51:53 2020] ehci-pci 0000:00:1d.0: new USB bus registered, assigned bus number 3
[Thu May 28 03:51:53 2020] xhci_hcd 0000:03:00.0: new USB bus registered, assigned bus number 4
[Thu May 28 03:51:53 2020] ehci-pci 0000:00:1d.0: debug port 2
[Thu May 28 03:51:53 2020] xhci_hcd 0000:03:00.0: Host supports USB 3.0 SuperSpeed
[Thu May 28 03:51:53 2020] usb usb4: We don't know the algorithms for LPM for this host, disabling LPM.
[Thu May 28 03:51:53 2020] usb usb4: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 5.07
[Thu May 28 03:51:53 2020] usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[Thu May 28 03:51:53 2020] usb usb4: Product: xHCI Host Controller
[Thu May 28 03:51:53 2020] usb usb4: Manufacturer: Linux 5.7.0-rc7-3-amd64-clang xhci-hcd
[Thu May 28 03:51:53 2020] usb usb4: SerialNumber: 0000:03:00.0
[Thu May 28 03:51:53 2020] hub 4-0:1.0: USB hub found
[Thu May 28 03:51:53 2020] hub 4-0:1.0: 2 ports detected
[Thu May 28 03:51:53 2020] ehci-pci 0000:00:1d.0: cache line size of 64 is not supported
[Thu May 28 03:51:53 2020] ehci-pci 0000:00:1d.0: irq 23, io mem 0xf0709000
[Thu May 28 03:51:53 2020] ehci-pci 0000:00:1d.0: USB 2.0 started, EHCI 1.00
[Thu May 28 03:51:53 2020] usb usb3: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.07
[Thu May 28 03:51:53 2020] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[Thu May 28 03:51:53 2020] usb usb3: Product: EHCI Host Controller
[Thu May 28 03:51:53 2020] usb usb3: Manufacturer: Linux 5.7.0-rc7-3-amd64-clang ehci_hcd
[Thu May 28 03:51:53 2020] usb usb3: SerialNumber: 0000:00:1d.0
[Thu May 28 03:51:53 2020] hub 3-0:1.0: USB hub found
[Thu May 28 03:51:53 2020] hub 3-0:1.0: 2 ports detected
[Thu May 28 03:51:53 2020] libata version 3.00 loaded.
[Thu May 28 03:51:53 2020] ahci 0000:00:1f.2: version 3.0
[Thu May 28 03:51:53 2020] ahci 0000:00:1f.2: SSS flag set, parallel bus scan disabled
[Thu May 28 03:51:53 2020] ahci 0000:00:1f.2: AHCI 0001.0300 32 slots 6 ports 6 Gbps 0x1b impl SATA mode
[Thu May 28 03:51:53 2020] ahci 0000:00:1f.2: flags: 64bit ncq sntf ilck stag pm led clo pio slum part ems sxs apst 
[Thu May 28 03:51:53 2020] scsi host0: ahci
[Thu May 28 03:51:53 2020] scsi host1: ahci
[Thu May 28 03:51:53 2020] scsi host2: ahci
[Thu May 28 03:51:53 2020] scsi host3: ahci
[Thu May 28 03:51:53 2020] scsi host4: ahci
[Thu May 28 03:51:53 2020] scsi host5: ahci
[Thu May 28 03:51:53 2020] ata1: SATA max UDMA/133 abar m2048@0xf0708000 port 0xf0708100 irq 33
[Thu May 28 03:51:53 2020] ata2: SATA max UDMA/133 abar m2048@0xf0708000 port 0xf0708180 irq 33
[Thu May 28 03:51:53 2020] ata3: DUMMY
[Thu May 28 03:51:53 2020] ata4: SATA max UDMA/133 abar m2048@0xf0708000 port 0xf0708280 irq 33
[Thu May 28 03:51:53 2020] ata5: SATA max UDMA/133 abar m2048@0xf0708000 port 0xf0708300 irq 33
[Thu May 28 03:51:53 2020] ata6: DUMMY
[Thu May 28 03:51:53 2020] usb 1-1: new high-speed USB device number 2 using ehci-pci
[Thu May 28 03:51:53 2020] usb 3-1: new high-speed USB device number 2 using ehci-pci
[Thu May 28 03:51:53 2020] usb 4-1: new SuperSpeed Gen 1 USB device number 2 using xhci_hcd
[Thu May 28 03:51:53 2020] usb 1-1: New USB device found, idVendor=8087, idProduct=0024, bcdDevice= 0.00
[Thu May 28 03:51:53 2020] usb 1-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[Thu May 28 03:51:53 2020] hub 1-1:1.0: USB hub found
[Thu May 28 03:51:53 2020] hub 1-1:1.0: 6 ports detected
[Thu May 28 03:51:53 2020] usb 4-1: New USB device found, idVendor=174c, idProduct=55aa, bcdDevice= 1.00
[Thu May 28 03:51:53 2020] usb 4-1: New USB device strings: Mfr=2, Product=3, SerialNumber=1
[Thu May 28 03:51:53 2020] usb 4-1: Product: MEDION HDDrive-n-GO
[Thu May 28 03:51:53 2020] usb 4-1: Manufacturer: MEDION
[Thu May 28 03:51:53 2020] usb 4-1: SerialNumber: 3180000000000000092C
[Thu May 28 03:51:53 2020] ata1: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
[Thu May 28 03:51:53 2020] ata1.00: ATA-8: Hitachi HTS545050A7E380, GG2OA6C0, max UDMA/133
[Thu May 28 03:51:53 2020] ata1.00: 976773168 sectors, multi 16: LBA48 NCQ (depth 32), AA
[Thu May 28 03:51:53 2020] ata1.00: configured for UDMA/133
[Thu May 28 03:51:53 2020] scsi 0:0:0:0: Direct-Access     ATA      Hitachi HTS54505 A6C0 PQ: 0 ANSI: 5
[Thu May 28 03:51:54 2020] usb-storage 4-1:1.0: USB Mass Storage device detected
[Thu May 28 03:51:54 2020] usb-storage 4-1:1.0: Quirks match for vid 174c pid 55aa: 400000
[Thu May 28 03:51:54 2020] scsi host6: usb-storage 4-1:1.0
[Thu May 28 03:51:54 2020] usbcore: registered new interface driver usb-storage
[Thu May 28 03:51:54 2020] usbcore: registered new interface driver uas
[Thu May 28 03:51:54 2020] usb 3-1: New USB device found, idVendor=8087, idProduct=0024, bcdDevice= 0.00
[Thu May 28 03:51:54 2020] usb 3-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[Thu May 28 03:51:54 2020] hub 3-1:1.0: USB hub found
[Thu May 28 03:51:54 2020] hub 3-1:1.0: 6 ports detected
[Thu May 28 03:51:54 2020] usb 1-1.4: new high-speed USB device number 3 using ehci-pci
[Thu May 28 03:51:54 2020] ata2: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
[Thu May 28 03:51:54 2020] ata2.00: ATA-8: SanDisk iSSD P4 16GB, SSD 9.14, max UDMA/133
[Thu May 28 03:51:54 2020] ata2.00: 31277232 sectors, multi 1: LBA48 
[Thu May 28 03:51:54 2020] ata2.00: configured for UDMA/133
[Thu May 28 03:51:54 2020] scsi 1:0:0:0: Direct-Access     ATA      SanDisk iSSD P4  9.14 PQ: 0 ANSI: 5
[Thu May 28 03:51:54 2020] usb 3-1.4: new low-speed USB device number 3 using ehci-pci
[Thu May 28 03:51:54 2020] psmouse serio1: elantech: assuming hardware version 3 (with firmware version 0x450f00)
[Thu May 28 03:51:54 2020] psmouse serio1: elantech: Synaptics capabilities query result 0x08, 0x17, 0x0c.
[Thu May 28 03:51:54 2020] psmouse serio1: elantech: Elan sample query result 03, 3f, 86
[Thu May 28 03:51:54 2020] usb 3-1.4: New USB device found, idVendor=046d, idProduct=c00e, bcdDevice=11.10
[Thu May 28 03:51:54 2020] usb 3-1.4: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[Thu May 28 03:51:54 2020] usb 3-1.4: Product: USB-PS/2 Optical Mouse
[Thu May 28 03:51:54 2020] usb 3-1.4: Manufacturer: Logitech
[Thu May 28 03:51:54 2020] random: fast init done
[Thu May 28 03:51:54 2020] hid: raw HID events driver (C) Jiri Kosina
[Thu May 28 03:51:54 2020] usbcore: registered new interface driver usbhid
[Thu May 28 03:51:54 2020] usbhid: USB HID core driver
[Thu May 28 03:51:54 2020] input: ETPS/2 Elantech Touchpad as /devices/platform/i8042/serio1/input/input3
[Thu May 28 03:51:54 2020] usb 1-1.4: New USB device found, idVendor=2232, idProduct=1018, bcdDevice= 0.01
[Thu May 28 03:51:54 2020] usb 1-1.4: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[Thu May 28 03:51:54 2020] usb 1-1.4: Product: WebCam SC-13HDL11431N
[Thu May 28 03:51:54 2020] usb 1-1.4: Manufacturer: 123
[Thu May 28 03:51:54 2020] input: Logitech USB-PS/2 Optical Mouse as /devices/pci0000:00/0000:00:1d.0/usb3/3-1/3-1.4/3-1.4:1.0/0003:046D:C00E.0001/input/input4
[Thu May 28 03:51:54 2020] hid-generic 0003:046D:C00E.0001: input,hidraw0: USB HID v1.10 Mouse [Logitech USB-PS/2 Optical Mouse] on usb-0000:00:1d.0-1.4/input0
[Thu May 28 03:51:54 2020] usb 3-1.5: new full-speed USB device number 4 using ehci-pci
[Thu May 28 03:51:54 2020] ata4: SATA link down (SStatus 0 SControl 300)
[Thu May 28 03:51:54 2020] usb 3-1.5: New USB device found, idVendor=8086, idProduct=0189, bcdDevice=69.19
[Thu May 28 03:51:54 2020] usb 3-1.5: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[Thu May 28 03:51:54 2020] ata5: SATA link down (SStatus 0 SControl 300)
[Thu May 28 03:51:54 2020] sd 0:0:0:0: [sda] 976773168 512-byte logical blocks: (500 GB/466 GiB)
[Thu May 28 03:51:54 2020] sd 0:0:0:0: [sda] 4096-byte physical blocks
[Thu May 28 03:51:54 2020] sd 0:0:0:0: [sda] Write Protect is off
[Thu May 28 03:51:54 2020] sd 1:0:0:0: [sdb] 31277232 512-byte logical blocks: (16.0 GB/14.9 GiB)
[Thu May 28 03:51:54 2020] sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
[Thu May 28 03:51:54 2020] sd 1:0:0:0: [sdb] Write Protect is off
[Thu May 28 03:51:54 2020] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[Thu May 28 03:51:54 2020] sd 1:0:0:0: [sdb] Mode Sense: 00 3a 00 00
[Thu May 28 03:51:54 2020] sd 1:0:0:0: [sdb] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[Thu May 28 03:51:54 2020]  sdb: sdb1
[Thu May 28 03:51:54 2020] sd 1:0:0:0: [sdb] Attached SCSI disk
[Thu May 28 03:51:55 2020]  sda: sda1 sda2 sda3
[Thu May 28 03:51:55 2020] sd 0:0:0:0: [sda] Attached SCSI disk
[Thu May 28 03:51:55 2020] scsi 6:0:0:0: Direct-Access     ASMT     2105             0    PQ: 0 ANSI: 6
[Thu May 28 03:51:55 2020] sd 6:0:0:0: [sdc] 1953525168 512-byte logical blocks: (1.00 TB/932 GiB)
[Thu May 28 03:51:55 2020] sd 6:0:0:0: [sdc] 4096-byte physical blocks
[Thu May 28 03:51:55 2020] sd 6:0:0:0: [sdc] Write Protect is off
[Thu May 28 03:51:55 2020] sd 6:0:0:0: [sdc] Mode Sense: 43 00 00 00
[Thu May 28 03:51:55 2020] sd 6:0:0:0: [sdc] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[Thu May 28 03:51:55 2020]  sdc: sdc1 sdc2 sdc3 sdc4 < sdc5 >
[Thu May 28 03:51:55 2020] sd 6:0:0:0: [sdc] Attached SCSI disk
[Thu May 28 03:51:56 2020] process '/usr/bin/fstype' started with executable stack
[Thu May 28 03:51:56 2020] PM: Image not found (code -22)
[Thu May 28 03:51:56 2020] EXT4-fs (sdc2): mounted filesystem with ordered data mode. Opts: (null)
[Thu May 28 03:51:57 2020] Not activating Mandatory Access Control as /sbin/tomoyo-init does not exist.
[Thu May 28 03:51:57 2020] random: crng init done
[Thu May 28 03:51:59 2020] systemd[1]: Inserted module 'autofs4'
[Thu May 28 03:51:59 2020] systemd[1]: systemd 245.5-3 running in system mode. (+PAM +AUDIT +SELINUX +IMA +APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ +LZ4 +SECCOMP +BLKID +ELFUTILS +KMOD +IDN2 -IDN +PCRE2 default-hierarchy=hybrid)
[Thu May 28 03:51:59 2020] systemd[1]: Detected architecture x86-64.
[Thu May 28 03:51:59 2020] systemd[1]: Set hostname to <iniza>.
[Thu May 28 03:52:00 2020] ==================================================================
[Thu May 28 03:52:00 2020] BUG: KCSAN: data-race in mark_page_accessed / workingset_activation

[Thu May 28 03:52:00 2020] write (marked) to 0xffffdfd7482c4100 of 8 bytes by task 243 on cpu 1:
[Thu May 28 03:52:00 2020]  mark_page_accessed+0x14d/0x2b0
[Thu May 28 03:52:00 2020]  zap_pte_range+0x59f/0xd90
[Thu May 28 03:52:00 2020]  unmap_page_range+0x42b/0x460
[Thu May 28 03:52:00 2020]  unmap_single_vma+0xb0/0x150
[Thu May 28 03:52:00 2020]  unmap_vmas+0xb1/0x120
[Thu May 28 03:52:00 2020]  exit_mmap+0x13f/0x2d0
[Thu May 28 03:52:00 2020]  __mmput+0x7c/0x1c0
[Thu May 28 03:52:00 2020]  mmput+0x2f/0x40
[Thu May 28 03:52:00 2020]  exit_mm+0x2f3/0x350
[Thu May 28 03:52:00 2020]  do_exit+0x359/0x1110
[Thu May 28 03:52:00 2020]  do_group_exit+0x126/0x130
[Thu May 28 03:52:00 2020]  __do_sys_exit_group+0xb/0x10
[Thu May 28 03:52:00 2020]  __se_sys_exit_group+0xa/0x10
[Thu May 28 03:52:00 2020]  __x64_sys_exit_group+0x1b/0x20
[Thu May 28 03:52:00 2020]  do_syscall_64+0x62/0xb0
[Thu May 28 03:52:00 2020]  entry_SYSCALL_64_after_hwframe+0x44/0xa9

[Thu May 28 03:52:00 2020] read to 0xffffdfd7482c4100 of 8 bytes by task 245 on cpu 2:
[Thu May 28 03:52:00 2020]  workingset_activation+0x35/0x130
[Thu May 28 03:52:00 2020]  mark_page_accessed+0x24d/0x2b0
[Thu May 28 03:52:00 2020]  zap_pte_range+0x59f/0xd90
[Thu May 28 03:52:00 2020]  unmap_page_range+0x42b/0x460
[Thu May 28 03:52:00 2020]  unmap_single_vma+0xb0/0x150
[Thu May 28 03:52:00 2020]  unmap_vmas+0xb1/0x120
[Thu May 28 03:52:00 2020]  exit_mmap+0x13f/0x2d0
[Thu May 28 03:52:00 2020]  __mmput+0x7c/0x1c0
[Thu May 28 03:52:00 2020]  mmput+0x2f/0x40
[Thu May 28 03:52:00 2020]  exit_mm+0x2f3/0x350
[Thu May 28 03:52:00 2020]  do_exit+0x359/0x1110
[Thu May 28 03:52:00 2020]  do_group_exit+0x126/0x130
[Thu May 28 03:52:00 2020]  __do_sys_exit_group+0xb/0x10
[Thu May 28 03:52:00 2020]  __se_sys_exit_group+0xa/0x10
[Thu May 28 03:52:00 2020]  __x64_sys_exit_group+0x1b/0x20
[Thu May 28 03:52:00 2020]  do_syscall_64+0x62/0xb0
[Thu May 28 03:52:00 2020]  entry_SYSCALL_64_after_hwframe+0x44/0xa9

[Thu May 28 03:52:00 2020] Reported by Kernel Concurrency Sanitizer on:
[Thu May 28 03:52:00 2020] CPU: 2 PID: 245 Comm: systemd-run-gen Tainted: G            E     5.7.0-rc7-3-amd64-clang #3~bullseye+dileks1
[Thu May 28 03:52:00 2020] Hardware name: SAMSUNG ELECTRONICS CO., LTD. 530U3BI/530U4BI/530U4BH/530U3BI/530U4BI/530U4BH, BIOS 13XK 03/28/2013
[Thu May 28 03:52:00 2020] ==================================================================
[Thu May 28 03:52:01 2020] systemd[1]: /lib/systemd/system/dbus.socket:5: ListenStream= references a path below legacy directory /var/run/, updating /var/run/dbus/system_bus_socket \xe2\x86\x92 /run/dbus/system_bus_socket; please update the unit file accordingly.
[Thu May 28 03:52:02 2020] systemd[1]: Created slice system-getty.slice.
[Thu May 28 03:52:02 2020] systemd[1]: Created slice system-modprobe.slice.
[Thu May 28 03:52:02 2020] systemd[1]: Created slice User and Session Slice.
[Thu May 28 03:52:02 2020] systemd[1]: Started Dispatch Password Requests to Console Directory Watch.
[Thu May 28 03:52:02 2020] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
[Thu May 28 03:52:02 2020] systemd[1]: Set up automount Arbitrary Executable File Formats File System Automount Point.
[Thu May 28 03:52:02 2020] systemd[1]: Reached target Local Encrypted Volumes.
[Thu May 28 03:52:02 2020] systemd[1]: Reached target User and Group Name Lookups.
[Thu May 28 03:52:02 2020] systemd[1]: Reached target Remote File Systems.
[Thu May 28 03:52:02 2020] systemd[1]: Reached target Slices.
[Thu May 28 03:52:02 2020] systemd[1]: Listening on Syslog Socket.
[Thu May 28 03:52:02 2020] systemd[1]: Listening on fsck to fsckd communication Socket.
[Thu May 28 03:52:02 2020] systemd[1]: Listening on initctl Compatibility Named Pipe.
[Thu May 28 03:52:02 2020] systemd[1]: Listening on Journal Audit Socket.
[Thu May 28 03:52:02 2020] systemd[1]: Listening on Journal Socket (/dev/log).
[Thu May 28 03:52:02 2020] systemd[1]: Listening on Journal Socket.
[Thu May 28 03:52:02 2020] systemd[1]: Listening on udev Control Socket.
[Thu May 28 03:52:02 2020] systemd[1]: Listening on udev Kernel Socket.
[Thu May 28 03:52:02 2020] systemd[1]: Mounting Huge Pages File System...
[Thu May 28 03:52:02 2020] systemd[1]: Mounting POSIX Message Queue File System...
[Thu May 28 03:52:02 2020] ==================================================================
[Thu May 28 03:52:02 2020] BUG: KCSAN: data-race in mutex_spin_on_owner+0xe0/0x1b0

[Thu May 28 03:52:02 2020] race at unknown origin, with read to 0xffff99a307db0f78 of 4 bytes by task 250 on cpu 2:
[Thu May 28 03:52:02 2020]  mutex_spin_on_owner+0xe0/0x1b0
[Thu May 28 03:52:02 2020]  __mutex_lock+0x1cc/0x770
[Thu May 28 03:52:02 2020]  __mutex_lock_slowpath+0xf/0x10
[Thu May 28 03:52:02 2020]  mutex_lock+0x99/0xa0
[Thu May 28 03:52:02 2020]  cgroup_kn_lock_live+0x92/0xf0
[Thu May 28 03:52:02 2020]  __cgroup1_procs_write+0x3f/0x180
[Thu May 28 03:52:02 2020]  cgroup1_procs_write+0xf/0x10
[Thu May 28 03:52:02 2020]  cgroup_file_write+0x11d/0x240
[Thu May 28 03:52:02 2020]  kernfs_fop_write+0x195/0x230
[Thu May 28 03:52:02 2020]  __vfs_write+0x66/0x2d0
[Thu May 28 03:52:02 2020]  vfs_write+0x118/0x250
[Thu May 28 03:52:02 2020]  ksys_write+0x90/0x110
[Thu May 28 03:52:02 2020]  __x64_sys_write+0x3e/0x50
[Thu May 28 03:52:02 2020]  do_syscall_64+0x62/0xb0
[Thu May 28 03:52:02 2020]  entry_SYSCALL_64_after_hwframe+0x44/0xa9

[Thu May 28 03:52:02 2020] Reported by Kernel Concurrency Sanitizer on:
[Thu May 28 03:52:02 2020] CPU: 2 PID: 250 Comm: (mount) Tainted: G            E     5.7.0-rc7-3-amd64-clang #3~bullseye+dileks1
[Thu May 28 03:52:02 2020] Hardware name: SAMSUNG ELECTRONICS CO., LTD. 530U3BI/530U4BI/530U4BH/530U3BI/530U4BI/530U4BH, BIOS 13XK 03/28/2013
[Thu May 28 03:52:02 2020] ==================================================================
[Thu May 28 03:52:02 2020] systemd[1]: Mounting Kernel Debug File System...
[Thu May 28 03:52:02 2020] systemd[1]: Mounting Kernel Trace File System...
[Thu May 28 03:52:02 2020] systemd[1]: Starting Wait for network to be configured by ifupdown...
[Thu May 28 03:52:02 2020] systemd[1]: Starting Set the console keyboard layout...
[Thu May 28 03:52:02 2020] systemd[1]: Starting Create list of static device nodes for the current kernel...
[Thu May 28 03:52:02 2020] systemd[1]: Starting Load Kernel Module drm...
[Thu May 28 03:52:02 2020] systemd[1]: Condition check resulted in Set Up Additional Binary Formats being skipped.
[Thu May 28 03:52:02 2020] systemd[1]: Condition check resulted in File System Check on Root Device being skipped.
[Thu May 28 03:52:02 2020] systemd[1]: Starting Journal Service...
[Thu May 28 03:52:02 2020] systemd[1]: Starting Load Kernel Modules...
[Thu May 28 03:52:02 2020] systemd[1]: Starting Remount Root and Kernel File Systems...
[Thu May 28 03:52:02 2020] systemd[1]: Starting udev Coldplug all Devices...
[Thu May 28 03:52:02 2020] systemd[1]: Finished Create list of static device nodes for the current kernel.
[Thu May 28 03:52:02 2020] systemd[1]: Mounted Huge Pages File System.
[Thu May 28 03:52:02 2020] systemd[1]: Mounted POSIX Message Queue File System.
[Thu May 28 03:52:02 2020] systemd[1]: Mounted Kernel Debug File System.
[Thu May 28 03:52:02 2020] systemd[1]: Mounted Kernel Trace File System.
[Thu May 28 03:52:02 2020] systemd[1]: Finished Wait for network to be configured by ifupdown.
[Thu May 28 03:52:03 2020] EXT4-fs (sdc2): re-mounted. Opts: errors=remount-ro
[Thu May 28 03:52:03 2020] systemd[1]: Finished Remount Root and Kernel File Systems.
[Thu May 28 03:52:03 2020] systemd[1]: Condition check resulted in Rebuild Hardware Database being skipped.
[Thu May 28 03:52:03 2020] systemd[1]: Condition check resulted in Platform Persistent Storage Archival being skipped.
[Thu May 28 03:52:03 2020] systemd[1]: Starting Load/Save Random Seed...
[Thu May 28 03:52:03 2020] systemd[1]: Starting Create System Users...
[Thu May 28 03:52:03 2020] systemd[1]: modprobe@drm.service: Succeeded.
[Thu May 28 03:52:03 2020] systemd[1]: Finished Load Kernel Module drm.
[Thu May 28 03:52:03 2020] systemd[1]: Finished Load/Save Random Seed.
[Thu May 28 03:52:03 2020] systemd[1]: Finished Set the console keyboard layout.
[Thu May 28 03:52:03 2020] systemd[1]: Started Journal Service.
[Thu May 28 03:52:03 2020] lp: driver loaded but no devices found
[Thu May 28 03:52:03 2020] ppdev: user-space parallel port driver
[Thu May 28 03:52:03 2020] systemd-journald[257]: Received client request to flush runtime journal.
[Thu May 28 03:52:08 2020] audit: type=1400 audit(1590630728.003:2): apparmor="STATUS" operation="profile_load" profile="unconfined" name="libreoffice-xpdfimport" pid=299 comm="apparmor_parser"
[Thu May 28 03:52:08 2020] audit: type=1400 audit(1590630728.111:3): apparmor="STATUS" operation="profile_load" profile="unconfined" name="lsb_release" pid=301 comm="apparmor_parser"
[Thu May 28 03:52:08 2020] audit: type=1400 audit(1590630728.183:4): apparmor="STATUS" operation="profile_load" profile="unconfined" name="libreoffice-senddoc" pid=303 comm="apparmor_parser"
[Thu May 28 03:52:08 2020] audit: type=1400 audit(1590630728.215:5): apparmor="STATUS" operation="profile_load" profile="unconfined" name="/usr/sbin/haveged" pid=304 comm="apparmor_parser"
[Thu May 28 03:52:08 2020] ==================================================================
[Thu May 28 03:52:08 2020] BUG: KCSAN: data-race in blk_mq_sched_dispatch_requests / blk_mq_sched_dispatch_requests

[Thu May 28 03:52:08 2020] write to 0xffff99a416371188 of 8 bytes by task 189 on cpu 0:
[Thu May 28 03:52:08 2020]  blk_mq_sched_dispatch_requests+0x102/0x5b0
[Thu May 28 03:52:08 2020]  __blk_mq_run_hw_queue+0xd8/0x160
[Thu May 28 03:52:08 2020]  blk_mq_run_work_fn+0x3b/0x40
[Thu May 28 03:52:08 2020]  process_one_work+0x45b/0x7f0
[Thu May 28 03:52:08 2020]  worker_thread+0x5e4/0xa50
[Thu May 28 03:52:08 2020]  kthread+0x1dc/0x1f0
[Thu May 28 03:52:08 2020]  ret_from_fork+0x35/0x40

[Thu May 28 03:52:08 2020] read to 0xffff99a416371188 of 8 bytes by task 290 on cpu 1:
[Thu May 28 03:52:08 2020]  blk_mq_sched_dispatch_requests+0xef/0x5b0
[Thu May 28 03:52:08 2020]  __blk_mq_run_hw_queue+0xd8/0x160
[Thu May 28 03:52:08 2020]  __blk_mq_delay_run_hw_queue+0x11f/0x240
[Thu May 28 03:52:08 2020]  blk_mq_run_hw_queue+0x17e/0x1a0
[Thu May 28 03:52:08 2020]  blk_mq_get_tag+0x2d7/0x490
[Thu May 28 03:52:08 2020]  blk_mq_get_request+0x1cf/0x750
[Thu May 28 03:52:08 2020]  blk_mq_make_request+0x1f8/0xc50
[Thu May 28 03:52:08 2020]  generic_make_request+0x185/0x450
[Thu May 28 03:52:08 2020]  submit_bio+0x8c/0x280
[Thu May 28 03:52:08 2020]  ext4_mpage_readpages+0xd60/0xd90 [ext4]
[Thu May 28 03:52:08 2020]  ext4_readpages+0x81/0x90 [ext4]
[Thu May 28 03:52:08 2020]  read_pages+0x6f/0x270
[Thu May 28 03:52:08 2020]  __do_page_cache_readahead+0x221/0x270
[Thu May 28 03:52:08 2020]  ondemand_readahead+0x33e/0x400
[Thu May 28 03:52:08 2020]  page_cache_sync_readahead+0xf0/0x220
[Thu May 28 03:52:08 2020]  generic_file_buffered_read+0x269/0x12b0
[Thu May 28 03:52:08 2020]  generic_file_read_iter+0x67/0x290
[Thu May 28 03:52:08 2020]  ext4_file_read_iter+0x25b/0x2c0 [ext4]
[Thu May 28 03:52:08 2020]  __vfs_read+0x28d/0x2c0
[Thu May 28 03:52:08 2020]  vfs_read+0xc8/0x1c0
[Thu May 28 03:52:08 2020]  ksys_read+0x90/0x110
[Thu May 28 03:52:08 2020]  __x64_sys_read+0x3e/0x50
[Thu May 28 03:52:08 2020]  do_syscall_64+0x62/0xb0
[Thu May 28 03:52:08 2020]  entry_SYSCALL_64_after_hwframe+0x44/0xa9

[Thu May 28 03:52:08 2020] Reported by Kernel Concurrency Sanitizer on:
[Thu May 28 03:52:08 2020] CPU: 1 PID: 290 Comm: systemd-udevd Tainted: G            E     5.7.0-rc7-3-amd64-clang #3~bullseye+dileks1
[Thu May 28 03:52:08 2020] Hardware name: SAMSUNG ELECTRONICS CO., LTD. 530U3BI/530U4BI/530U4BH/530U3BI/530U4BI/530U4BH, BIOS 13XK 03/28/2013
[Thu May 28 03:52:08 2020] ==================================================================
[Thu May 28 03:52:08 2020] audit: type=1400 audit(1590630728.555:6): apparmor="STATUS" operation="profile_load" profile="unconfined" name="libreoffice-oopslash" pid=305 comm="apparmor_parser"
[Thu May 28 03:52:08 2020] audit: type=1400 audit(1590630728.619:7): apparmor="STATUS" operation="profile_load" profile="unconfined" name="/usr/sbin/cups-browsed" pid=306 comm="apparmor_parser"
[Thu May 28 03:52:08 2020] audit: type=1400 audit(1590630728.759:8): apparmor="STATUS" operation="profile_load" profile="unconfined" name="/usr/lib/cups/backend/cups-pdf" pid=300 comm="apparmor_parser"
[Thu May 28 03:52:08 2020] audit: type=1400 audit(1590630728.759:9): apparmor="STATUS" operation="profile_load" profile="unconfined" name="/usr/sbin/cupsd" pid=300 comm="apparmor_parser"
[Thu May 28 03:52:08 2020] audit: type=1400 audit(1590630728.759:10): apparmor="STATUS" operation="profile_load" profile="unconfined" name="/usr/sbin/cupsd//third_party" pid=300 comm="apparmor_parser"
[Thu May 28 03:52:08 2020] audit: type=1400 audit(1590630728.927:11): apparmor="STATUS" operation="profile_load" profile="unconfined" name="/usr/bin/man" pid=308 comm="apparmor_parser"
[Thu May 28 03:52:10 2020] input: PC Speaker as /devices/platform/pcspkr/input/input5
[Thu May 28 03:52:10 2020] ==================================================================
[Thu May 28 03:52:10 2020] BUG: KCSAN: data-race in dd_has_work / dd_insert_requests

[Thu May 28 03:52:10 2020] write to 0xffff99a40c20ff98 of 8 bytes by task 257 on cpu 3:
[Thu May 28 03:52:10 2020]  dd_insert_requests+0x327/0x360
[Thu May 28 03:52:10 2020]  blk_mq_sched_insert_requests+0xb2/0x190
[Thu May 28 03:52:10 2020]  blk_mq_flush_plug_list+0x160/0x360
[Thu May 28 03:52:10 2020]  blk_flush_plug_list+0x1d4/0x200
[Thu May 28 03:52:10 2020]  blk_finish_plug+0x38/0x50
[Thu May 28 03:52:10 2020]  read_pages+0x81/0x270
[Thu May 28 03:52:10 2020]  __do_page_cache_readahead+0x221/0x270
[Thu May 28 03:52:10 2020]  filemap_fault+0x56d/0xe10
[Thu May 28 03:52:10 2020]  ext4_filemap_fault+0x48/0x60 [ext4]
[Thu May 28 03:52:10 2020]  __do_fault+0x96/0x250
[Thu May 28 03:52:10 2020]  do_read_fault+0x2c6/0x3c0
[Thu May 28 03:52:10 2020]  handle_mm_fault+0xa70/0xf70
[Thu May 28 03:52:10 2020]  do_user_addr_fault+0x219/0x440
[Thu May 28 03:52:10 2020]  page_fault+0x34/0x40

[Thu May 28 03:52:10 2020] read to 0xffff99a40c20ff98 of 8 bytes by task 186 on cpu 2:
[Thu May 28 03:52:10 2020]  dd_has_work+0x7a/0xb0
[Thu May 28 03:52:10 2020]  blk_mq_sched_dispatch_requests+0x435/0x5b0
[Thu May 28 03:52:10 2020]  __blk_mq_run_hw_queue+0xd8/0x160
[Thu May 28 03:52:10 2020]  blk_mq_run_work_fn+0x3b/0x40
[Thu May 28 03:52:10 2020]  process_one_work+0x45b/0x7f0
[Thu May 28 03:52:10 2020]  worker_thread+0x5e4/0xa50
[Thu May 28 03:52:10 2020]  kthread+0x1dc/0x1f0
[Thu May 28 03:52:10 2020]  ret_from_fork+0x35/0x40

[Thu May 28 03:52:10 2020] Reported by Kernel Concurrency Sanitizer on:
[Thu May 28 03:52:10 2020] CPU: 2 PID: 186 Comm: kworker/2:1H Tainted: G            E     5.7.0-rc7-3-amd64-clang #3~bullseye+dileks1
[Thu May 28 03:52:10 2020] Hardware name: SAMSUNG ELECTRONICS CO., LTD. 530U3BI/530U4BI/530U4BH/530U3BI/530U4BI/530U4BH, BIOS 13XK 03/28/2013
[Thu May 28 03:52:10 2020] Workqueue: kblockd blk_mq_run_work_fn
[Thu May 28 03:52:10 2020] ==================================================================
[Thu May 28 03:52:10 2020] input: Lid Switch as /devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0D:00/input/input6
[Thu May 28 03:52:10 2020] ACPI: Lid Switch [LID0]
[Thu May 28 03:52:10 2020] input: Power Button as /devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0C:00/input/input7
[Thu May 28 03:52:10 2020] ACPI: AC Adapter [ADP1] (on-line)
[Thu May 28 03:52:10 2020] ACPI: Power Button [PWRB]
[Thu May 28 03:52:10 2020] input: Power Button as /devices/LNXSYSTM:00/LNXPWRBN:00/input/input8
[Thu May 28 03:52:10 2020] ACPI: Power Button [PWRF]
[Thu May 28 03:52:11 2020] ==================================================================
[Thu May 28 03:52:11 2020] BUG: KCSAN: data-race in mutex_spin_on_owner+0xe0/0x1b0

[Thu May 28 03:52:11 2020] race at unknown origin, with read to 0xffff99a40e775bb8 of 4 bytes by task 317 on cpu 1:
[Thu May 28 03:52:11 2020]  mutex_spin_on_owner+0xe0/0x1b0
[Thu May 28 03:52:11 2020]  __mutex_lock+0x1cc/0x770
[Thu May 28 03:52:11 2020]  __mutex_lock_slowpath+0xf/0x10
[Thu May 28 03:52:11 2020]  mutex_lock+0x99/0xa0
[Thu May 28 03:52:11 2020]  resolve_symbol+0x39/0x3f0
[Thu May 28 03:52:11 2020]  simplify_symbols+0x28f/0x500
[Thu May 28 03:52:11 2020]  load_module+0x3100/0x53b0
[Thu May 28 03:52:11 2020]  __se_sys_finit_module+0xeb/0x120
[Thu May 28 03:52:11 2020]  __x64_sys_finit_module+0x3f/0x50
[Thu May 28 03:52:11 2020]  do_syscall_64+0x62/0xb0
[Thu May 28 03:52:11 2020]  entry_SYSCALL_64_after_hwframe+0x44/0xa9

[Thu May 28 03:52:11 2020] Reported by Kernel Concurrency Sanitizer on:
[Thu May 28 03:52:11 2020] CPU: 1 PID: 317 Comm: systemd-udevd Tainted: G            E     5.7.0-rc7-3-amd64-clang #3~bullseye+dileks1
[Thu May 28 03:52:11 2020] Hardware name: SAMSUNG ELECTRONICS CO., LTD. 530U3BI/530U4BI/530U4BH/530U3BI/530U4BI/530U4BH, BIOS 13XK 03/28/2013
[Thu May 28 03:52:11 2020] ==================================================================
[Thu May 28 03:52:11 2020] iTCO_vendor_support: vendor-support=0
[Thu May 28 03:52:12 2020] iTCO_wdt: Intel TCO WatchDog Timer Driver v1.11
[Thu May 28 03:52:12 2020] iTCO_wdt: Found a Cougar Point TCO device (Version=2, TCOBASE=0x0460)
[Thu May 28 03:52:12 2020] iTCO_wdt: initialized. heartbeat=30 sec (nowayout=0)
[Thu May 28 03:52:12 2020] sd 0:0:0:0: Attached scsi generic sg0 type 0
[Thu May 28 03:52:12 2020] sd 1:0:0:0: Attached scsi generic sg1 type 0
[Thu May 28 03:52:12 2020] sd 6:0:0:0: Attached scsi generic sg2 type 0
[Thu May 28 03:52:12 2020] RAPL PMU: API unit is 2^-32 Joules, 3 fixed counters, 163840 ms ovfl timer
[Thu May 28 03:52:12 2020] RAPL PMU: hw unit of domain pp0-core 2^-16 Joules
[Thu May 28 03:52:12 2020] RAPL PMU: hw unit of domain package 2^-16 Joules
[Thu May 28 03:52:12 2020] RAPL PMU: hw unit of domain pp1-gpu 2^-16 Joules
[Thu May 28 03:52:13 2020] samsung_laptop: detected SABI interface: SwSmi@
[Thu May 28 03:52:13 2020] Error: Driver 'pcspkr' is already registered, aborting...
[Thu May 28 03:52:13 2020] cfg80211: Loading compiled-in X.509 certificates for regulatory database
[Thu May 28 03:52:13 2020] ==================================================================
[Thu May 28 03:52:13 2020] BUG: KCSAN: data-race in page_counter_try_charge / page_counter_try_charge

[Thu May 28 03:52:13 2020] write to 0xffff99a41421b288 of 8 bytes by task 434 on cpu 3:
[Thu May 28 03:52:13 2020]  page_counter_try_charge+0x97/0x170
[Thu May 28 03:52:13 2020]  __memcg_kmem_charge_page+0x244/0x280
[Thu May 28 03:52:13 2020]  __alloc_pages_nodemask+0x260/0x370
[Thu May 28 03:52:13 2020]  alloc_pages_current+0x16b/0x270
[Thu May 28 03:52:13 2020]  __pmd_alloc+0x33/0x1b0
[Thu May 28 03:52:13 2020]  copy_page_range+0x609/0x6f0
[Thu May 28 03:52:13 2020]  dup_mmap+0x5aa/0x760
[Thu May 28 03:52:13 2020]  dup_mm+0x7b/0x1f0
[Thu May 28 03:52:13 2020]  copy_process+0x1335/0x2ac0
[Thu May 28 03:52:13 2020]  _do_fork+0x9b/0x490
[Thu May 28 03:52:13 2020]  __x64_sys_clone+0xdf/0x110
[Thu May 28 03:52:13 2020]  do_syscall_64+0x62/0xb0
[Thu May 28 03:52:13 2020]  entry_SYSCALL_64_after_hwframe+0x44/0xa9

[Thu May 28 03:52:13 2020] read to 0xffff99a41421b288 of 8 bytes by task 433 on cpu 1:
[Thu May 28 03:52:13 2020]  page_counter_try_charge+0x89/0x170
[Thu May 28 03:52:13 2020]  __memcg_kmem_charge_page+0x244/0x280
[Thu May 28 03:52:13 2020]  __alloc_pages_nodemask+0x260/0x370
[Thu May 28 03:52:13 2020]  alloc_pages_current+0x16b/0x270
[Thu May 28 03:52:13 2020]  get_zeroed_page+0x1b/0x40
[Thu May 28 03:52:13 2020]  __pud_alloc+0x32/0x150
[Thu May 28 03:52:13 2020]  copy_page_range+0x629/0x6f0
[Thu May 28 03:52:13 2020]  dup_mmap+0x5aa/0x760
[Thu May 28 03:52:13 2020]  dup_mm+0x7b/0x1f0
[Thu May 28 03:52:13 2020]  copy_process+0x1335/0x2ac0
[Thu May 28 03:52:13 2020]  _do_fork+0x9b/0x490
[Thu May 28 03:52:13 2020]  __x64_sys_clone+0xdf/0x110
[Thu May 28 03:52:13 2020]  do_syscall_64+0x62/0xb0
[Thu May 28 03:52:13 2020]  entry_SYSCALL_64_after_hwframe+0x44/0xa9

[Thu May 28 03:52:13 2020] Reported by Kernel Concurrency Sanitizer on:
[Thu May 28 03:52:13 2020] CPU: 1 PID: 433 Comm: hdparm Tainted: G            E     5.7.0-rc7-3-amd64-clang #3~bullseye+dileks1
[Thu May 28 03:52:13 2020] Hardware name: SAMSUNG ELECTRONICS CO., LTD. 530U3BI/530U4BI/530U4BH/530U3BI/530U4BI/530U4BH, BIOS 13XK 03/28/2013
[Thu May 28 03:52:13 2020] ==================================================================
[Thu May 28 03:52:13 2020] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
[Thu May 28 03:52:14 2020] usb 3-1.5: USB disconnect, device number 4
[Thu May 28 03:52:14 2020] cryptd: max_cpu_qlen set to 1000
[Thu May 28 03:52:15 2020] ==================================================================
[Thu May 28 03:52:15 2020] BUG: KCSAN: data-race in ep_poll_callback / ep_send_events_proc

[Thu May 28 03:52:15 2020] write to 0xffff99a40d45c3f0 of 4 bytes by task 330 on cpu 3:
[Thu May 28 03:52:15 2020]  ep_send_events_proc+0x39e/0x4b0
[Thu May 28 03:52:15 2020]  ep_scan_ready_list+0x134/0x2e0
[Thu May 28 03:52:15 2020]  do_epoll_wait+0x435/0x6e0
[Thu May 28 03:52:15 2020]  __x64_sys_epoll_wait+0x4d/0x60
[Thu May 28 03:52:15 2020]  do_syscall_64+0x62/0xb0
[Thu May 28 03:52:15 2020]  entry_SYSCALL_64_after_hwframe+0x44/0xa9

[Thu May 28 03:52:15 2020] read to 0xffff99a40d45c3f0 of 4 bytes by task 487 on cpu 2:
[Thu May 28 03:52:15 2020]  ep_poll_callback+0x31f/0x3f0
[Thu May 28 03:52:15 2020]  __wake_up_common+0xc2/0x130
[Thu May 28 03:52:15 2020]  __wake_up+0x80/0xc0
[Thu May 28 03:52:15 2020]  pipe_release+0xc5/0x190
[Thu May 28 03:52:15 2020]  __fput+0x18f/0x370
[Thu May 28 03:52:15 2020]  ____fput+0xa/0x10
[Thu May 28 03:52:15 2020]  task_work_run+0xd0/0xf0
[Thu May 28 03:52:15 2020]  do_exit+0x3ce/0x1110
[Thu May 28 03:52:15 2020]  do_group_exit+0x126/0x130
[Thu May 28 03:52:15 2020]  __do_sys_exit_group+0xb/0x10
[Thu May 28 03:52:15 2020]  __se_sys_exit_group+0xa/0x10
[Thu May 28 03:52:15 2020]  __x64_sys_exit_group+0x1b/0x20
[Thu May 28 03:52:15 2020]  do_syscall_64+0x62/0xb0
[Thu May 28 03:52:15 2020]  entry_SYSCALL_64_after_hwframe+0x44/0xa9

[Thu May 28 03:52:15 2020] Reported by Kernel Concurrency Sanitizer on:
[Thu May 28 03:52:15 2020] CPU: 2 PID: 487 Comm: ata_id Tainted: G            E     5.7.0-rc7-3-amd64-clang #3~bullseye+dileks1
[Thu May 28 03:52:15 2020] Hardware name: SAMSUNG ELECTRONICS CO., LTD. 530U3BI/530U4BI/530U4BH/530U3BI/530U4BI/530U4BH, BIOS 13XK 03/28/2013
[Thu May 28 03:52:15 2020] ==================================================================
[Thu May 28 03:52:15 2020] cfg80211: loaded regulatory.db is malformed or signature is missing/invalid
[Thu May 28 03:52:16 2020] AVX version of gcm_enc/dec engaged.
[Thu May 28 03:52:16 2020] AES CTR mode by8 optimization enabled
[Thu May 28 03:52:18 2020] Intel(R) Wireless WiFi driver for Linux
[Thu May 28 03:52:18 2020] Copyright(c) 2003- 2015 Intel Corporation
[Thu May 28 03:52:18 2020] iwlwifi 0000:01:00.0: can't disable ASPM; OS doesn't have ASPM control
[Thu May 28 03:52:18 2020] i915 0000:00:02.0: vgaarb: deactivate vga console
[Thu May 28 03:52:18 2020] Console: switching to colour dummy device 80x25
[Thu May 28 03:52:18 2020] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[Thu May 28 03:52:18 2020] i915 0000:00:02.0: vgaarb: changed VGA decodes: olddecodes=io+mem,decodes=io+mem:owns=io+mem
[Thu May 28 03:52:18 2020] mc: Linux media interface: v0.10
[Thu May 28 03:52:18 2020] iwlwifi 0000:01:00.0: loaded firmware version 18.168.6.1 6000g2b-6.ucode op_mode iwldvm
[Thu May 28 03:52:18 2020] iwlwifi 0000:01:00.0: Direct firmware load for iwl-debug-yoyo.bin failed with error -2
[Thu May 28 03:52:18 2020] [drm] Initialized i915 1.6.0 20200313 for 0000:00:02.0 on minor 0
[Thu May 28 03:52:18 2020] alg: No test for fips(ansi_cprng) (fips_ansi_cprng)
[Thu May 28 03:52:18 2020] ACPI: Video Device [GFX0] (multi-head: yes  rom: no  post: no)
[Thu May 28 03:52:18 2020] input: Video Bus as /devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/LNXVIDEO:00/input/input9
[Thu May 28 03:52:18 2020] snd_hda_intel 0000:00:1b.0: bound 0000:00:02.0 (ops i915_audio_component_bind_ops [i915])
[Thu May 28 03:52:18 2020] fbcon: i915drmfb (fb0) is primary device
[Thu May 28 03:52:18 2020] videodev: Linux video capture interface: v2.00
[Thu May 28 03:52:19 2020] Console: switching to colour frame buffer device 170x48
[Thu May 28 03:52:19 2020] i915 0000:00:02.0: fb0: i915drmfb frame buffer device
[Thu May 28 03:52:19 2020] Bluetooth: Core ver 2.22
[Thu May 28 03:52:19 2020] NET: Registered protocol family 31
[Thu May 28 03:52:19 2020] Bluetooth: HCI device and connection manager initialized
[Thu May 28 03:52:19 2020] Bluetooth: HCI socket layer initialized
[Thu May 28 03:52:19 2020] Bluetooth: L2CAP socket layer initialized
[Thu May 28 03:52:19 2020] Bluetooth: SCO socket layer initialized
[Thu May 28 03:52:19 2020] iwlwifi 0000:01:00.0: CONFIG_IWLWIFI_DEBUG disabled
[Thu May 28 03:52:19 2020] iwlwifi 0000:01:00.0: CONFIG_IWLWIFI_DEBUGFS disabled
[Thu May 28 03:52:19 2020] iwlwifi 0000:01:00.0: CONFIG_IWLWIFI_DEVICE_TRACING disabled
[Thu May 28 03:52:19 2020] iwlwifi 0000:01:00.0: Detected Intel(R) Centrino(R) Advanced-N 6230 AGN, REV=0xB0
[Thu May 28 03:52:19 2020] ieee80211 phy0: Selected rate control algorithm 'iwl-agn-rs'
[Thu May 28 03:52:19 2020] iwlwifi 0000:01:00.0 wlp1s0: renamed from wlan0
[Thu May 28 03:52:20 2020] uvcvideo: Found UVC 1.00 device WebCam SC-13HDL11431N (2232:1018)
[Thu May 28 03:52:20 2020] uvcvideo 1-1.4:1.0: Entity type for entity Extension 3 was not initialized!
[Thu May 28 03:52:20 2020] uvcvideo 1-1.4:1.0: Entity type for entity Processing 2 was not initialized!
[Thu May 28 03:52:20 2020] uvcvideo 1-1.4:1.0: Entity type for entity Camera 1 was not initialized!
[Thu May 28 03:52:20 2020] input: WebCam SC-13HDL11431N: WebCam S as /devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.4/1-1.4:1.0/input/input10
[Thu May 28 03:52:20 2020] usbcore: registered new interface driver uvcvideo
[Thu May 28 03:52:20 2020] USB Video Class driver (1.1.1)
[Thu May 28 03:52:20 2020] snd_hda_codec_realtek hdaudioC0D0: autoconfig for ALC269VC: line_outs=1 (0x14/0x0/0x0/0x0/0x0) type:speaker
[Thu May 28 03:52:20 2020] Adding 31249404k swap on /dev/sdc1.  Priority:-2 extents:1 across:31249404k FS
[Thu May 28 03:52:20 2020] snd_hda_codec_realtek hdaudioC0D0:    speaker_outs=0 (0x0/0x0/0x0/0x0/0x0)
[Thu May 28 03:52:20 2020] snd_hda_codec_realtek hdaudioC0D0:    hp_outs=1 (0x15/0x0/0x0/0x0/0x0)
[Thu May 28 03:52:20 2020] snd_hda_codec_realtek hdaudioC0D0:    mono: mono_out=0x0
[Thu May 28 03:52:20 2020] snd_hda_codec_realtek hdaudioC0D0:    inputs:
[Thu May 28 03:52:20 2020] snd_hda_codec_realtek hdaudioC0D0:      Internal Mic=0x19
[Thu May 28 03:52:20 2020] snd_hda_codec_realtek hdaudioC0D0:      Mic=0x18
[Thu May 28 03:52:20 2020] usbcore: registered new interface driver btusb
[Thu May 28 03:52:20 2020] input: HDA Intel PCH Mic as /devices/pci0000:00/0000:00:1b.0/sound/card0/input11
[Thu May 28 03:52:20 2020] input: HDA Intel PCH Headphone as /devices/pci0000:00/0000:00:1b.0/sound/card0/input12
[Thu May 28 03:52:20 2020] input: HDA Intel PCH HDMI/DP,pcm=3 as /devices/pci0000:00/0000:00:1b.0/sound/card0/input13
[Thu May 28 03:52:21 2020] ==================================================================
[Thu May 28 03:52:21 2020] BUG: KCSAN: data-race in mutex_spin_on_owner+0xe0/0x1b0

[Thu May 28 03:52:21 2020] race at unknown origin, with read to 0xffff99a4137feaf8 of 4 bytes by task 332 on cpu 1:
[Thu May 28 03:52:21 2020]  mutex_spin_on_owner+0xe0/0x1b0
[Thu May 28 03:52:21 2020]  __mutex_lock+0x1cc/0x770
[Thu May 28 03:52:21 2020]  __mutex_lock_slowpath+0xf/0x10
[Thu May 28 03:52:21 2020]  mutex_lock+0x99/0xa0
[Thu May 28 03:52:21 2020]  resolve_symbol+0x39/0x3f0
[Thu May 28 03:52:21 2020]  simplify_symbols+0x28f/0x500
[Thu May 28 03:52:21 2020]  load_module+0x3100/0x53b0
[Thu May 28 03:52:21 2020]  __se_sys_finit_module+0xeb/0x120
[Thu May 28 03:52:21 2020]  __x64_sys_finit_module+0x3f/0x50
[Thu May 28 03:52:21 2020]  do_syscall_64+0x62/0xb0
[Thu May 28 03:52:21 2020]  entry_SYSCALL_64_after_hwframe+0x44/0xa9

[Thu May 28 03:52:21 2020] Reported by Kernel Concurrency Sanitizer on:
[Thu May 28 03:52:21 2020] CPU: 1 PID: 332 Comm: systemd-udevd Tainted: G            E     5.7.0-rc7-3-amd64-clang #3~bullseye+dileks1
[Thu May 28 03:52:21 2020] Hardware name: SAMSUNG ELECTRONICS CO., LTD. 530U3BI/530U4BI/530U4BH/530U3BI/530U4BI/530U4BH, BIOS 13XK 03/28/2013
[Thu May 28 03:52:21 2020] ==================================================================
[Thu May 28 03:52:22 2020] intel_rapl_common: Found RAPL domain package
[Thu May 28 03:52:22 2020] intel_rapl_common: Found RAPL domain core
[Thu May 28 03:52:22 2020] intel_rapl_common: Found RAPL domain uncore
[Thu May 28 03:52:22 2020] intel_rapl_common: RAPL package-0 domain package locked by BIOS
[Thu May 28 03:52:25 2020] ==================================================================
[Thu May 28 03:52:25 2020] BUG: KCSAN: data-race in mutex_spin_on_owner+0xe0/0x1b0

[Thu May 28 03:52:25 2020] race at unknown origin, with read to 0xffff99a307f1dbb8 of 4 bytes by task 159 on cpu 3:
[Thu May 28 03:52:25 2020]  mutex_spin_on_owner+0xe0/0x1b0
[Thu May 28 03:52:25 2020]  __mutex_lock+0x1cc/0x770
[Thu May 28 03:52:25 2020]  __mutex_lock_slowpath+0xf/0x10
[Thu May 28 03:52:25 2020]  mutex_lock+0x99/0xa0
[Thu May 28 03:52:25 2020]  memcg_create_kmem_cache+0x2a/0x110
[Thu May 28 03:52:25 2020]  memcg_kmem_cache_create_func+0x34/0xb0
[Thu May 28 03:52:25 2020]  process_one_work+0x45b/0x7f0
[Thu May 28 03:52:25 2020]  worker_thread+0x5e4/0xa50
[Thu May 28 03:52:25 2020]  kthread+0x1dc/0x1f0
[Thu May 28 03:52:25 2020]  ret_from_fork+0x35/0x40

[Thu May 28 03:52:25 2020] Reported by Kernel Concurrency Sanitizer on:
[Thu May 28 03:52:25 2020] CPU: 3 PID: 159 Comm: kworker/3:3 Tainted: G            E     5.7.0-rc7-3-amd64-clang #3~bullseye+dileks1
[Thu May 28 03:52:25 2020] Hardware name: SAMSUNG ELECTRONICS CO., LTD. 530U3BI/530U4BI/530U4BH/530U3BI/530U4BI/530U4BH, BIOS 13XK 03/28/2013
[Thu May 28 03:52:25 2020] Workqueue: memcg_kmem_cache memcg_kmem_cache_create_func
[Thu May 28 03:52:25 2020] ==================================================================
[Thu May 28 03:52:26 2020] ==================================================================
[Thu May 28 03:52:26 2020] BUG: KCSAN: data-race in dd_has_work / deadline_remove_request

[Thu May 28 03:52:26 2020] write (marked) to 0xffff99a40c20ff90 of 8 bytes by task 186 on cpu 2:
[Thu May 28 03:52:26 2020]  deadline_remove_request+0x6e/0x150
[Thu May 28 03:52:26 2020]  dd_dispatch_request+0x558/0x5c0
[Thu May 28 03:52:26 2020]  blk_mq_sched_dispatch_requests+0x49d/0x5b0
[Thu May 28 03:52:26 2020]  __blk_mq_run_hw_queue+0xd8/0x160
[Thu May 28 03:52:26 2020]  blk_mq_run_work_fn+0x3b/0x40
[Thu May 28 03:52:26 2020]  process_one_work+0x45b/0x7f0
[Thu May 28 03:52:26 2020]  worker_thread+0x5e4/0xa50
[Thu May 28 03:52:26 2020]  kthread+0x1dc/0x1f0
[Thu May 28 03:52:26 2020]  ret_from_fork+0x35/0x40

[Thu May 28 03:52:26 2020] read to 0xffff99a40c20ff90 of 8 bytes by task 761 on cpu 0:
[Thu May 28 03:52:26 2020]  dd_has_work+0x6b/0xb0
[Thu May 28 03:52:26 2020]  blk_mq_run_hw_queue+0x11f/0x1a0
[Thu May 28 03:52:26 2020]  blk_mq_get_tag+0x2d7/0x490
[Thu May 28 03:52:26 2020]  blk_mq_get_request+0x1cf/0x750
[Thu May 28 03:52:26 2020]  blk_mq_make_request+0x1f8/0xc50
[Thu May 28 03:52:26 2020]  generic_make_request+0x185/0x450
[Thu May 28 03:52:26 2020]  submit_bio+0x8c/0x280
[Thu May 28 03:52:26 2020]  submit_bh_wbc+0x38a/0x3b0
[Thu May 28 03:52:26 2020]  ll_rw_block+0x137/0x150
[Thu May 28 03:52:26 2020]  __breadahead_gfp+0x42/0xb0
[Thu May 28 03:52:26 2020]  __ext4_get_inode_loc+0x598/0x820 [ext4]
[Thu May 28 03:52:26 2020]  __ext4_iget+0x187/0x1ca0 [ext4]
[Thu May 28 03:52:26 2020]  ext4_lookup+0x1dd/0x3b0 [ext4]
[Thu May 28 03:52:26 2020]  path_openat+0xaa3/0x1610
[Thu May 28 03:52:26 2020]  do_filp_open+0xb3/0x190
[Thu May 28 03:52:26 2020]  do_sys_openat2+0x1ce/0x2c0
[Thu May 28 03:52:26 2020]  __x64_sys_openat+0xb0/0xe0
[Thu May 28 03:52:26 2020]  do_syscall_64+0x62/0xb0
[Thu May 28 03:52:26 2020]  entry_SYSCALL_64_after_hwframe+0x44/0xa9

[Thu May 28 03:52:26 2020] Reported by Kernel Concurrency Sanitizer on:
[Thu May 28 03:52:26 2020] CPU: 0 PID: 761 Comm: cupsd Tainted: G            E     5.7.0-rc7-3-amd64-clang #3~bullseye+dileks1
[Thu May 28 03:52:26 2020] Hardware name: SAMSUNG ELECTRONICS CO., LTD. 530U3BI/530U4BI/530U4BH/530U3BI/530U4BI/530U4BH, BIOS 13XK 03/28/2013
[Thu May 28 03:52:26 2020] ==================================================================
[Thu May 28 03:52:31 2020] ==================================================================
[Thu May 28 03:52:31 2020] BUG: KCSAN: data-race in dd_has_work / deadline_remove_request

[Thu May 28 03:52:31 2020] write (marked) to 0xffff99a40c20ff90 of 8 bytes by task 189 on cpu 0:
[Thu May 28 03:52:31 2020]  deadline_remove_request+0x6e/0x150
[Thu May 28 03:52:31 2020]  dd_dispatch_request+0x558/0x5c0
[Thu May 28 03:52:31 2020]  blk_mq_sched_dispatch_requests+0x49d/0x5b0
[Thu May 28 03:52:31 2020]  __blk_mq_run_hw_queue+0xd8/0x160
[Thu May 28 03:52:31 2020]  blk_mq_run_work_fn+0x3b/0x40
[Thu May 28 03:52:31 2020]  process_one_work+0x45b/0x7f0
[Thu May 28 03:52:31 2020]  worker_thread+0x5e4/0xa50
[Thu May 28 03:52:31 2020]  kthread+0x1dc/0x1f0
[Thu May 28 03:52:31 2020]  ret_from_fork+0x35/0x40

[Thu May 28 03:52:31 2020] read to 0xffff99a40c20ff90 of 8 bytes by task 763 on cpu 1:
[Thu May 28 03:52:31 2020]  dd_has_work+0x6b/0xb0
[Thu May 28 03:52:31 2020]  blk_mq_sched_dispatch_requests+0x435/0x5b0
[Thu May 28 03:52:31 2020]  __blk_mq_run_hw_queue+0xd8/0x160
[Thu May 28 03:52:31 2020]  __blk_mq_delay_run_hw_queue+0x11f/0x240
[Thu May 28 03:52:31 2020]  blk_mq_run_hw_queue+0x17e/0x1a0
[Thu May 28 03:52:31 2020]  blk_mq_get_tag+0x2d7/0x490
[Thu May 28 03:52:31 2020]  blk_mq_get_request+0x1cf/0x750
[Thu May 28 03:52:31 2020]  blk_mq_make_request+0x1f8/0xc50
[Thu May 28 03:52:31 2020]  generic_make_request+0x185/0x450
[Thu May 28 03:52:31 2020]  submit_bio+0x8c/0x280
[Thu May 28 03:52:31 2020]  ext4_mpage_readpages+0x9e5/0xd90 [ext4]
[Thu May 28 03:52:31 2020]  ext4_readpages+0x81/0x90 [ext4]
[Thu May 28 03:52:31 2020]  read_pages+0x6f/0x270
[Thu May 28 03:52:31 2020]  __do_page_cache_readahead+0x140/0x270
[Thu May 28 03:52:31 2020]  filemap_fault+0x56d/0xe10
[Thu May 28 03:52:31 2020]  ext4_filemap_fault+0x48/0x60 [ext4]
[Thu May 28 03:52:31 2020]  __do_fault+0x96/0x250
[Thu May 28 03:52:31 2020]  do_read_fault+0x2c6/0x3c0
[Thu May 28 03:52:31 2020]  handle_mm_fault+0xa70/0xf70
[Thu May 28 03:52:31 2020]  do_user_addr_fault+0x219/0x440
[Thu May 28 03:52:31 2020]  page_fault+0x34/0x40

[Thu May 28 03:52:31 2020] Reported by Kernel Concurrency Sanitizer on:
[Thu May 28 03:52:31 2020] CPU: 1 PID: 763 Comm: NetworkManager Tainted: G            E     5.7.0-rc7-3-amd64-clang #3~bullseye+dileks1
[Thu May 28 03:52:31 2020] Hardware name: SAMSUNG ELECTRONICS CO., LTD. 530U3BI/530U4BI/530U4BH/530U3BI/530U4BI/530U4BH, BIOS 13XK 03/28/2013
[Thu May 28 03:52:31 2020] ==================================================================
[Thu May 28 03:52:37 2020] kauditd_printk_skb: 14 callbacks suppressed
[Thu May 28 03:52:37 2020] audit: type=1400 audit(1590630757.367:26): apparmor="DENIED" operation="capable" profile="/usr/sbin/cups-browsed" pid=808 comm="cups-browsed" capability=23  capname="sys_nice"
[Thu May 28 03:52:38 2020] ==================================================================
[Thu May 28 03:52:38 2020] BUG: KCSAN: data-race in dd_has_work / deadline_remove_request

[Thu May 28 03:52:38 2020] write (marked) to 0xffff99a40c20ff90 of 8 bytes by task 186 on cpu 2:
[Thu May 28 03:52:38 2020]  deadline_remove_request+0x6e/0x150
[Thu May 28 03:52:38 2020]  dd_dispatch_request+0x558/0x5c0
[Thu May 28 03:52:38 2020]  blk_mq_sched_dispatch_requests+0x49d/0x5b0
[Thu May 28 03:52:38 2020]  __blk_mq_run_hw_queue+0xd8/0x160
[Thu May 28 03:52:38 2020]  blk_mq_run_work_fn+0x3b/0x40
[Thu May 28 03:52:38 2020]  process_one_work+0x45b/0x7f0
[Thu May 28 03:52:38 2020]  worker_thread+0x5e4/0xa50
[Thu May 28 03:52:38 2020]  kthread+0x1dc/0x1f0
[Thu May 28 03:52:38 2020]  ret_from_fork+0x35/0x40

[Thu May 28 03:52:38 2020] read to 0xffff99a40c20ff90 of 8 bytes by task 763 on cpu 3:
[Thu May 28 03:52:38 2020]  dd_has_work+0x6b/0xb0
[Thu May 28 03:52:38 2020]  blk_mq_run_hw_queue+0x11f/0x1a0
[Thu May 28 03:52:38 2020]  blk_mq_get_tag+0x2d7/0x490
[Thu May 28 03:52:38 2020]  blk_mq_get_request+0x1cf/0x750
[Thu May 28 03:52:38 2020]  blk_mq_make_request+0x1f8/0xc50
[Thu May 28 03:52:38 2020]  generic_make_request+0x185/0x450
[Thu May 28 03:52:38 2020]  submit_bio+0x8c/0x280
[Thu May 28 03:52:38 2020]  submit_bh_wbc+0x38a/0x3b0
[Thu May 28 03:52:38 2020]  ll_rw_block+0x137/0x150
[Thu May 28 03:52:38 2020]  __breadahead_gfp+0x42/0xb0
[Thu May 28 03:52:38 2020]  __ext4_get_inode_loc+0x598/0x820 [ext4]
[Thu May 28 03:52:38 2020]  __ext4_iget+0x187/0x1ca0 [ext4]
[Thu May 28 03:52:38 2020]  ext4_lookup+0x1dd/0x3b0 [ext4]
[Thu May 28 03:52:38 2020]  path_openat+0xaa3/0x1610
[Thu May 28 03:52:38 2020]  do_filp_open+0xb3/0x190
[Thu May 28 03:52:38 2020]  do_sys_openat2+0x1ce/0x2c0
[Thu May 28 03:52:38 2020]  __x64_sys_openat+0xb0/0xe0
[Thu May 28 03:52:38 2020]  do_syscall_64+0x62/0xb0
[Thu May 28 03:52:38 2020]  entry_SYSCALL_64_after_hwframe+0x44/0xa9

[Thu May 28 03:52:38 2020] Reported by Kernel Concurrency Sanitizer on:
[Thu May 28 03:52:38 2020] CPU: 3 PID: 763 Comm: NetworkManager Tainted: G            E     5.7.0-rc7-3-amd64-clang #3~bullseye+dileks1
[Thu May 28 03:52:38 2020] Hardware name: SAMSUNG ELECTRONICS CO., LTD. 530U3BI/530U4BI/530U4BH/530U3BI/530U4BI/530U4BH, BIOS 13XK 03/28/2013
[Thu May 28 03:52:38 2020] ==================================================================
[Thu May 28 03:52:39 2020] RTL8211E Gigabit Ethernet r8169-200:00: attached PHY driver [RTL8211E Gigabit Ethernet] (mii_bus:phy_addr=r8169-200:00, irq=IGNORE)
[Thu May 28 03:52:39 2020] r8169 0000:02:00.0 enp2s0: Link is Down
[Thu May 28 03:52:39 2020] iwlwifi 0000:01:00.0: Radio type=0x1-0x2-0x0
[Thu May 28 03:52:39 2020] iwlwifi 0000:01:00.0: Radio type=0x1-0x2-0x0
[Thu May 28 03:52:39 2020] iwlwifi 0000:01:00.0: Radio type=0x1-0x2-0x0
[Thu May 28 03:52:40 2020] iwlwifi 0000:01:00.0: Radio type=0x1-0x2-0x0
[Thu May 28 03:52:53 2020] ==================================================================
[Thu May 28 03:52:53 2020] BUG: KCSAN: data-race in dd_has_work / dd_insert_requests

[Thu May 28 03:52:53 2020] write to 0xffff99a40c20ff98 of 8 bytes by task 1159 on cpu 1:
[Thu May 28 03:52:53 2020]  dd_insert_requests+0x327/0x360
[Thu May 28 03:52:53 2020]  blk_mq_sched_insert_requests+0xb2/0x190
[Thu May 28 03:52:53 2020]  blk_mq_flush_plug_list+0x160/0x360
[Thu May 28 03:52:53 2020]  blk_flush_plug_list+0x1d4/0x200
[Thu May 28 03:52:53 2020]  blk_finish_plug+0x38/0x50
[Thu May 28 03:52:53 2020]  read_pages+0x81/0x270
[Thu May 28 03:52:53 2020]  __do_page_cache_readahead+0x221/0x270
[Thu May 28 03:52:53 2020]  ondemand_readahead+0x33e/0x400
[Thu May 28 03:52:53 2020]  page_cache_sync_readahead+0xf0/0x220
[Thu May 28 03:52:53 2020]  generic_file_buffered_read+0x269/0x12b0
[Thu May 28 03:52:53 2020]  generic_file_read_iter+0x67/0x290
[Thu May 28 03:52:53 2020]  ext4_file_read_iter+0x25b/0x2c0 [ext4]
[Thu May 28 03:52:53 2020]  __vfs_read+0x28d/0x2c0
[Thu May 28 03:52:53 2020]  vfs_read+0xc8/0x1c0
[Thu May 28 03:52:53 2020]  ksys_read+0x90/0x110
[Thu May 28 03:52:53 2020]  __x64_sys_read+0x3e/0x50
[Thu May 28 03:52:53 2020]  do_syscall_64+0x62/0xb0
[Thu May 28 03:52:53 2020]  entry_SYSCALL_64_after_hwframe+0x44/0xa9

[Thu May 28 03:52:53 2020] read to 0xffff99a40c20ff98 of 8 bytes by task 192 on cpu 3:
[Thu May 28 03:52:53 2020]  dd_has_work+0x7a/0xb0
[Thu May 28 03:52:53 2020]  blk_mq_sched_dispatch_requests+0x435/0x5b0
[Thu May 28 03:52:53 2020]  __blk_mq_run_hw_queue+0xd8/0x160
[Thu May 28 03:52:53 2020]  blk_mq_run_work_fn+0x3b/0x40
[Thu May 28 03:52:53 2020]  process_one_work+0x45b/0x7f0
[Thu May 28 03:52:53 2020]  worker_thread+0x5e4/0xa50
[Thu May 28 03:52:53 2020]  kthread+0x1dc/0x1f0
[Thu May 28 03:52:53 2020]  ret_from_fork+0x35/0x40

[Thu May 28 03:52:53 2020] Reported by Kernel Concurrency Sanitizer on:
[Thu May 28 03:52:53 2020] CPU: 3 PID: 192 Comm: kworker/3:1H Tainted: G            E     5.7.0-rc7-3-amd64-clang #3~bullseye+dileks1
[Thu May 28 03:52:53 2020] Hardware name: SAMSUNG ELECTRONICS CO., LTD. 530U3BI/530U4BI/530U4BH/530U3BI/530U4BI/530U4BH, BIOS 13XK 03/28/2013
[Thu May 28 03:52:53 2020] Workqueue: kblockd blk_mq_run_work_fn
[Thu May 28 03:52:53 2020] ==================================================================
[Thu May 28 03:52:56 2020] ==================================================================
[Thu May 28 03:52:56 2020] BUG: KCSAN: data-race in dd_has_work / deadline_remove_request

[Thu May 28 03:52:56 2020] write (marked) to 0xffff99a40c20ff90 of 8 bytes by task 191 on cpu 1:
[Thu May 28 03:52:56 2020]  deadline_remove_request+0x6e/0x150
[Thu May 28 03:52:56 2020]  dd_dispatch_request+0x558/0x5c0
[Thu May 28 03:52:56 2020]  blk_mq_sched_dispatch_requests+0x49d/0x5b0
[Thu May 28 03:52:56 2020]  __blk_mq_run_hw_queue+0xd8/0x160
[Thu May 28 03:52:56 2020]  blk_mq_run_work_fn+0x3b/0x40
[Thu May 28 03:52:56 2020]  process_one_work+0x45b/0x7f0
[Thu May 28 03:52:56 2020]  worker_thread+0x5e4/0xa50
[Thu May 28 03:52:56 2020]  kthread+0x1dc/0x1f0
[Thu May 28 03:52:56 2020]  ret_from_fork+0x35/0x40

[Thu May 28 03:52:56 2020] read to 0xffff99a40c20ff90 of 8 bytes by task 895 on cpu 2:
[Thu May 28 03:52:56 2020]  dd_has_work+0x6b/0xb0
[Thu May 28 03:52:56 2020]  blk_mq_run_hw_queue+0x11f/0x1a0
[Thu May 28 03:52:56 2020]  blk_mq_get_tag+0x2d7/0x490
[Thu May 28 03:52:56 2020]  blk_mq_get_request+0x1cf/0x750
[Thu May 28 03:52:56 2020]  blk_mq_make_request+0x1f8/0xc50
[Thu May 28 03:52:56 2020]  generic_make_request+0x185/0x450
[Thu May 28 03:52:56 2020]  submit_bio+0x8c/0x280
[Thu May 28 03:52:56 2020]  submit_bh_wbc+0x38a/0x3b0
[Thu May 28 03:52:56 2020]  ll_rw_block+0x137/0x150
[Thu May 28 03:52:56 2020]  ext4_bread+0x6c/0x130 [ext4]
[Thu May 28 03:52:56 2020]  __ext4_read_dirblock+0x35/0x630 [ext4]
[Thu May 28 03:52:56 2020]  htree_dirblock_to_tree+0x74/0x3c0 [ext4]
[Thu May 28 03:52:56 2020]  ext4_htree_fill_tree+0x1fb/0x740 [ext4]
[Thu May 28 03:52:56 2020]  ext4_readdir+0x1334/0x17b0 [ext4]
[Thu May 28 03:52:56 2020]  iterate_dir+0x14c/0x230
[Thu May 28 03:52:56 2020]  ksys_getdents64+0xa2/0x140
[Thu May 28 03:52:56 2020]  __x64_sys_getdents64+0x3d/0x50
[Thu May 28 03:52:56 2020]  do_syscall_64+0x62/0xb0
[Thu May 28 03:52:56 2020]  entry_SYSCALL_64_after_hwframe+0x44/0xa9

[Thu May 28 03:52:56 2020] Reported by Kernel Concurrency Sanitizer on:
[Thu May 28 03:52:56 2020] CPU: 2 PID: 895 Comm: find Tainted: G            E     5.7.0-rc7-3-amd64-clang #3~bullseye+dileks1
[Thu May 28 03:52:56 2020] Hardware name: SAMSUNG ELECTRONICS CO., LTD. 530U3BI/530U4BI/530U4BH/530U3BI/530U4BI/530U4BH, BIOS 13XK 03/28/2013
[Thu May 28 03:52:56 2020] ==================================================================
[Thu May 28 03:52:57 2020] fuse: init (API version 7.31)
[Thu May 28 03:52:59 2020] ==================================================================
[Thu May 28 03:52:59 2020] BUG: KCSAN: data-race in blk_mq_sched_dispatch_requests / blk_mq_sched_dispatch_requests

[Thu May 28 03:52:59 2020] write to 0xffff99a416371188 of 8 bytes by task 1202 on cpu 1:
[Thu May 28 03:52:59 2020]  blk_mq_sched_dispatch_requests+0x102/0x5b0
[Thu May 28 03:52:59 2020]  __blk_mq_run_hw_queue+0xd8/0x160
[Thu May 28 03:52:59 2020]  __blk_mq_delay_run_hw_queue+0x11f/0x240
[Thu May 28 03:52:59 2020]  blk_mq_run_hw_queue+0x17e/0x1a0
[Thu May 28 03:52:59 2020]  blk_mq_get_tag+0x2d7/0x490
[Thu May 28 03:52:59 2020]  blk_mq_get_request+0x1cf/0x750
[Thu May 28 03:52:59 2020]  blk_mq_make_request+0x1f8/0xc50
[Thu May 28 03:52:59 2020]  generic_make_request+0x185/0x450
[Thu May 28 03:52:59 2020]  submit_bio+0x8c/0x280
[Thu May 28 03:52:59 2020]  submit_bh_wbc+0x38a/0x3b0
[Thu May 28 03:52:59 2020]  ll_rw_block+0x137/0x150
[Thu May 28 03:52:59 2020]  ext4_bread_batch+0x1a7/0x310 [ext4]
[Thu May 28 03:52:59 2020]  __ext4_find_entry+0x8bb/0xdb0 [ext4]
[Thu May 28 03:52:59 2020]  ext4_lookup+0x135/0x3b0 [ext4]
[Thu May 28 03:52:59 2020]  path_openat+0xaa3/0x1610
[Thu May 28 03:52:59 2020]  do_filp_open+0xb3/0x190
[Thu May 28 03:52:59 2020]  do_sys_openat2+0x1ce/0x2c0
[Thu May 28 03:52:59 2020]  __x64_sys_openat+0xb0/0xe0
[Thu May 28 03:52:59 2020]  do_syscall_64+0x62/0xb0
[Thu May 28 03:52:59 2020]  entry_SYSCALL_64_after_hwframe+0x44/0xa9

[Thu May 28 03:52:59 2020] read to 0xffff99a416371188 of 8 bytes by task 186 on cpu 2:
[Thu May 28 03:52:59 2020]  blk_mq_sched_dispatch_requests+0xef/0x5b0
[Thu May 28 03:52:59 2020]  __blk_mq_run_hw_queue+0xd8/0x160
[Thu May 28 03:52:59 2020]  blk_mq_run_work_fn+0x3b/0x40
[Thu May 28 03:52:59 2020]  process_one_work+0x45b/0x7f0
[Thu May 28 03:52:59 2020]  worker_thread+0x5e4/0xa50
[Thu May 28 03:52:59 2020]  kthread+0x1dc/0x1f0
[Thu May 28 03:52:59 2020]  ret_from_fork+0x35/0x40

[Thu May 28 03:52:59 2020] Reported by Kernel Concurrency Sanitizer on:
[Thu May 28 03:52:59 2020] CPU: 2 PID: 186 Comm: kworker/2:1H Tainted: G            E     5.7.0-rc7-3-amd64-clang #3~bullseye+dileks1
[Thu May 28 03:52:59 2020] Hardware name: SAMSUNG ELECTRONICS CO., LTD. 530U3BI/530U4BI/530U4BH/530U3BI/530U4BI/530U4BH, BIOS 13XK 03/28/2013
[Thu May 28 03:52:59 2020] Workqueue: kblockd blk_mq_run_work_fn
[Thu May 28 03:52:59 2020] ==================================================================
[Thu May 28 03:53:08 2020] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[Thu May 28 03:53:08 2020] Bluetooth: BNEP filters: protocol multicast
[Thu May 28 03:53:08 2020] Bluetooth: BNEP socket layer initialized
[Thu May 28 03:53:25 2020] ==================================================================
[Thu May 28 03:53:25 2020] BUG: KCSAN: data-race in rwsem_spin_on_owner+0x102/0x1a0

[Thu May 28 03:53:25 2020] race at unknown origin, with read to 0xffff99a3edcf5bb8 of 4 bytes by task 1306 on cpu 2:
[Thu May 28 03:53:25 2020]  rwsem_spin_on_owner+0x102/0x1a0
[Thu May 28 03:53:25 2020]  rwsem_optimistic_spin+0x4d/0x480
[Thu May 28 03:53:25 2020]  rwsem_down_read_slowpath+0x4e2/0x6c0
[Thu May 28 03:53:25 2020]  down_read+0x6e/0x190
[Thu May 28 03:53:25 2020]  do_user_addr_fault+0x3b9/0x440
[Thu May 28 03:53:25 2020]  page_fault+0x34/0x40

[Thu May 28 03:53:25 2020] Reported by Kernel Concurrency Sanitizer on:
[Thu May 28 03:53:25 2020] CPU: 2 PID: 1306 Comm: tracker-extract Tainted: G            E     5.7.0-rc7-3-amd64-clang #3~bullseye+dileks1
[Thu May 28 03:53:25 2020] Hardware name: SAMSUNG ELECTRONICS CO., LTD. 530U3BI/530U4BI/530U4BH/530U3BI/530U4BI/530U4BH, BIOS 13XK 03/28/2013
[Thu May 28 03:53:25 2020] ==================================================================
[Thu May 28 03:53:25 2020] ==================================================================
[Thu May 28 03:53:25 2020] BUG: KCSAN: data-race in page_counter_try_charge / page_counter_try_charge

[Thu May 28 03:53:25 2020] write to 0xffff99a40fbc6288 of 8 bytes by task 1306 on cpu 2:
[Thu May 28 03:53:25 2020]  page_counter_try_charge+0x97/0x170
[Thu May 28 03:53:25 2020]  __memcg_kmem_charge_page+0x244/0x280
[Thu May 28 03:53:25 2020]  __alloc_pages_nodemask+0x260/0x370
[Thu May 28 03:53:25 2020]  alloc_pages_current+0x16b/0x270
[Thu May 28 03:53:25 2020]  pte_alloc_one+0x13/0x40
[Thu May 28 03:53:25 2020]  do_read_fault+0x17c/0x3c0
[Thu May 28 03:53:25 2020]  handle_mm_fault+0xa70/0xf70
[Thu May 28 03:53:25 2020]  do_user_addr_fault+0x219/0x440
[Thu May 28 03:53:25 2020]  page_fault+0x34/0x40

[Thu May 28 03:53:25 2020] read to 0xffff99a40fbc6288 of 8 bytes by task 1327 on cpu 3:
[Thu May 28 03:53:25 2020]  page_counter_try_charge+0x89/0x170
[Thu May 28 03:53:25 2020]  __memcg_kmem_charge_page+0x244/0x280
[Thu May 28 03:53:25 2020]  memcg_charge_kernel_stack+0xd6/0xf0
[Thu May 28 03:53:25 2020]  copy_process+0x366/0x2ac0
[Thu May 28 03:53:25 2020]  _do_fork+0x9b/0x490
[Thu May 28 03:53:25 2020]  __x64_sys_clone+0xdf/0x110
[Thu May 28 03:53:25 2020]  do_syscall_64+0x62/0xb0
[Thu May 28 03:53:25 2020]  entry_SYSCALL_64_after_hwframe+0x44/0xa9

[Thu May 28 03:53:25 2020] Reported by Kernel Concurrency Sanitizer on:
[Thu May 28 03:53:25 2020] CPU: 3 PID: 1327 Comm: gnome-keyring-d Tainted: G            E     5.7.0-rc7-3-amd64-clang #3~bullseye+dileks1
[Thu May 28 03:53:25 2020] Hardware name: SAMSUNG ELECTRONICS CO., LTD. 530U3BI/530U4BI/530U4BH/530U3BI/530U4BI/530U4BH, BIOS 13XK 03/28/2013
[Thu May 28 03:53:25 2020] ==================================================================
[Thu May 28 03:53:39 2020] ==================================================================
[Thu May 28 03:53:39 2020] BUG: KCSAN: data-race in do_epoll_wait / ep_poll_callback

[Thu May 28 03:53:39 2020] write (marked) to 0xffff99a411a89058 of 8 bytes by task 1475 on cpu 0:
[Thu May 28 03:53:39 2020]  ep_poll_callback+0x223/0x3f0
[Thu May 28 03:53:39 2020]  __wake_up_common+0xc2/0x130
[Thu May 28 03:53:39 2020]  __wake_up_sync_key+0x83/0xc0
[Thu May 28 03:53:39 2020]  sock_def_readable+0x57/0xa0
[Thu May 28 03:53:39 2020]  unix_stream_sendmsg+0x6db/0x820
[Thu May 28 03:53:39 2020]  sock_write_iter+0x18f/0x1a0
[Thu May 28 03:53:39 2020]  do_iter_readv_writev+0x255/0x2a0
[Thu May 28 03:53:39 2020]  do_iter_write+0xc5/0x320
[Thu May 28 03:53:39 2020]  do_writev+0x127/0x280
[Thu May 28 03:53:39 2020]  __x64_sys_writev+0x41/0x50
[Thu May 28 03:53:39 2020]  do_syscall_64+0x62/0xb0
[Thu May 28 03:53:39 2020]  entry_SYSCALL_64_after_hwframe+0x44/0xa9

[Thu May 28 03:53:39 2020] read to 0xffff99a411a89058 of 8 bytes by task 837 on cpu 2:
[Thu May 28 03:53:39 2020]  do_epoll_wait+0x275/0x6e0
[Thu May 28 03:53:39 2020]  __x64_sys_epoll_wait+0x4d/0x60
[Thu May 28 03:53:39 2020]  do_syscall_64+0x62/0xb0
[Thu May 28 03:53:39 2020]  entry_SYSCALL_64_after_hwframe+0x44/0xa9

[Thu May 28 03:53:39 2020] Reported by Kernel Concurrency Sanitizer on:
[Thu May 28 03:53:39 2020] CPU: 2 PID: 837 Comm: Xorg Tainted: G            E     5.7.0-rc7-3-amd64-clang #3~bullseye+dileks1
[Thu May 28 03:53:39 2020] Hardware name: SAMSUNG ELECTRONICS CO., LTD. 530U3BI/530U4BI/530U4BH/530U3BI/530U4BI/530U4BH, BIOS 13XK 03/28/2013
[Thu May 28 03:53:39 2020] ==================================================================
[Thu May 28 03:53:39 2020] ==================================================================
[Thu May 28 03:53:39 2020] BUG: KCSAN: data-race in find_next_and_bit+0x30/0xd0

[Thu May 28 03:53:39 2020] race at unknown origin, with read to 0xffffffff8df40400 of 8 bytes by interrupt on cpu 0:
[Thu May 28 03:53:39 2020]  find_next_and_bit+0x30/0xd0
[Thu May 28 03:53:39 2020]  cpumask_next_and+0x19/0x20
[Thu May 28 03:53:39 2020]  kick_ilb+0x3b/0xb0
[Thu May 28 03:53:39 2020]  update_process_times+0xa8/0xc0
[Thu May 28 03:53:39 2020]  tick_sched_timer+0xf1/0x170
[Thu May 28 03:53:39 2020]  __run_hrtimer+0x12a/0x390
[Thu May 28 03:53:39 2020]  hrtimer_interrupt+0x38d/0x810
[Thu May 28 03:53:39 2020]  smp_apic_timer_interrupt+0x8d/0x280
[Thu May 28 03:53:39 2020]  apic_timer_interrupt+0xf/0x20

[Thu May 28 03:53:39 2020] Reported by Kernel Concurrency Sanitizer on:
[Thu May 28 03:53:39 2020] CPU: 0 PID: 1458 Comm: QSGRenderThread Tainted: G            E     5.7.0-rc7-3-amd64-clang #3~bullseye+dileks1
[Thu May 28 03:53:39 2020] Hardware name: SAMSUNG ELECTRONICS CO., LTD. 530U3BI/530U4BI/530U4BH/530U3BI/530U4BI/530U4BH, BIOS 13XK 03/28/2013
[Thu May 28 03:53:39 2020] ==================================================================
[Thu May 28 03:53:41 2020] ==================================================================
[Thu May 28 03:53:41 2020] BUG: KCSAN: data-race in dd_has_work / dd_insert_requests

[Thu May 28 03:53:41 2020] write to 0xffff99a40c20ff98 of 8 bytes by task 1412 on cpu 0:
[Thu May 28 03:53:41 2020]  dd_insert_requests+0x327/0x360
[Thu May 28 03:53:41 2020]  blk_mq_sched_insert_requests+0xb2/0x190
[Thu May 28 03:53:41 2020]  blk_mq_flush_plug_list+0x160/0x360
[Thu May 28 03:53:41 2020]  blk_flush_plug_list+0x1d4/0x200
[Thu May 28 03:53:41 2020]  blk_finish_plug+0x38/0x50
[Thu May 28 03:53:41 2020]  read_pages+0x81/0x270
[Thu May 28 03:53:41 2020]  __do_page_cache_readahead+0x221/0x270
[Thu May 28 03:53:41 2020]  ondemand_readahead+0x33e/0x400
[Thu May 28 03:53:41 2020]  page_cache_sync_readahead+0xf0/0x220
[Thu May 28 03:53:41 2020]  generic_file_buffered_read+0x269/0x12b0
[Thu May 28 03:53:41 2020]  generic_file_read_iter+0x67/0x290
[Thu May 28 03:53:41 2020]  ext4_file_read_iter+0x25b/0x2c0 [ext4]
[Thu May 28 03:53:41 2020]  __vfs_read+0x28d/0x2c0
[Thu May 28 03:53:41 2020]  vfs_read+0xc8/0x1c0
[Thu May 28 03:53:41 2020]  __x64_sys_pread64+0xa3/0xf0
[Thu May 28 03:53:41 2020]  do_syscall_64+0x62/0xb0
[Thu May 28 03:53:41 2020]  entry_SYSCALL_64_after_hwframe+0x44/0xa9

[Thu May 28 03:53:41 2020] read to 0xffff99a40c20ff98 of 8 bytes by task 192 on cpu 3:
[Thu May 28 03:53:41 2020]  dd_has_work+0x7a/0xb0
[Thu May 28 03:53:41 2020]  blk_mq_sched_dispatch_requests+0x435/0x5b0
[Thu May 28 03:53:41 2020]  __blk_mq_run_hw_queue+0xd8/0x160
[Thu May 28 03:53:41 2020]  blk_mq_run_work_fn+0x3b/0x40
[Thu May 28 03:53:41 2020]  process_one_work+0x45b/0x7f0
[Thu May 28 03:53:41 2020]  worker_thread+0x5e4/0xa50
[Thu May 28 03:53:41 2020]  kthread+0x1dc/0x1f0
[Thu May 28 03:53:41 2020]  ret_from_fork+0x35/0x40

[Thu May 28 03:53:41 2020] Reported by Kernel Concurrency Sanitizer on:
[Thu May 28 03:53:41 2020] CPU: 3 PID: 192 Comm: kworker/3:1H Tainted: G            E     5.7.0-rc7-3-amd64-clang #3~bullseye+dileks1
[Thu May 28 03:53:41 2020] Hardware name: SAMSUNG ELECTRONICS CO., LTD. 530U3BI/530U4BI/530U4BH/530U3BI/530U4BI/530U4BH, BIOS 13XK 03/28/2013
[Thu May 28 03:53:41 2020] Workqueue: kblockd blk_mq_run_work_fn
[Thu May 28 03:53:41 2020] ==================================================================
[Thu May 28 03:53:43 2020] ==================================================================
[Thu May 28 03:53:43 2020] BUG: KCSAN: data-race in do_epoll_wait / ep_poll_callback

[Thu May 28 03:53:43 2020] write (marked) to 0xffff99a411a89058 of 8 bytes by task 1528 on cpu 1:
[Thu May 28 03:53:43 2020]  ep_poll_callback+0x223/0x3f0
[Thu May 28 03:53:43 2020]  __wake_up_common+0xc2/0x130
[Thu May 28 03:53:43 2020]  __wake_up_sync_key+0x83/0xc0
[Thu May 28 03:53:43 2020]  sock_def_readable+0x57/0xa0
[Thu May 28 03:53:43 2020]  unix_stream_sendmsg+0x6db/0x820
[Thu May 28 03:53:43 2020]  sock_write_iter+0x18f/0x1a0
[Thu May 28 03:53:43 2020]  do_iter_readv_writev+0x255/0x2a0
[Thu May 28 03:53:43 2020]  do_iter_write+0xc5/0x320
[Thu May 28 03:53:43 2020]  do_writev+0x127/0x280
[Thu May 28 03:53:43 2020]  __x64_sys_writev+0x41/0x50
[Thu May 28 03:53:43 2020]  do_syscall_64+0x62/0xb0
[Thu May 28 03:53:43 2020]  entry_SYSCALL_64_after_hwframe+0x44/0xa9

[Thu May 28 03:53:43 2020] read to 0xffff99a411a89058 of 8 bytes by task 837 on cpu 3:
[Thu May 28 03:53:43 2020]  do_epoll_wait+0x275/0x6e0
[Thu May 28 03:53:43 2020]  __x64_sys_epoll_wait+0x4d/0x60
[Thu May 28 03:53:43 2020]  do_syscall_64+0x62/0xb0
[Thu May 28 03:53:43 2020]  entry_SYSCALL_64_after_hwframe+0x44/0xa9

[Thu May 28 03:53:43 2020] Reported by Kernel Concurrency Sanitizer on:
[Thu May 28 03:53:43 2020] CPU: 3 PID: 837 Comm: Xorg Tainted: G            E     5.7.0-rc7-3-amd64-clang #3~bullseye+dileks1
[Thu May 28 03:53:43 2020] Hardware name: SAMSUNG ELECTRONICS CO., LTD. 530U3BI/530U4BI/530U4BH/530U3BI/530U4BI/530U4BH, BIOS 13XK 03/28/2013
[Thu May 28 03:53:43 2020] ==================================================================
[Thu May 28 03:53:45 2020] ==================================================================
[Thu May 28 03:53:45 2020] BUG: KCSAN: data-race in dd_has_work / dd_insert_requests

[Thu May 28 03:53:45 2020] write (marked) to 0xffff99a40c20ff90 of 8 bytes by task 1525 on cpu 1:
[Thu May 28 03:53:45 2020]  dd_insert_requests+0x34d/0x360
[Thu May 28 03:53:45 2020]  blk_mq_sched_insert_requests+0xb2/0x190
[Thu May 28 03:53:45 2020]  blk_mq_flush_plug_list+0x160/0x360
[Thu May 28 03:53:45 2020]  blk_flush_plug_list+0x1d4/0x200
[Thu May 28 03:53:45 2020]  blk_finish_plug+0x38/0x50
[Thu May 28 03:53:45 2020]  read_pages+0x81/0x270
[Thu May 28 03:53:45 2020]  __do_page_cache_readahead+0x221/0x270
[Thu May 28 03:53:45 2020]  ondemand_readahead+0x33e/0x400
[Thu May 28 03:53:45 2020]  page_cache_sync_readahead+0xf0/0x220
[Thu May 28 03:53:45 2020]  generic_file_buffered_read+0x269/0x12b0
[Thu May 28 03:53:45 2020]  generic_file_read_iter+0x67/0x290
[Thu May 28 03:53:45 2020]  ext4_file_read_iter+0x25b/0x2c0 [ext4]
[Thu May 28 03:53:45 2020]  __vfs_read+0x28d/0x2c0
[Thu May 28 03:53:45 2020]  vfs_read+0xc8/0x1c0
[Thu May 28 03:53:45 2020]  ksys_read+0x90/0x110
[Thu May 28 03:53:45 2020]  __x64_sys_read+0x3e/0x50
[Thu May 28 03:53:45 2020]  do_syscall_64+0x62/0xb0
[Thu May 28 03:53:45 2020]  entry_SYSCALL_64_after_hwframe+0x44/0xa9

[Thu May 28 03:53:45 2020] read to 0xffff99a40c20ff90 of 8 bytes by task 192 on cpu 3:
[Thu May 28 03:53:45 2020]  dd_has_work+0x6b/0xb0
[Thu May 28 03:53:45 2020]  blk_mq_sched_dispatch_requests+0x435/0x5b0
[Thu May 28 03:53:45 2020]  __blk_mq_run_hw_queue+0xd8/0x160
[Thu May 28 03:53:45 2020]  blk_mq_run_work_fn+0x3b/0x40
[Thu May 28 03:53:45 2020]  process_one_work+0x45b/0x7f0
[Thu May 28 03:53:45 2020]  worker_thread+0x5e4/0xa50
[Thu May 28 03:53:45 2020]  kthread+0x1dc/0x1f0
[Thu May 28 03:53:45 2020]  ret_from_fork+0x35/0x40

[Thu May 28 03:53:45 2020] Reported by Kernel Concurrency Sanitizer on:
[Thu May 28 03:53:45 2020] CPU: 3 PID: 192 Comm: kworker/3:1H Tainted: G            E     5.7.0-rc7-3-amd64-clang #3~bullseye+dileks1
[Thu May 28 03:53:45 2020] Hardware name: SAMSUNG ELECTRONICS CO., LTD. 530U3BI/530U4BI/530U4BH/530U3BI/530U4BI/530U4BH, BIOS 13XK 03/28/2013
[Thu May 28 03:53:45 2020] Workqueue: kblockd blk_mq_run_work_fn
[Thu May 28 03:53:45 2020] ==================================================================
[Thu May 28 03:53:46 2020] ==================================================================
[Thu May 28 03:53:46 2020] BUG: KCSAN: data-race in blk_mq_sched_dispatch_requests / blk_mq_sched_dispatch_requests

[Thu May 28 03:53:46 2020] write to 0xffff99a416371188 of 8 bytes by task 186 on cpu 2:
[Thu May 28 03:53:46 2020]  blk_mq_sched_dispatch_requests+0x102/0x5b0
[Thu May 28 03:53:46 2020]  __blk_mq_run_hw_queue+0xd8/0x160
[Thu May 28 03:53:46 2020]  blk_mq_run_work_fn+0x3b/0x40
[Thu May 28 03:53:46 2020]  process_one_work+0x45b/0x7f0
[Thu May 28 03:53:46 2020]  worker_thread+0x5e4/0xa50
[Thu May 28 03:53:46 2020]  kthread+0x1dc/0x1f0
[Thu May 28 03:53:46 2020]  ret_from_fork+0x35/0x40

[Thu May 28 03:53:46 2020] read to 0xffff99a416371188 of 8 bytes by task 1525 on cpu 3:
[Thu May 28 03:53:46 2020]  blk_mq_sched_dispatch_requests+0xef/0x5b0
[Thu May 28 03:53:46 2020]  __blk_mq_run_hw_queue+0xd8/0x160
[Thu May 28 03:53:46 2020]  __blk_mq_delay_run_hw_queue+0x11f/0x240
[Thu May 28 03:53:46 2020]  blk_mq_run_hw_queue+0x17e/0x1a0
[Thu May 28 03:53:46 2020]  blk_mq_get_tag+0x2d7/0x490
[Thu May 28 03:53:46 2020]  blk_mq_get_request+0x1cf/0x750
[Thu May 28 03:53:46 2020]  blk_mq_make_request+0x1f8/0xc50
[Thu May 28 03:53:46 2020]  generic_make_request+0x185/0x450
[Thu May 28 03:53:46 2020]  submit_bio+0x8c/0x280
[Thu May 28 03:53:46 2020]  ext4_mpage_readpages+0xd60/0xd90 [ext4]
[Thu May 28 03:53:46 2020]  ext4_readpages+0x81/0x90 [ext4]
[Thu May 28 03:53:46 2020]  read_pages+0x6f/0x270
[Thu May 28 03:53:46 2020]  __do_page_cache_readahead+0x221/0x270
[Thu May 28 03:53:46 2020]  ondemand_readahead+0x33e/0x400
[Thu May 28 03:53:46 2020]  page_cache_sync_readahead+0xf0/0x220
[Thu May 28 03:53:46 2020]  generic_file_buffered_read+0x269/0x12b0
[Thu May 28 03:53:46 2020]  generic_file_read_iter+0x67/0x290
[Thu May 28 03:53:46 2020]  ext4_file_read_iter+0x25b/0x2c0 [ext4]
[Thu May 28 03:53:46 2020]  __vfs_read+0x28d/0x2c0
[Thu May 28 03:53:46 2020]  vfs_read+0xc8/0x1c0
[Thu May 28 03:53:46 2020]  ksys_read+0x90/0x110
[Thu May 28 03:53:46 2020]  __x64_sys_read+0x3e/0x50
[Thu May 28 03:53:46 2020]  do_syscall_64+0x62/0xb0
[Thu May 28 03:53:46 2020]  entry_SYSCALL_64_after_hwframe+0x44/0xa9

[Thu May 28 03:53:46 2020] Reported by Kernel Concurrency Sanitizer on:
[Thu May 28 03:53:46 2020] CPU: 3 PID: 1525 Comm: kconf_update Tainted: G            E     5.7.0-rc7-3-amd64-clang #3~bullseye+dileks1
[Thu May 28 03:53:46 2020] Hardware name: SAMSUNG ELECTRONICS CO., LTD. 530U3BI/530U4BI/530U4BH/530U3BI/530U4BI/530U4BH, BIOS 13XK 03/28/2013
[Thu May 28 03:53:46 2020] ==================================================================
[Thu May 28 03:53:47 2020] ==================================================================
[Thu May 28 03:53:47 2020] BUG: KCSAN: data-race in rwsem_spin_on_owner+0x102/0x1a0

[Thu May 28 03:53:47 2020] race at unknown origin, with read to 0xffff99a3df8b2df8 of 4 bytes by task 1614 on cpu 2:
[Thu May 28 03:53:47 2020]  rwsem_spin_on_owner+0x102/0x1a0
[Thu May 28 03:53:47 2020]  rwsem_optimistic_spin+0x4d/0x480
[Thu May 28 03:53:47 2020]  rwsem_down_write_slowpath+0x73d/0x830
[Thu May 28 03:53:47 2020]  down_write_killable+0xd6/0xf0
[Thu May 28 03:53:47 2020]  vm_mmap_pgoff+0x8c/0x130
[Thu May 28 03:53:47 2020]  ksys_mmap_pgoff+0x199/0x2e0
[Thu May 28 03:53:47 2020]  do_syscall_64+0x62/0xb0
[Thu May 28 03:53:47 2020]  entry_SYSCALL_64_after_hwframe+0x44/0xa9

[Thu May 28 03:53:47 2020] Reported by Kernel Concurrency Sanitizer on:
[Thu May 28 03:53:47 2020] CPU: 2 PID: 1614 Comm: pool-tracker-ex Tainted: G            E     5.7.0-rc7-3-amd64-clang #3~bullseye+dileks1
[Thu May 28 03:53:47 2020] Hardware name: SAMSUNG ELECTRONICS CO., LTD. 530U3BI/530U4BI/530U4BH/530U3BI/530U4BI/530U4BH, BIOS 13XK 03/28/2013
[Thu May 28 03:53:47 2020] ==================================================================
[Thu May 28 03:54:02 2020] ==================================================================
[Thu May 28 03:54:02 2020] BUG: KCSAN: data-race in dd_has_work / deadline_remove_request

[Thu May 28 03:54:02 2020] write (marked) to 0xffff99a40c20ff90 of 8 bytes by task 192 on cpu 3:
[Thu May 28 03:54:02 2020]  deadline_remove_request+0x6e/0x150
[Thu May 28 03:54:02 2020]  dd_dispatch_request+0x558/0x5c0
[Thu May 28 03:54:02 2020]  blk_mq_sched_dispatch_requests+0x49d/0x5b0
[Thu May 28 03:54:02 2020]  __blk_mq_run_hw_queue+0xd8/0x160
[Thu May 28 03:54:02 2020]  blk_mq_run_work_fn+0x3b/0x40
[Thu May 28 03:54:02 2020]  process_one_work+0x45b/0x7f0
[Thu May 28 03:54:02 2020]  worker_thread+0x5e4/0xa50
[Thu May 28 03:54:02 2020]  kthread+0x1dc/0x1f0
[Thu May 28 03:54:02 2020]  ret_from_fork+0x35/0x40

[Thu May 28 03:54:02 2020] read to 0xffff99a40c20ff90 of 8 bytes by task 154 on cpu 2:
[Thu May 28 03:54:02 2020]  dd_has_work+0x6b/0xb0
[Thu May 28 03:54:02 2020]  blk_mq_run_hw_queue+0x11f/0x1a0
[Thu May 28 03:54:02 2020]  blk_mq_get_tag+0x2d7/0x490
[Thu May 28 03:54:02 2020]  blk_mq_get_request+0x1cf/0x750
[Thu May 28 03:54:02 2020]  blk_mq_make_request+0x1f8/0xc50
[Thu May 28 03:54:02 2020]  generic_make_request+0x185/0x450
[Thu May 28 03:54:02 2020]  submit_bio+0x8c/0x280
[Thu May 28 03:54:02 2020]  submit_bh_wbc+0x38a/0x3b0
[Thu May 28 03:54:02 2020]  __block_write_full_page+0x4b8/0x7e0
[Thu May 28 03:54:02 2020]  block_write_full_page+0x140/0x170
[Thu May 28 03:54:02 2020]  blkdev_writepage+0x14/0x20
[Thu May 28 03:54:02 2020]  __writepage+0x38/0x80
[Thu May 28 03:54:02 2020]  write_cache_pages+0x3c1/0x620
[Thu May 28 03:54:02 2020]  generic_writepages+0x5f/0x90
[Thu May 28 03:54:02 2020]  blkdev_writepages+0xa/0x10
[Thu May 28 03:54:02 2020]  do_writepages+0x78/0x140
[Thu May 28 03:54:02 2020]  __writeback_single_inode+0x68/0x410
[Thu May 28 03:54:02 2020]  writeback_sb_inodes+0x59d/0xd60
[Thu May 28 03:54:02 2020]  __writeback_inodes_wb+0xe1/0x2a0
[Thu May 28 03:54:02 2020]  wb_writeback+0x1fb/0x480
[Thu May 28 03:54:02 2020]  wb_do_writeback+0x50c/0x5b0
[Thu May 28 03:54:02 2020]  wb_workfn+0xb8/0x390
[Thu May 28 03:54:02 2020]  process_one_work+0x45b/0x7f0
[Thu May 28 03:54:02 2020]  worker_thread+0x5e4/0xa50
[Thu May 28 03:54:02 2020]  kthread+0x1dc/0x1f0
[Thu May 28 03:54:02 2020]  ret_from_fork+0x35/0x40

[Thu May 28 03:54:02 2020] Reported by Kernel Concurrency Sanitizer on:
[Thu May 28 03:54:02 2020] CPU: 2 PID: 154 Comm: kworker/u16:2 Tainted: G            E     5.7.0-rc7-3-amd64-clang #3~bullseye+dileks1
[Thu May 28 03:54:02 2020] Hardware name: SAMSUNG ELECTRONICS CO., LTD. 530U3BI/530U4BI/530U4BH/530U3BI/530U4BI/530U4BH, BIOS 13XK 03/28/2013
[Thu May 28 03:54:02 2020] Workqueue: writeback wb_workfn (flush-8:32)
[Thu May 28 03:54:02 2020] ==================================================================
[Thu May 28 03:54:11 2020] ==================================================================
[Thu May 28 03:54:11 2020] BUG: KCSAN: data-race in find_next_and_bit+0x30/0xd0

[Thu May 28 03:54:11 2020] race at unknown origin, with read to 0xffffffff8df40400 of 8 bytes by interrupt on cpu 0:
[Thu May 28 03:54:11 2020]  find_next_and_bit+0x30/0xd0
[Thu May 28 03:54:11 2020]  cpumask_next_and+0x19/0x20
[Thu May 28 03:54:11 2020]  kick_ilb+0x3b/0xb0
[Thu May 28 03:54:11 2020]  update_process_times+0xa8/0xc0
[Thu May 28 03:54:11 2020]  tick_sched_timer+0xf1/0x170
[Thu May 28 03:54:11 2020]  __run_hrtimer+0x12a/0x390
[Thu May 28 03:54:11 2020]  hrtimer_interrupt+0x38d/0x810
[Thu May 28 03:54:11 2020]  smp_apic_timer_interrupt+0x8d/0x280
[Thu May 28 03:54:11 2020]  apic_timer_interrupt+0xf/0x20
[Thu May 28 03:54:11 2020]  ext4_mb_generate_buddy+0x180/0x550 [ext4]
[Thu May 28 03:54:11 2020]  ext4_mb_init_cache+0x6b5/0xb00 [ext4]
[Thu May 28 03:54:11 2020]  ext4_mb_init_group+0x2e8/0x380 [ext4]
[Thu May 28 03:54:11 2020]  ext4_mb_good_group+0x2c1/0x2e0 [ext4]
[Thu May 28 03:54:11 2020]  ext4_mb_regular_allocator+0x37b/0xa70 [ext4]
[Thu May 28 03:54:11 2020]  ext4_mb_new_blocks+0x333/0x750 [ext4]
[Thu May 28 03:54:11 2020]  ext4_ext_map_blocks+0xfe1/0x1930 [ext4]
[Thu May 28 03:54:11 2020]  ext4_map_blocks+0x481/0xad0 [ext4]
[Thu May 28 03:54:11 2020]  ext4_alloc_file_blocks+0x239/0x540 [ext4]
[Thu May 28 03:54:11 2020]  ext4_fallocate+0x167/0x3f0 [ext4]
[Thu May 28 03:54:11 2020]  vfs_fallocate+0x268/0x340
[Thu May 28 03:54:11 2020]  __x64_sys_fallocate+0x67/0x90
[Thu May 28 03:54:11 2020]  do_syscall_64+0x62/0xb0
[Thu May 28 03:54:11 2020]  entry_SYSCALL_64_after_hwframe+0x44/0xa9

[Thu May 28 03:54:11 2020] Reported by Kernel Concurrency Sanitizer on:
[Thu May 28 03:54:11 2020] CPU: 0 PID: 1674 Comm: mysqld Tainted: G            E     5.7.0-rc7-3-amd64-clang #3~bullseye+dileks1
[Thu May 28 03:54:11 2020] Hardware name: SAMSUNG ELECTRONICS CO., LTD. 530U3BI/530U4BI/530U4BH/530U3BI/530U4BI/530U4BH, BIOS 13XK 03/28/2013
[Thu May 28 03:54:11 2020] ==================================================================
[Thu May 28 03:54:19 2020] ==================================================================
[Thu May 28 03:54:19 2020] BUG: KCSAN: data-race in rwsem_spin_on_owner+0x102/0x1a0

[Thu May 28 03:54:19 2020] race at unknown origin, with read to 0xffff99a3c923cc78 of 4 bytes by task 1798 on cpu 1:
[Thu May 28 03:54:19 2020]  rwsem_spin_on_owner+0x102/0x1a0
[Thu May 28 03:54:19 2020]  rwsem_optimistic_spin+0x4d/0x480
[Thu May 28 03:54:19 2020]  rwsem_down_read_slowpath+0x4e2/0x6c0
[Thu May 28 03:54:19 2020]  down_read+0x6e/0x190
[Thu May 28 03:54:19 2020]  do_user_addr_fault+0x3b9/0x440
[Thu May 28 03:54:19 2020]  page_fault+0x34/0x40

[Thu May 28 03:54:19 2020] Reported by Kernel Concurrency Sanitizer on:
[Thu May 28 03:54:19 2020] CPU: 1 PID: 1798 Comm: 0x562a1c2ab3d0- Tainted: G            E     5.7.0-rc7-3-amd64-clang #3~bullseye+dileks1
[Thu May 28 03:54:19 2020] Hardware name: SAMSUNG ELECTRONICS CO., LTD. 530U3BI/530U4BI/530U4BH/530U3BI/530U4BI/530U4BH, BIOS 13XK 03/28/2013
[Thu May 28 03:54:19 2020] ==================================================================
[Thu May 28 03:54:52 2020] iwlwifi 0000:01:00.0: Radio type=0x1-0x2-0x0
[Thu May 28 03:54:52 2020] iwlwifi 0000:01:00.0: Radio type=0x1-0x2-0x0
[Thu May 28 03:54:55 2020] wlp1s0: authenticate with f6:f5:24:2e:54:f5
[Thu May 28 03:54:55 2020] wlp1s0: send auth to f6:f5:24:2e:54:f5 (try 1/3)
[Thu May 28 03:54:55 2020] wlp1s0: authenticated
[Thu May 28 03:54:55 2020] wlp1s0: associate with f6:f5:24:2e:54:f5 (try 1/3)
[Thu May 28 03:54:55 2020] wlp1s0: RX AssocResp from f6:f5:24:2e:54:f5 (capab=0x431 status=0 aid=1)
[Thu May 28 03:54:55 2020] wlp1s0: associated
[Thu May 28 03:54:55 2020] IPv6: ADDRCONF(NETDEV_CHANGE): wlp1s0: link becomes ready
[Thu May 28 03:55:00 2020] ==================================================================
[Thu May 28 03:55:00 2020] BUG: KCSAN: data-race in mutex_spin_on_owner+0xe0/0x1b0

[Thu May 28 03:55:00 2020] race at unknown origin, with read to 0xffff99a3074c3d38 of 4 bytes by task 1970 on cpu 2:
[Thu May 28 03:55:00 2020]  mutex_spin_on_owner+0xe0/0x1b0
[Thu May 28 03:55:00 2020]  __mutex_lock+0x1cc/0x770
[Thu May 28 03:55:00 2020]  __mutex_lock_slowpath+0xf/0x10
[Thu May 28 03:55:00 2020]  mutex_lock+0x99/0xa0
[Thu May 28 03:55:00 2020]  __intel_wakeref_get_first+0x1c/0xe0 [i915]
[Thu May 28 03:55:00 2020]  __engine_unpark+0x10d/0x120 [i915]
[Thu May 28 03:55:00 2020]  __intel_wakeref_get_first+0x82/0xe0 [i915]
[Thu May 28 03:55:00 2020]  i915_active_acquire_preallocate_barrier+0x4cc/0x5d0 [i915]
[Thu May 28 03:55:00 2020]  __intel_context_do_pin+0x104/0x1a0 [i915]
[Thu May 28 03:55:00 2020]  i915_gem_do_execbuffer+0x346e/0x38d0 [i915]
[Thu May 28 03:55:00 2020]  i915_gem_execbuffer2_ioctl+0x27b/0x640 [i915]
[Thu May 28 03:55:00 2020]  drm_ioctl_kernel+0x16c/0x1e0 [drm]
[Thu May 28 03:55:00 2020]  drm_ioctl+0x325/0x4b0 [drm]
[Thu May 28 03:55:00 2020]  __se_sys_ioctl+0x84/0xd0
[Thu May 28 03:55:00 2020]  __x64_sys_ioctl+0x3f/0x50
[Thu May 28 03:55:00 2020]  do_syscall_64+0x62/0xb0
[Thu May 28 03:55:00 2020]  entry_SYSCALL_64_after_hwframe+0x44/0xa9

[Thu May 28 03:55:00 2020] Reported by Kernel Concurrency Sanitizer on:
[Thu May 28 03:55:00 2020] CPU: 2 PID: 1970 Comm: QSGRenderThread Tainted: G            E     5.7.0-rc7-3-amd64-clang #3~bullseye+dileks1
[Thu May 28 03:55:00 2020] Hardware name: SAMSUNG ELECTRONICS CO., LTD. 530U3BI/530U4BI/530U4BH/530U3BI/530U4BI/530U4BH, BIOS 13XK 03/28/2013
[Thu May 28 03:55:00 2020] ==================================================================
Marco Elver May 28, 2020, 3:16 p.m. UTC | #14
On Thu, 28 May 2020 at 04:12, Sedat Dilek <sedat.dilek@gmail.com> wrote:
>
[...]

> > > >
> > > > In general, CONFIG_KCSAN=y and the defaults for the other KCSAN
> > > > options should be good. Depending on the size of your system, you
> > > > could also tweak KCSAN runtime performance:
> > > > https://lwn.net/Articles/816850/#Interacting%20with%20KCSAN%20at%20Runtime
> > > > -- the defaults should be good for most systems though.
> > > > Hope this helps. Any more questions, do let me know.
> > > >
> > >
> > > Which "projects" and packages do I need?
> > >
> > > I have installed:
> > >
> > > # LC_ALL=C apt-get install llvm-11 clang-11 lld-11
> > > --no-install-recommends -t llvm-toolchain -y
> > >
> > > # dpkg -l | grep
> > > 1:11~++20200527111130+65030821d4a-1~exp1~20200527091804.3261 | awk
> > > '/^ii/ {print $1 " " $2 " " $3}' | column -t
> > > ii  clang-11
> > > 1:11~++20200527111130+65030821d4a-1~exp1~20200527091804.3261
> > > ii  libclang-common-11-dev
> > > 1:11~++20200527111130+65030821d4a-1~exp1~20200527091804.3261
> > > ii  libclang-cpp11
> > > 1:11~++20200527111130+65030821d4a-1~exp1~20200527091804.3261
> > > ii  libclang1-11
> > > 1:11~++20200527111130+65030821d4a-1~exp1~20200527091804.3261
> > > ii  libllvm11:amd64
> > > 1:11~++20200527111130+65030821d4a-1~exp1~20200527091804.3261
> > > ii  lld-11
> > > 1:11~++20200527111130+65030821d4a-1~exp1~20200527091804.3261
> > > ii  llvm-11
> > > 1:11~++20200527111130+65030821d4a-1~exp1~20200527091804.3261
> > > ii  llvm-11-runtime
> > > 1:11~++20200527111130+65030821d4a-1~exp1~20200527091804.3261
> > >
> > > Is that enough?
> >
> > Just clang-11 (and its transitive dependencies) is enough. Unsure what
> > your installed binary is, likely "clang-11", so if you can do "make
> > CC=clang-11 defconfig" (and check for CONFIG_HAVE_KCSAN_COMPILER)
> > you're good to go.
> >
>
> I was able to build with clang-11 from apt.llvm.org.
>
> [ build-time ]
>
> Normally, it takes me approx. 05:00 to build with clang-10
> (10.0.1-rc1) and Linux v5.7-rc7.
>
> This time start: 21:18 and stop: 03:45 means 06:27 - took 01:27 longer.
>
> Samsung Ultrabook 2nd generation aka Intel Sandybridge CPU with 'make -j3'.
>
> [ diffconfig ]
>
>  BUILD_SALT "5.7.0-rc7-2-amd64-clang" -> "5.7.0-rc7-3-amd64-clang"
>  CLANG_VERSION 100001 -> 110000
> +CC_HAS_ASM_INLINE y
> +HAVE_ARCH_KCSAN y
> +HAVE_KCSAN_COMPILER y
> +KCSAN y
> +KCSAN_ASSUME_PLAIN_WRITES_ATOMIC y
> +KCSAN_DEBUG n
> +KCSAN_DELAY_RANDOMIZE y
> +KCSAN_EARLY_ENABLE y
> +KCSAN_IGNORE_ATOMICS n
> +KCSAN_INTERRUPT_WATCHER n
> +KCSAN_NUM_WATCHPOINTS 64
> +KCSAN_REPORT_ONCE_IN_MS 3000
> +KCSAN_REPORT_RACE_UNKNOWN_ORIGIN y
> +KCSAN_REPORT_VALUE_CHANGE_ONLY y
> +KCSAN_SELFTEST y
> +KCSAN_SKIP_WATCH 4000
> +KCSAN_SKIP_WATCH_RANDOMIZE y
> +KCSAN_UDELAY_INTERRUPT 20
> +KCSAN_UDELAY_TASK 80
>
> I am seeing this data-races:
>
> root@iniza:~# LC_ALL=C dmesg -T | grep 'BUG: KCSAN: data-race'
> [Thu May 28 03:51:53 2020] BUG: KCSAN: data-race in
> mutex_spin_on_owner+0xe0/0x1b0
> [Thu May 28 03:52:00 2020] BUG: KCSAN: data-race in mark_page_accessed
> / workingset_activation
> [Thu May 28 03:52:02 2020] BUG: KCSAN: data-race in
> mutex_spin_on_owner+0xe0/0x1b0
> [Thu May 28 03:52:08 2020] BUG: KCSAN: data-race in
> blk_mq_sched_dispatch_requests / blk_mq_sched_dispatch_requests
> [Thu May 28 03:52:10 2020] BUG: KCSAN: data-race in dd_has_work /
> dd_insert_requests
> [Thu May 28 03:52:11 2020] BUG: KCSAN: data-race in
> mutex_spin_on_owner+0xe0/0x1b0
> [Thu May 28 03:52:13 2020] BUG: KCSAN: data-race in
> page_counter_try_charge / page_counter_try_charge
> [Thu May 28 03:52:15 2020] BUG: KCSAN: data-race in ep_poll_callback /
> ep_send_events_proc
> [Thu May 28 03:52:21 2020] BUG: KCSAN: data-race in
> mutex_spin_on_owner+0xe0/0x1b0
> [Thu May 28 03:52:25 2020] BUG: KCSAN: data-race in
> mutex_spin_on_owner+0xe0/0x1b0
> [Thu May 28 03:52:26 2020] BUG: KCSAN: data-race in dd_has_work /
> deadline_remove_request
> [Thu May 28 03:52:31 2020] BUG: KCSAN: data-race in dd_has_work /
> deadline_remove_request
> [Thu May 28 03:52:38 2020] BUG: KCSAN: data-race in dd_has_work /
> deadline_remove_request
> [Thu May 28 03:52:53 2020] BUG: KCSAN: data-race in dd_has_work /
> dd_insert_requests
> [Thu May 28 03:52:56 2020] BUG: KCSAN: data-race in dd_has_work /
> deadline_remove_request
> [Thu May 28 03:52:59 2020] BUG: KCSAN: data-race in
> blk_mq_sched_dispatch_requests / blk_mq_sched_dispatch_requests
> [Thu May 28 03:53:25 2020] BUG: KCSAN: data-race in
> rwsem_spin_on_owner+0x102/0x1a0
> [Thu May 28 03:53:25 2020] BUG: KCSAN: data-race in
> page_counter_try_charge / page_counter_try_charge
> [Thu May 28 03:53:39 2020] BUG: KCSAN: data-race in do_epoll_wait /
> ep_poll_callback
> [Thu May 28 03:53:39 2020] BUG: KCSAN: data-race in find_next_and_bit+0x30/0xd0
> [Thu May 28 03:53:41 2020] BUG: KCSAN: data-race in dd_has_work /
> dd_insert_requests
> [Thu May 28 03:53:43 2020] BUG: KCSAN: data-race in do_epoll_wait /
> ep_poll_callback
> [Thu May 28 03:53:45 2020] BUG: KCSAN: data-race in dd_has_work /
> dd_insert_requests
> [Thu May 28 03:53:46 2020] BUG: KCSAN: data-race in
> blk_mq_sched_dispatch_requests / blk_mq_sched_dispatch_requests
> [Thu May 28 03:53:47 2020] BUG: KCSAN: data-race in
> rwsem_spin_on_owner+0x102/0x1a0
> [Thu May 28 03:54:02 2020] BUG: KCSAN: data-race in dd_has_work /
> deadline_remove_request
> [Thu May 28 03:54:11 2020] BUG: KCSAN: data-race in find_next_and_bit+0x30/0xd0
> [Thu May 28 03:54:19 2020] BUG: KCSAN: data-race in
> rwsem_spin_on_owner+0x102/0x1a0
> [Thu May 28 03:55:00 2020] BUG: KCSAN: data-race in
> mutex_spin_on_owner+0xe0/0x1b0
> [Thu May 28 03:56:14 2020] BUG: KCSAN: data-race in dd_has_work /
> deadline_remove_request
> [Thu May 28 03:56:50 2020] BUG: KCSAN: data-race in dd_has_work /
> deadline_remove_request
> [Thu May 28 03:56:50 2020] BUG: KCSAN: data-race in dd_has_work /
> deadline_remove_request
> [Thu May 28 03:56:52 2020] BUG: KCSAN: data-race in
> tick_nohz_next_event / tick_nohz_stop_tick
> [Thu May 28 03:56:58 2020] BUG: KCSAN: data-race in
> blk_mq_sched_dispatch_requests / blk_mq_sched_dispatch_requests
> [Thu May 28 03:57:58 2020] BUG: KCSAN: data-race in
> blk_mq_sched_dispatch_requests / blk_mq_sched_dispatch_requests
> [Thu May 28 03:58:00 2020] BUG: KCSAN: data-race in dd_has_work /
> deadline_remove_request
> [Thu May 28 03:58:07 2020] BUG: KCSAN: data-race in
> tick_nohz_next_event / tick_nohz_stop_tick
> [Thu May 28 03:58:44 2020] BUG: KCSAN: data-race in
> mutex_spin_on_owner+0xe0/0x1b0
> [Thu May 28 03:58:49 2020] BUG: KCSAN: data-race in __bitmap_subset+0x38/0xd0
> [Thu May 28 03:59:46 2020] BUG: KCSAN: data-race in
> tick_nohz_next_event / tick_nohz_stop_tick
> [Thu May 28 04:00:25 2020] BUG: KCSAN: data-race in dd_has_work /
> deadline_remove_request
> [Thu May 28 04:00:26 2020] BUG: KCSAN: data-race in
> tick_nohz_next_event / tick_nohz_stop_tick
>
> Full dmesg output and linux-config attached.

Thank you for the report. There are a number of known data races. Note
that, we do not think it's wise to rush fixes for data races,
especially because each one requires careful analysis of what the
appropriate response is. In the meantime, also have a look at these 2
articles (if you haven't already), which describes the current state
of things:

1. https://lwn.net/Articles/816850/
2. https://lwn.net/Articles/816854/

Thanks,
-- Marco
Sedat Dilek May 28, 2020, 4:39 p.m. UTC | #15
On Thu, May 28, 2020 at 5:16 PM Marco Elver <elver@google.com> wrote:
>
> On Thu, 28 May 2020 at 04:12, Sedat Dilek <sedat.dilek@gmail.com> wrote:
> >
> [...]
>
> > > > >
> > > > > In general, CONFIG_KCSAN=y and the defaults for the other KCSAN
> > > > > options should be good. Depending on the size of your system, you
> > > > > could also tweak KCSAN runtime performance:
> > > > > https://lwn.net/Articles/816850/#Interacting%20with%20KCSAN%20at%20Runtime
> > > > > -- the defaults should be good for most systems though.
> > > > > Hope this helps. Any more questions, do let me know.
> > > > >
> > > >
> > > > Which "projects" and packages do I need?
> > > >
> > > > I have installed:
> > > >
> > > > # LC_ALL=C apt-get install llvm-11 clang-11 lld-11
> > > > --no-install-recommends -t llvm-toolchain -y
> > > >
> > > > # dpkg -l | grep
> > > > 1:11~++20200527111130+65030821d4a-1~exp1~20200527091804.3261 | awk
> > > > '/^ii/ {print $1 " " $2 " " $3}' | column -t
> > > > ii  clang-11
> > > > 1:11~++20200527111130+65030821d4a-1~exp1~20200527091804.3261
> > > > ii  libclang-common-11-dev
> > > > 1:11~++20200527111130+65030821d4a-1~exp1~20200527091804.3261
> > > > ii  libclang-cpp11
> > > > 1:11~++20200527111130+65030821d4a-1~exp1~20200527091804.3261
> > > > ii  libclang1-11
> > > > 1:11~++20200527111130+65030821d4a-1~exp1~20200527091804.3261
> > > > ii  libllvm11:amd64
> > > > 1:11~++20200527111130+65030821d4a-1~exp1~20200527091804.3261
> > > > ii  lld-11
> > > > 1:11~++20200527111130+65030821d4a-1~exp1~20200527091804.3261
> > > > ii  llvm-11
> > > > 1:11~++20200527111130+65030821d4a-1~exp1~20200527091804.3261
> > > > ii  llvm-11-runtime
> > > > 1:11~++20200527111130+65030821d4a-1~exp1~20200527091804.3261
> > > >
> > > > Is that enough?
> > >
> > > Just clang-11 (and its transitive dependencies) is enough. Unsure what
> > > your installed binary is, likely "clang-11", so if you can do "make
> > > CC=clang-11 defconfig" (and check for CONFIG_HAVE_KCSAN_COMPILER)
> > > you're good to go.
> > >
> >
> > I was able to build with clang-11 from apt.llvm.org.
> >
> > [ build-time ]
> >
> > Normally, it takes me approx. 05:00 to build with clang-10
> > (10.0.1-rc1) and Linux v5.7-rc7.
> >
> > This time start: 21:18 and stop: 03:45 means 06:27 - took 01:27 longer.
> >
> > Samsung Ultrabook 2nd generation aka Intel Sandybridge CPU with 'make -j3'.
> >
> > [ diffconfig ]
> >
> >  BUILD_SALT "5.7.0-rc7-2-amd64-clang" -> "5.7.0-rc7-3-amd64-clang"
> >  CLANG_VERSION 100001 -> 110000
> > +CC_HAS_ASM_INLINE y
> > +HAVE_ARCH_KCSAN y
> > +HAVE_KCSAN_COMPILER y
> > +KCSAN y
> > +KCSAN_ASSUME_PLAIN_WRITES_ATOMIC y
> > +KCSAN_DEBUG n
> > +KCSAN_DELAY_RANDOMIZE y
> > +KCSAN_EARLY_ENABLE y
> > +KCSAN_IGNORE_ATOMICS n
> > +KCSAN_INTERRUPT_WATCHER n
> > +KCSAN_NUM_WATCHPOINTS 64
> > +KCSAN_REPORT_ONCE_IN_MS 3000
> > +KCSAN_REPORT_RACE_UNKNOWN_ORIGIN y
> > +KCSAN_REPORT_VALUE_CHANGE_ONLY y
> > +KCSAN_SELFTEST y
> > +KCSAN_SKIP_WATCH 4000
> > +KCSAN_SKIP_WATCH_RANDOMIZE y
> > +KCSAN_UDELAY_INTERRUPT 20
> > +KCSAN_UDELAY_TASK 80
> >
> > I am seeing this data-races:
> >
> > root@iniza:~# LC_ALL=C dmesg -T | grep 'BUG: KCSAN: data-race'
> > [Thu May 28 03:51:53 2020] BUG: KCSAN: data-race in
> > mutex_spin_on_owner+0xe0/0x1b0
> > [Thu May 28 03:52:00 2020] BUG: KCSAN: data-race in mark_page_accessed
> > / workingset_activation
> > [Thu May 28 03:52:02 2020] BUG: KCSAN: data-race in
> > mutex_spin_on_owner+0xe0/0x1b0
> > [Thu May 28 03:52:08 2020] BUG: KCSAN: data-race in
> > blk_mq_sched_dispatch_requests / blk_mq_sched_dispatch_requests
> > [Thu May 28 03:52:10 2020] BUG: KCSAN: data-race in dd_has_work /
> > dd_insert_requests
> > [Thu May 28 03:52:11 2020] BUG: KCSAN: data-race in
> > mutex_spin_on_owner+0xe0/0x1b0
> > [Thu May 28 03:52:13 2020] BUG: KCSAN: data-race in
> > page_counter_try_charge / page_counter_try_charge
> > [Thu May 28 03:52:15 2020] BUG: KCSAN: data-race in ep_poll_callback /
> > ep_send_events_proc
> > [Thu May 28 03:52:21 2020] BUG: KCSAN: data-race in
> > mutex_spin_on_owner+0xe0/0x1b0
> > [Thu May 28 03:52:25 2020] BUG: KCSAN: data-race in
> > mutex_spin_on_owner+0xe0/0x1b0
> > [Thu May 28 03:52:26 2020] BUG: KCSAN: data-race in dd_has_work /
> > deadline_remove_request
> > [Thu May 28 03:52:31 2020] BUG: KCSAN: data-race in dd_has_work /
> > deadline_remove_request
> > [Thu May 28 03:52:38 2020] BUG: KCSAN: data-race in dd_has_work /
> > deadline_remove_request
> > [Thu May 28 03:52:53 2020] BUG: KCSAN: data-race in dd_has_work /
> > dd_insert_requests
> > [Thu May 28 03:52:56 2020] BUG: KCSAN: data-race in dd_has_work /
> > deadline_remove_request
> > [Thu May 28 03:52:59 2020] BUG: KCSAN: data-race in
> > blk_mq_sched_dispatch_requests / blk_mq_sched_dispatch_requests
> > [Thu May 28 03:53:25 2020] BUG: KCSAN: data-race in
> > rwsem_spin_on_owner+0x102/0x1a0
> > [Thu May 28 03:53:25 2020] BUG: KCSAN: data-race in
> > page_counter_try_charge / page_counter_try_charge
> > [Thu May 28 03:53:39 2020] BUG: KCSAN: data-race in do_epoll_wait /
> > ep_poll_callback
> > [Thu May 28 03:53:39 2020] BUG: KCSAN: data-race in find_next_and_bit+0x30/0xd0
> > [Thu May 28 03:53:41 2020] BUG: KCSAN: data-race in dd_has_work /
> > dd_insert_requests
> > [Thu May 28 03:53:43 2020] BUG: KCSAN: data-race in do_epoll_wait /
> > ep_poll_callback
> > [Thu May 28 03:53:45 2020] BUG: KCSAN: data-race in dd_has_work /
> > dd_insert_requests
> > [Thu May 28 03:53:46 2020] BUG: KCSAN: data-race in
> > blk_mq_sched_dispatch_requests / blk_mq_sched_dispatch_requests
> > [Thu May 28 03:53:47 2020] BUG: KCSAN: data-race in
> > rwsem_spin_on_owner+0x102/0x1a0
> > [Thu May 28 03:54:02 2020] BUG: KCSAN: data-race in dd_has_work /
> > deadline_remove_request
> > [Thu May 28 03:54:11 2020] BUG: KCSAN: data-race in find_next_and_bit+0x30/0xd0
> > [Thu May 28 03:54:19 2020] BUG: KCSAN: data-race in
> > rwsem_spin_on_owner+0x102/0x1a0
> > [Thu May 28 03:55:00 2020] BUG: KCSAN: data-race in
> > mutex_spin_on_owner+0xe0/0x1b0
> > [Thu May 28 03:56:14 2020] BUG: KCSAN: data-race in dd_has_work /
> > deadline_remove_request
> > [Thu May 28 03:56:50 2020] BUG: KCSAN: data-race in dd_has_work /
> > deadline_remove_request
> > [Thu May 28 03:56:50 2020] BUG: KCSAN: data-race in dd_has_work /
> > deadline_remove_request
> > [Thu May 28 03:56:52 2020] BUG: KCSAN: data-race in
> > tick_nohz_next_event / tick_nohz_stop_tick
> > [Thu May 28 03:56:58 2020] BUG: KCSAN: data-race in
> > blk_mq_sched_dispatch_requests / blk_mq_sched_dispatch_requests
> > [Thu May 28 03:57:58 2020] BUG: KCSAN: data-race in
> > blk_mq_sched_dispatch_requests / blk_mq_sched_dispatch_requests
> > [Thu May 28 03:58:00 2020] BUG: KCSAN: data-race in dd_has_work /
> > deadline_remove_request
> > [Thu May 28 03:58:07 2020] BUG: KCSAN: data-race in
> > tick_nohz_next_event / tick_nohz_stop_tick
> > [Thu May 28 03:58:44 2020] BUG: KCSAN: data-race in
> > mutex_spin_on_owner+0xe0/0x1b0
> > [Thu May 28 03:58:49 2020] BUG: KCSAN: data-race in __bitmap_subset+0x38/0xd0
> > [Thu May 28 03:59:46 2020] BUG: KCSAN: data-race in
> > tick_nohz_next_event / tick_nohz_stop_tick
> > [Thu May 28 04:00:25 2020] BUG: KCSAN: data-race in dd_has_work /
> > deadline_remove_request
> > [Thu May 28 04:00:26 2020] BUG: KCSAN: data-race in
> > tick_nohz_next_event / tick_nohz_stop_tick
> >
> > Full dmesg output and linux-config attached.
>
> Thank you for the report. There are a number of known data races. Note
> that, we do not think it's wise to rush fixes for data races,
> especially because each one requires careful analysis of what the
> appropriate response is. In the meantime, also have a look at these 2
> articles (if you haven't already), which describes the current state
> of things:
>
> 1. https://lwn.net/Articles/816850/
> 2. https://lwn.net/Articles/816854/
>

Hi Marco,

thanks for your feedback.

The first article I have read already.
That does not mean I am a KCSAN expert now.

As you say each data-race needs an individual analysis.

Just one last number:
Building again a Linux v5.7-rc7 on a clang-11-compiled and
kcsan-enabled linux-kernel took me...
one hour longer (6 instead of 5 hours, start: 12:14 and stop: 18:15)

Regards,
- Sedat -

Patch
diff mbox series

diff --git a/include/linux/compiler_types.h b/include/linux/compiler_types.h
index 5faf68eae204..a529fa263906 100644
--- a/include/linux/compiler_types.h
+++ b/include/linux/compiler_types.h
@@ -245,7 +245,9 @@  struct ftrace_likely_data {
 /*
  * __unqual_scalar_typeof(x) - Declare an unqualified scalar type, leaving
  *			       non-scalar types unchanged.
- *
+ */
+#if defined(CONFIG_CC_IS_GCC) && CONFIG_GCC_VERSION < 40900
+/*
  * We build this out of a couple of helper macros in a vain attempt to
  * help you keep your lunch down while reading it.
  */
@@ -267,6 +269,24 @@  struct ftrace_likely_data {
 			__pick_integer_type(x, int,				\
 				__pick_integer_type(x, long,			\
 					__pick_integer_type(x, long long, x))))))
+#else
+/*
+ * If supported, prefer C11 _Generic for better compile-times. As above, 'char'
+ * is not type-compatible with 'signed char', and we define a separate case.
+ */
+#define __scalar_type_to_expr_cases(type)				\
+		type: (type)0, unsigned type: (unsigned type)0
+
+#define __unqual_scalar_typeof(x) typeof(				\
+		_Generic((x),						\
+			 __scalar_type_to_expr_cases(char),		\
+			 signed char: (signed char)0,			\
+			 __scalar_type_to_expr_cases(short),		\
+			 __scalar_type_to_expr_cases(int),		\
+			 __scalar_type_to_expr_cases(long),		\
+			 __scalar_type_to_expr_cases(long long),	\
+			 default: (x)))
+#endif
 
 /* Is this type a native word size -- useful for atomic operations */
 #define __native_word(t) \