powerpc/{32,book3e}: kcsan: Extend KCSAN Support
authorRohan McLure <rmclure@linux.ibm.com>
Fri, 12 May 2023 15:31:18 +0000 (17:31 +0200)
committerMichael Ellerman <mpe@ellerman.id.au>
Fri, 9 Jun 2023 13:29:50 +0000 (23:29 +1000)
commit95567f46b4d20c047750a5e3029461afcdc67697
tree296b69d43ef5fd23fdd51d4683e993ef5a5ce41b
parent353e7300a1db928e427462f2745f9a2cd1625b3d
powerpc/{32,book3e}: kcsan: Extend KCSAN Support

Enable HAVE_ARCH_KCSAN on all powerpc platforms, permitting use of the
kernel concurrency sanitiser through the CONFIG_KCSAN_* kconfig options.

Boots and passes selftests on 32-bit and 64-bit platforms. See
documentation in Documentation/dev-tools/kcsan.rst for more information.

Signed-off-by: Rohan McLure <rmclure@linux.ibm.com>
Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu>
Acked-by: Marco Elver <elver@google.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://msgid.link/1a1138966780c3709f55bde8a0eb80209fa4395d.1683892665.git.christophe.leroy@csgroup.eu
arch/powerpc/Kconfig