All of lore.kernel.org
 help / color / mirror / Atom feed
* [folded-merged] kcov-add-__no_sanitize_coverage-to-fix-noinstr-for-all-architectures-v3.patch removed from -mm tree
@ 2021-07-01  1:03 akpm
  0 siblings, 0 replies; only message in thread
From: akpm @ 2021-07-01  1:03 UTC (permalink / raw)
  To: elver, mm-commits, ojeda, peterz


The patch titled
     Subject: kcov: add __no_sanitize_coverage to fix noinstr for all architectures
has been removed from the -mm tree.  Its filename was
     kcov-add-__no_sanitize_coverage-to-fix-noinstr-for-all-architectures-v3.patch

This patch was dropped because it was folded into kcov-add-__no_sanitize_coverage-to-fix-noinstr-for-all-architectures.patch

------------------------------------------------------
From: Marco Elver <elver@google.com>
Subject: kcov: add __no_sanitize_coverage to fix noinstr for all architectures

add comment explaining __has_feature() in Clang

Link: https://lkml.kernel.org/r/20210527194448.3470080-1-elver@google.com
Signed-off-by: Marco Elver <elver@google.com>
Acked-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Reviewed-by: Miguel Ojeda <ojeda@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---

 include/linux/compiler-clang.h |    6 ++++++
 1 file changed, 6 insertions(+)

--- a/include/linux/compiler-clang.h~kcov-add-__no_sanitize_coverage-to-fix-noinstr-for-all-architectures-v3
+++ a/include/linux/compiler-clang.h
@@ -13,6 +13,12 @@
 /* all clang versions usable with the kernel support KASAN ABI version 5 */
 #define KASAN_ABI_VERSION 5
 
+/*
+ * Note: Checking __has_feature(*_sanitizer) is only true if the feature is
+ * enabled. Therefore it is not required to additionally check defined(CONFIG_*)
+ * to avoid adding redundant attributes in other configurations.
+ */
+
 #if __has_feature(address_sanitizer) || __has_feature(hwaddress_sanitizer)
 /* Emulate GCC's __SANITIZE_ADDRESS__ flag */
 #define __SANITIZE_ADDRESS__
_

Patches currently in -mm which might be from elver@google.com are

kfence-unconditionally-use-unbound-work-queue.patch
kcov-add-__no_sanitize_coverage-to-fix-noinstr-for-all-architectures.patch


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-07-01  1:03 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-07-01  1:03 [folded-merged] kcov-add-__no_sanitize_coverage-to-fix-noinstr-for-all-architectures-v3.patch removed from -mm tree akpm

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.