[PATCH 0/3] [v2] objtool warning fixes

From: Arnd Bergmann
Date: Wed Feb 15 2023 - 08:01:19 EST


From: Arnd Bergmann <arnd@xxxxxxxx>

These are three of the easier fixes for objtool warnings around
kasan/kmsan/kcsan. I dropped one patch since Peter had come up
with a better fix, and adjusted the changelog text based on
feedback.

Link: https://lore.kernel.org/all/20230208164011.2287122-1-arnd@xxxxxxxxxx/

Arnd Bergmann (3):
[v2] kasan: mark addr_has_metadata __always_inline
[v2] kmsan: disable ftrace in kmsan core code
[v2] objtool: add UACCESS exceptions for __tsan_volatile_read/write

mm/kasan/kasan.h | 4 ++--
mm/kmsan/Makefile | 8 +++++++-
tools/objtool/check.c | 2 ++
3 files changed, 11 insertions(+), 3 deletions(-)

Cc: Alexander Potapenko <glider@xxxxxxxxxx>
Cc: Andrey Konovalov <andreyknvl@xxxxxxxxx>
Cc: Andrey Ryabinin <ryabinin.a.a@xxxxxxxxx>
Cc: Dmitry Vyukov <dvyukov@xxxxxxxxxx>
Cc: Kuan-Ying Lee <Kuan-Ying.Lee@xxxxxxxxxxxx>
Cc: Marco Elver <elver@xxxxxxxxxx>
Cc: Vincenzo Frascino <vincenzo.frascino@xxxxxxx>
Cc: kasan-dev@xxxxxxxxxxxxxxxx
Cc: linux-mm@xxxxxxxxx
Cc: linux-kernel@xxxxxxxxxxxxxxx

--
2.39.1