[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <168836201884.50010.3433894878909493070.b4-ty@ellerman.id.au>
Date: Mon, 03 Jul 2023 15:26:58 +1000
From: Michael Ellerman <patch-notifications@...erman.id.au>
To: Marco Elver <elver@...gle.com>, Dmitry Vyukov <dvyukov@...gle.com>,
kasan-dev@...glegroups.com, Nicholas Piggin <npiggin@...il.com>,
Christophe Leroy <christophe.leroy@...roup.eu>
Cc: linux-kernel@...r.kernel.org, linuxppc-dev@...ts.ozlabs.org
Subject: Re: [PATCH] powerpc/kcsan: Properly instrument arch_spin_unlock()
On Fri, 26 May 2023 07:57:33 +0200, Christophe Leroy wrote:
> The following boottime error is encountered with SMP kernel:
>
> kcsan: improperly instrumented type=(0): arch_spin_unlock(&arch_spinlock)
> kcsan: improperly instrumented type=(0): spin_unlock(&test_spinlock)
> kcsan: improperly instrumented type=(KCSAN_ACCESS_WRITE): arch_spin_unlock(&arch_spinlock)
> kcsan: improperly instrumented type=(KCSAN_ACCESS_WRITE): spin_unlock(&test_spinlock)
> kcsan: improperly instrumented type=(KCSAN_ACCESS_WRITE | KCSAN_ACCESS_COMPOUND): arch_spin_unlock(&arch_spinlock)
> kcsan: improperly instrumented type=(KCSAN_ACCESS_WRITE | KCSAN_ACCESS_COMPOUND): spin_unlock(&test_spinlock)
> kcsan: selftest: test_barrier failed
> kcsan: selftest: 2/3 tests passed
> Kernel panic - not syncing: selftests failed
>
> [...]
Applied to powerpc/next.
[1/1] powerpc/kcsan: Properly instrument arch_spin_unlock()
https://git.kernel.org/powerpc/c/396f2b0106ff343c61f7ae221dc6ae300f807760
cheers
Powered by blists - more mailing lists