stable.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
To: linux-kernel@vger.kernel.org
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
	stable@vger.kernel.org,
	Christophe Leroy <christophe.leroy@csgroup.eu>,
	"Peter Zijlstra (Intel)" <peterz@infradead.org>,
	Josh Poimboeuf <jpoimboe@redhat.com>
Subject: [PATCH 5.17 339/343] static_call: Dont make __static_call_return0 static
Date: Tue, 12 Apr 2022 08:32:37 +0200	[thread overview]
Message-ID: <20220412063001.101274174@linuxfoundation.org> (raw)
In-Reply-To: <20220412062951.095765152@linuxfoundation.org>

From: Christophe Leroy <christophe.leroy@csgroup.eu>

commit 8fd4ddda2f49a66bf5dd3d0c01966c4b1971308b upstream.

System.map shows that vmlinux contains several instances of
__static_call_return0():

	c0004fc0 t __static_call_return0
	c0011518 t __static_call_return0
	c00d8160 t __static_call_return0

arch_static_call_transform() uses the middle one to check whether we are
setting a call to __static_call_return0 or not:

	c0011520 <arch_static_call_transform>:
	c0011520:       3d 20 c0 01     lis     r9,-16383	<== r9 =  0xc001 << 16
	c0011524:       39 29 15 18     addi    r9,r9,5400	<== r9 += 0x1518
	c0011528:       7c 05 48 00     cmpw    r5,r9		<== r9 has value 0xc0011518 here

So if static_call_update() is called with one of the other instances of
__static_call_return0(), arch_static_call_transform() won't recognise it.

In order to work properly, global single instance of __static_call_return0() is required.

Fixes: 3f2a8fc4b15d ("static_call/x86: Add __static_call_return0()")
Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Acked-by: Josh Poimboeuf <jpoimboe@redhat.com>
Link: https://lkml.kernel.org/r/30821468a0e7d28251954b578e5051dc09300d04.1647258493.git.christophe.leroy@csgroup.eu
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
---
 include/linux/static_call.h |    5 
 kernel/Makefile             |    3 
 kernel/static_call.c        |  542 -------------------------------------------
 kernel/static_call_inline.c |  543 ++++++++++++++++++++++++++++++++++++++++++++
 4 files changed, 547 insertions(+), 546 deletions(-)
 create mode 100644 kernel/static_call_inline.c

--- a/include/linux/static_call.h
+++ b/include/linux/static_call.h
@@ -248,10 +248,7 @@ static inline int static_call_text_reser
 	return 0;
 }
 
-static inline long __static_call_return0(void)
-{
-	return 0;
-}
+extern long __static_call_return0(void);
 
 #define EXPORT_STATIC_CALL(name)					\
 	EXPORT_SYMBOL(STATIC_CALL_KEY(name));				\
--- a/kernel/Makefile
+++ b/kernel/Makefile
@@ -113,7 +113,8 @@ obj-$(CONFIG_CPU_PM) += cpu_pm.o
 obj-$(CONFIG_BPF) += bpf/
 obj-$(CONFIG_KCSAN) += kcsan/
 obj-$(CONFIG_SHADOW_CALL_STACK) += scs.o
-obj-$(CONFIG_HAVE_STATIC_CALL_INLINE) += static_call.o
+obj-$(CONFIG_HAVE_STATIC_CALL) += static_call.o
+obj-$(CONFIG_HAVE_STATIC_CALL_INLINE) += static_call_inline.o
 obj-$(CONFIG_CFI_CLANG) += cfi.o
 
 obj-$(CONFIG_PERF_EVENTS) += events/
--- a/kernel/static_call.c
+++ b/kernel/static_call.c
@@ -1,548 +1,8 @@
 // SPDX-License-Identifier: GPL-2.0
-#include <linux/init.h>
 #include <linux/static_call.h>
-#include <linux/bug.h>
-#include <linux/smp.h>
-#include <linux/sort.h>
-#include <linux/slab.h>
-#include <linux/module.h>
-#include <linux/cpu.h>
-#include <linux/processor.h>
-#include <asm/sections.h>
-
-extern struct static_call_site __start_static_call_sites[],
-			       __stop_static_call_sites[];
-extern struct static_call_tramp_key __start_static_call_tramp_key[],
-				    __stop_static_call_tramp_key[];
-
-static bool static_call_initialized;
-
-/* mutex to protect key modules/sites */
-static DEFINE_MUTEX(static_call_mutex);
-
-static void static_call_lock(void)
-{
-	mutex_lock(&static_call_mutex);
-}
-
-static void static_call_unlock(void)
-{
-	mutex_unlock(&static_call_mutex);
-}
-
-static inline void *static_call_addr(struct static_call_site *site)
-{
-	return (void *)((long)site->addr + (long)&site->addr);
-}
-
-static inline unsigned long __static_call_key(const struct static_call_site *site)
-{
-	return (long)site->key + (long)&site->key;
-}
-
-static inline struct static_call_key *static_call_key(const struct static_call_site *site)
-{
-	return (void *)(__static_call_key(site) & ~STATIC_CALL_SITE_FLAGS);
-}
-
-/* These assume the key is word-aligned. */
-static inline bool static_call_is_init(struct static_call_site *site)
-{
-	return __static_call_key(site) & STATIC_CALL_SITE_INIT;
-}
-
-static inline bool static_call_is_tail(struct static_call_site *site)
-{
-	return __static_call_key(site) & STATIC_CALL_SITE_TAIL;
-}
-
-static inline void static_call_set_init(struct static_call_site *site)
-{
-	site->key = (__static_call_key(site) | STATIC_CALL_SITE_INIT) -
-		    (long)&site->key;
-}
-
-static int static_call_site_cmp(const void *_a, const void *_b)
-{
-	const struct static_call_site *a = _a;
-	const struct static_call_site *b = _b;
-	const struct static_call_key *key_a = static_call_key(a);
-	const struct static_call_key *key_b = static_call_key(b);
-
-	if (key_a < key_b)
-		return -1;
-
-	if (key_a > key_b)
-		return 1;
-
-	return 0;
-}
-
-static void static_call_site_swap(void *_a, void *_b, int size)
-{
-	long delta = (unsigned long)_a - (unsigned long)_b;
-	struct static_call_site *a = _a;
-	struct static_call_site *b = _b;
-	struct static_call_site tmp = *a;
-
-	a->addr = b->addr  - delta;
-	a->key  = b->key   - delta;
-
-	b->addr = tmp.addr + delta;
-	b->key  = tmp.key  + delta;
-}
-
-static inline void static_call_sort_entries(struct static_call_site *start,
-					    struct static_call_site *stop)
-{
-	sort(start, stop - start, sizeof(struct static_call_site),
-	     static_call_site_cmp, static_call_site_swap);
-}
-
-static inline bool static_call_key_has_mods(struct static_call_key *key)
-{
-	return !(key->type & 1);
-}
-
-static inline struct static_call_mod *static_call_key_next(struct static_call_key *key)
-{
-	if (!static_call_key_has_mods(key))
-		return NULL;
-
-	return key->mods;
-}
-
-static inline struct static_call_site *static_call_key_sites(struct static_call_key *key)
-{
-	if (static_call_key_has_mods(key))
-		return NULL;
-
-	return (struct static_call_site *)(key->type & ~1);
-}
-
-void __static_call_update(struct static_call_key *key, void *tramp, void *func)
-{
-	struct static_call_site *site, *stop;
-	struct static_call_mod *site_mod, first;
-
-	cpus_read_lock();
-	static_call_lock();
-
-	if (key->func == func)
-		goto done;
-
-	key->func = func;
-
-	arch_static_call_transform(NULL, tramp, func, false);
-
-	/*
-	 * If uninitialized, we'll not update the callsites, but they still
-	 * point to the trampoline and we just patched that.
-	 */
-	if (WARN_ON_ONCE(!static_call_initialized))
-		goto done;
-
-	first = (struct static_call_mod){
-		.next = static_call_key_next(key),
-		.mod = NULL,
-		.sites = static_call_key_sites(key),
-	};
-
-	for (site_mod = &first; site_mod; site_mod = site_mod->next) {
-		bool init = system_state < SYSTEM_RUNNING;
-		struct module *mod = site_mod->mod;
-
-		if (!site_mod->sites) {
-			/*
-			 * This can happen if the static call key is defined in
-			 * a module which doesn't use it.
-			 *
-			 * It also happens in the has_mods case, where the
-			 * 'first' entry has no sites associated with it.
-			 */
-			continue;
-		}
-
-		stop = __stop_static_call_sites;
-
-		if (mod) {
-#ifdef CONFIG_MODULES
-			stop = mod->static_call_sites +
-			       mod->num_static_call_sites;
-			init = mod->state == MODULE_STATE_COMING;
-#endif
-		}
-
-		for (site = site_mod->sites;
-		     site < stop && static_call_key(site) == key; site++) {
-			void *site_addr = static_call_addr(site);
-
-			if (!init && static_call_is_init(site))
-				continue;
-
-			if (!kernel_text_address((unsigned long)site_addr)) {
-				/*
-				 * This skips patching built-in __exit, which
-				 * is part of init_section_contains() but is
-				 * not part of kernel_text_address().
-				 *
-				 * Skipping built-in __exit is fine since it
-				 * will never be executed.
-				 */
-				WARN_ONCE(!static_call_is_init(site),
-					  "can't patch static call site at %pS",
-					  site_addr);
-				continue;
-			}
-
-			arch_static_call_transform(site_addr, NULL, func,
-						   static_call_is_tail(site));
-		}
-	}
-
-done:
-	static_call_unlock();
-	cpus_read_unlock();
-}
-EXPORT_SYMBOL_GPL(__static_call_update);
-
-static int __static_call_init(struct module *mod,
-			      struct static_call_site *start,
-			      struct static_call_site *stop)
-{
-	struct static_call_site *site;
-	struct static_call_key *key, *prev_key = NULL;
-	struct static_call_mod *site_mod;
-
-	if (start == stop)
-		return 0;
-
-	static_call_sort_entries(start, stop);
-
-	for (site = start; site < stop; site++) {
-		void *site_addr = static_call_addr(site);
-
-		if ((mod && within_module_init((unsigned long)site_addr, mod)) ||
-		    (!mod && init_section_contains(site_addr, 1)))
-			static_call_set_init(site);
-
-		key = static_call_key(site);
-		if (key != prev_key) {
-			prev_key = key;
-
-			/*
-			 * For vmlinux (!mod) avoid the allocation by storing
-			 * the sites pointer in the key itself. Also see
-			 * __static_call_update()'s @first.
-			 *
-			 * This allows architectures (eg. x86) to call
-			 * static_call_init() before memory allocation works.
-			 */
-			if (!mod) {
-				key->sites = site;
-				key->type |= 1;
-				goto do_transform;
-			}
-
-			site_mod = kzalloc(sizeof(*site_mod), GFP_KERNEL);
-			if (!site_mod)
-				return -ENOMEM;
-
-			/*
-			 * When the key has a direct sites pointer, extract
-			 * that into an explicit struct static_call_mod, so we
-			 * can have a list of modules.
-			 */
-			if (static_call_key_sites(key)) {
-				site_mod->mod = NULL;
-				site_mod->next = NULL;
-				site_mod->sites = static_call_key_sites(key);
-
-				key->mods = site_mod;
-
-				site_mod = kzalloc(sizeof(*site_mod), GFP_KERNEL);
-				if (!site_mod)
-					return -ENOMEM;
-			}
-
-			site_mod->mod = mod;
-			site_mod->sites = site;
-			site_mod->next = static_call_key_next(key);
-			key->mods = site_mod;
-		}
-
-do_transform:
-		arch_static_call_transform(site_addr, NULL, key->func,
-				static_call_is_tail(site));
-	}
-
-	return 0;
-}
-
-static int addr_conflict(struct static_call_site *site, void *start, void *end)
-{
-	unsigned long addr = (unsigned long)static_call_addr(site);
-
-	if (addr <= (unsigned long)end &&
-	    addr + CALL_INSN_SIZE > (unsigned long)start)
-		return 1;
-
-	return 0;
-}
-
-static int __static_call_text_reserved(struct static_call_site *iter_start,
-				       struct static_call_site *iter_stop,
-				       void *start, void *end, bool init)
-{
-	struct static_call_site *iter = iter_start;
-
-	while (iter < iter_stop) {
-		if (init || !static_call_is_init(iter)) {
-			if (addr_conflict(iter, start, end))
-				return 1;
-		}
-		iter++;
-	}
-
-	return 0;
-}
-
-#ifdef CONFIG_MODULES
-
-static int __static_call_mod_text_reserved(void *start, void *end)
-{
-	struct module *mod;
-	int ret;
-
-	preempt_disable();
-	mod = __module_text_address((unsigned long)start);
-	WARN_ON_ONCE(__module_text_address((unsigned long)end) != mod);
-	if (!try_module_get(mod))
-		mod = NULL;
-	preempt_enable();
-
-	if (!mod)
-		return 0;
-
-	ret = __static_call_text_reserved(mod->static_call_sites,
-			mod->static_call_sites + mod->num_static_call_sites,
-			start, end, mod->state == MODULE_STATE_COMING);
-
-	module_put(mod);
-
-	return ret;
-}
-
-static unsigned long tramp_key_lookup(unsigned long addr)
-{
-	struct static_call_tramp_key *start = __start_static_call_tramp_key;
-	struct static_call_tramp_key *stop = __stop_static_call_tramp_key;
-	struct static_call_tramp_key *tramp_key;
-
-	for (tramp_key = start; tramp_key != stop; tramp_key++) {
-		unsigned long tramp;
-
-		tramp = (long)tramp_key->tramp + (long)&tramp_key->tramp;
-		if (tramp == addr)
-			return (long)tramp_key->key + (long)&tramp_key->key;
-	}
-
-	return 0;
-}
-
-static int static_call_add_module(struct module *mod)
-{
-	struct static_call_site *start = mod->static_call_sites;
-	struct static_call_site *stop = start + mod->num_static_call_sites;
-	struct static_call_site *site;
-
-	for (site = start; site != stop; site++) {
-		unsigned long s_key = __static_call_key(site);
-		unsigned long addr = s_key & ~STATIC_CALL_SITE_FLAGS;
-		unsigned long key;
-
-		/*
-		 * Is the key is exported, 'addr' points to the key, which
-		 * means modules are allowed to call static_call_update() on
-		 * it.
-		 *
-		 * Otherwise, the key isn't exported, and 'addr' points to the
-		 * trampoline so we need to lookup the key.
-		 *
-		 * We go through this dance to prevent crazy modules from
-		 * abusing sensitive static calls.
-		 */
-		if (!kernel_text_address(addr))
-			continue;
-
-		key = tramp_key_lookup(addr);
-		if (!key) {
-			pr_warn("Failed to fixup __raw_static_call() usage at: %ps\n",
-				static_call_addr(site));
-			return -EINVAL;
-		}
-
-		key |= s_key & STATIC_CALL_SITE_FLAGS;
-		site->key = key - (long)&site->key;
-	}
-
-	return __static_call_init(mod, start, stop);
-}
-
-static void static_call_del_module(struct module *mod)
-{
-	struct static_call_site *start = mod->static_call_sites;
-	struct static_call_site *stop = mod->static_call_sites +
-					mod->num_static_call_sites;
-	struct static_call_key *key, *prev_key = NULL;
-	struct static_call_mod *site_mod, **prev;
-	struct static_call_site *site;
-
-	for (site = start; site < stop; site++) {
-		key = static_call_key(site);
-		if (key == prev_key)
-			continue;
-
-		prev_key = key;
-
-		for (prev = &key->mods, site_mod = key->mods;
-		     site_mod && site_mod->mod != mod;
-		     prev = &site_mod->next, site_mod = site_mod->next)
-			;
-
-		if (!site_mod)
-			continue;
-
-		*prev = site_mod->next;
-		kfree(site_mod);
-	}
-}
-
-static int static_call_module_notify(struct notifier_block *nb,
-				     unsigned long val, void *data)
-{
-	struct module *mod = data;
-	int ret = 0;
-
-	cpus_read_lock();
-	static_call_lock();
-
-	switch (val) {
-	case MODULE_STATE_COMING:
-		ret = static_call_add_module(mod);
-		if (ret) {
-			WARN(1, "Failed to allocate memory for static calls");
-			static_call_del_module(mod);
-		}
-		break;
-	case MODULE_STATE_GOING:
-		static_call_del_module(mod);
-		break;
-	}
-
-	static_call_unlock();
-	cpus_read_unlock();
-
-	return notifier_from_errno(ret);
-}
-
-static struct notifier_block static_call_module_nb = {
-	.notifier_call = static_call_module_notify,
-};
-
-#else
-
-static inline int __static_call_mod_text_reserved(void *start, void *end)
-{
-	return 0;
-}
-
-#endif /* CONFIG_MODULES */
-
-int static_call_text_reserved(void *start, void *end)
-{
-	bool init = system_state < SYSTEM_RUNNING;
-	int ret = __static_call_text_reserved(__start_static_call_sites,
-			__stop_static_call_sites, start, end, init);
-
-	if (ret)
-		return ret;
-
-	return __static_call_mod_text_reserved(start, end);
-}
-
-int __init static_call_init(void)
-{
-	int ret;
-
-	if (static_call_initialized)
-		return 0;
-
-	cpus_read_lock();
-	static_call_lock();
-	ret = __static_call_init(NULL, __start_static_call_sites,
-				 __stop_static_call_sites);
-	static_call_unlock();
-	cpus_read_unlock();
-
-	if (ret) {
-		pr_err("Failed to allocate memory for static_call!\n");
-		BUG();
-	}
-
-	static_call_initialized = true;
-
-#ifdef CONFIG_MODULES
-	register_module_notifier(&static_call_module_nb);
-#endif
-	return 0;
-}
-early_initcall(static_call_init);
 
 long __static_call_return0(void)
 {
 	return 0;
 }
-
-#ifdef CONFIG_STATIC_CALL_SELFTEST
-
-static int func_a(int x)
-{
-	return x+1;
-}
-
-static int func_b(int x)
-{
-	return x+2;
-}
-
-DEFINE_STATIC_CALL(sc_selftest, func_a);
-
-static struct static_call_data {
-      int (*func)(int);
-      int val;
-      int expect;
-} static_call_data [] __initdata = {
-      { NULL,   2, 3 },
-      { func_b, 2, 4 },
-      { func_a, 2, 3 }
-};
-
-static int __init test_static_call_init(void)
-{
-      int i;
-
-      for (i = 0; i < ARRAY_SIZE(static_call_data); i++ ) {
-	      struct static_call_data *scd = &static_call_data[i];
-
-              if (scd->func)
-                      static_call_update(sc_selftest, scd->func);
-
-              WARN_ON(static_call(sc_selftest)(scd->val) != scd->expect);
-      }
-
-      return 0;
-}
-early_initcall(test_static_call_init);
-
-#endif /* CONFIG_STATIC_CALL_SELFTEST */
+EXPORT_SYMBOL_GPL(__static_call_return0);
--- /dev/null
+++ b/kernel/static_call_inline.c
@@ -0,0 +1,543 @@
+// SPDX-License-Identifier: GPL-2.0
+#include <linux/init.h>
+#include <linux/static_call.h>
+#include <linux/bug.h>
+#include <linux/smp.h>
+#include <linux/sort.h>
+#include <linux/slab.h>
+#include <linux/module.h>
+#include <linux/cpu.h>
+#include <linux/processor.h>
+#include <asm/sections.h>
+
+extern struct static_call_site __start_static_call_sites[],
+			       __stop_static_call_sites[];
+extern struct static_call_tramp_key __start_static_call_tramp_key[],
+				    __stop_static_call_tramp_key[];
+
+static bool static_call_initialized;
+
+/* mutex to protect key modules/sites */
+static DEFINE_MUTEX(static_call_mutex);
+
+static void static_call_lock(void)
+{
+	mutex_lock(&static_call_mutex);
+}
+
+static void static_call_unlock(void)
+{
+	mutex_unlock(&static_call_mutex);
+}
+
+static inline void *static_call_addr(struct static_call_site *site)
+{
+	return (void *)((long)site->addr + (long)&site->addr);
+}
+
+static inline unsigned long __static_call_key(const struct static_call_site *site)
+{
+	return (long)site->key + (long)&site->key;
+}
+
+static inline struct static_call_key *static_call_key(const struct static_call_site *site)
+{
+	return (void *)(__static_call_key(site) & ~STATIC_CALL_SITE_FLAGS);
+}
+
+/* These assume the key is word-aligned. */
+static inline bool static_call_is_init(struct static_call_site *site)
+{
+	return __static_call_key(site) & STATIC_CALL_SITE_INIT;
+}
+
+static inline bool static_call_is_tail(struct static_call_site *site)
+{
+	return __static_call_key(site) & STATIC_CALL_SITE_TAIL;
+}
+
+static inline void static_call_set_init(struct static_call_site *site)
+{
+	site->key = (__static_call_key(site) | STATIC_CALL_SITE_INIT) -
+		    (long)&site->key;
+}
+
+static int static_call_site_cmp(const void *_a, const void *_b)
+{
+	const struct static_call_site *a = _a;
+	const struct static_call_site *b = _b;
+	const struct static_call_key *key_a = static_call_key(a);
+	const struct static_call_key *key_b = static_call_key(b);
+
+	if (key_a < key_b)
+		return -1;
+
+	if (key_a > key_b)
+		return 1;
+
+	return 0;
+}
+
+static void static_call_site_swap(void *_a, void *_b, int size)
+{
+	long delta = (unsigned long)_a - (unsigned long)_b;
+	struct static_call_site *a = _a;
+	struct static_call_site *b = _b;
+	struct static_call_site tmp = *a;
+
+	a->addr = b->addr  - delta;
+	a->key  = b->key   - delta;
+
+	b->addr = tmp.addr + delta;
+	b->key  = tmp.key  + delta;
+}
+
+static inline void static_call_sort_entries(struct static_call_site *start,
+					    struct static_call_site *stop)
+{
+	sort(start, stop - start, sizeof(struct static_call_site),
+	     static_call_site_cmp, static_call_site_swap);
+}
+
+static inline bool static_call_key_has_mods(struct static_call_key *key)
+{
+	return !(key->type & 1);
+}
+
+static inline struct static_call_mod *static_call_key_next(struct static_call_key *key)
+{
+	if (!static_call_key_has_mods(key))
+		return NULL;
+
+	return key->mods;
+}
+
+static inline struct static_call_site *static_call_key_sites(struct static_call_key *key)
+{
+	if (static_call_key_has_mods(key))
+		return NULL;
+
+	return (struct static_call_site *)(key->type & ~1);
+}
+
+void __static_call_update(struct static_call_key *key, void *tramp, void *func)
+{
+	struct static_call_site *site, *stop;
+	struct static_call_mod *site_mod, first;
+
+	cpus_read_lock();
+	static_call_lock();
+
+	if (key->func == func)
+		goto done;
+
+	key->func = func;
+
+	arch_static_call_transform(NULL, tramp, func, false);
+
+	/*
+	 * If uninitialized, we'll not update the callsites, but they still
+	 * point to the trampoline and we just patched that.
+	 */
+	if (WARN_ON_ONCE(!static_call_initialized))
+		goto done;
+
+	first = (struct static_call_mod){
+		.next = static_call_key_next(key),
+		.mod = NULL,
+		.sites = static_call_key_sites(key),
+	};
+
+	for (site_mod = &first; site_mod; site_mod = site_mod->next) {
+		bool init = system_state < SYSTEM_RUNNING;
+		struct module *mod = site_mod->mod;
+
+		if (!site_mod->sites) {
+			/*
+			 * This can happen if the static call key is defined in
+			 * a module which doesn't use it.
+			 *
+			 * It also happens in the has_mods case, where the
+			 * 'first' entry has no sites associated with it.
+			 */
+			continue;
+		}
+
+		stop = __stop_static_call_sites;
+
+		if (mod) {
+#ifdef CONFIG_MODULES
+			stop = mod->static_call_sites +
+			       mod->num_static_call_sites;
+			init = mod->state == MODULE_STATE_COMING;
+#endif
+		}
+
+		for (site = site_mod->sites;
+		     site < stop && static_call_key(site) == key; site++) {
+			void *site_addr = static_call_addr(site);
+
+			if (!init && static_call_is_init(site))
+				continue;
+
+			if (!kernel_text_address((unsigned long)site_addr)) {
+				/*
+				 * This skips patching built-in __exit, which
+				 * is part of init_section_contains() but is
+				 * not part of kernel_text_address().
+				 *
+				 * Skipping built-in __exit is fine since it
+				 * will never be executed.
+				 */
+				WARN_ONCE(!static_call_is_init(site),
+					  "can't patch static call site at %pS",
+					  site_addr);
+				continue;
+			}
+
+			arch_static_call_transform(site_addr, NULL, func,
+						   static_call_is_tail(site));
+		}
+	}
+
+done:
+	static_call_unlock();
+	cpus_read_unlock();
+}
+EXPORT_SYMBOL_GPL(__static_call_update);
+
+static int __static_call_init(struct module *mod,
+			      struct static_call_site *start,
+			      struct static_call_site *stop)
+{
+	struct static_call_site *site;
+	struct static_call_key *key, *prev_key = NULL;
+	struct static_call_mod *site_mod;
+
+	if (start == stop)
+		return 0;
+
+	static_call_sort_entries(start, stop);
+
+	for (site = start; site < stop; site++) {
+		void *site_addr = static_call_addr(site);
+
+		if ((mod && within_module_init((unsigned long)site_addr, mod)) ||
+		    (!mod && init_section_contains(site_addr, 1)))
+			static_call_set_init(site);
+
+		key = static_call_key(site);
+		if (key != prev_key) {
+			prev_key = key;
+
+			/*
+			 * For vmlinux (!mod) avoid the allocation by storing
+			 * the sites pointer in the key itself. Also see
+			 * __static_call_update()'s @first.
+			 *
+			 * This allows architectures (eg. x86) to call
+			 * static_call_init() before memory allocation works.
+			 */
+			if (!mod) {
+				key->sites = site;
+				key->type |= 1;
+				goto do_transform;
+			}
+
+			site_mod = kzalloc(sizeof(*site_mod), GFP_KERNEL);
+			if (!site_mod)
+				return -ENOMEM;
+
+			/*
+			 * When the key has a direct sites pointer, extract
+			 * that into an explicit struct static_call_mod, so we
+			 * can have a list of modules.
+			 */
+			if (static_call_key_sites(key)) {
+				site_mod->mod = NULL;
+				site_mod->next = NULL;
+				site_mod->sites = static_call_key_sites(key);
+
+				key->mods = site_mod;
+
+				site_mod = kzalloc(sizeof(*site_mod), GFP_KERNEL);
+				if (!site_mod)
+					return -ENOMEM;
+			}
+
+			site_mod->mod = mod;
+			site_mod->sites = site;
+			site_mod->next = static_call_key_next(key);
+			key->mods = site_mod;
+		}
+
+do_transform:
+		arch_static_call_transform(site_addr, NULL, key->func,
+				static_call_is_tail(site));
+	}
+
+	return 0;
+}
+
+static int addr_conflict(struct static_call_site *site, void *start, void *end)
+{
+	unsigned long addr = (unsigned long)static_call_addr(site);
+
+	if (addr <= (unsigned long)end &&
+	    addr + CALL_INSN_SIZE > (unsigned long)start)
+		return 1;
+
+	return 0;
+}
+
+static int __static_call_text_reserved(struct static_call_site *iter_start,
+				       struct static_call_site *iter_stop,
+				       void *start, void *end, bool init)
+{
+	struct static_call_site *iter = iter_start;
+
+	while (iter < iter_stop) {
+		if (init || !static_call_is_init(iter)) {
+			if (addr_conflict(iter, start, end))
+				return 1;
+		}
+		iter++;
+	}
+
+	return 0;
+}
+
+#ifdef CONFIG_MODULES
+
+static int __static_call_mod_text_reserved(void *start, void *end)
+{
+	struct module *mod;
+	int ret;
+
+	preempt_disable();
+	mod = __module_text_address((unsigned long)start);
+	WARN_ON_ONCE(__module_text_address((unsigned long)end) != mod);
+	if (!try_module_get(mod))
+		mod = NULL;
+	preempt_enable();
+
+	if (!mod)
+		return 0;
+
+	ret = __static_call_text_reserved(mod->static_call_sites,
+			mod->static_call_sites + mod->num_static_call_sites,
+			start, end, mod->state == MODULE_STATE_COMING);
+
+	module_put(mod);
+
+	return ret;
+}
+
+static unsigned long tramp_key_lookup(unsigned long addr)
+{
+	struct static_call_tramp_key *start = __start_static_call_tramp_key;
+	struct static_call_tramp_key *stop = __stop_static_call_tramp_key;
+	struct static_call_tramp_key *tramp_key;
+
+	for (tramp_key = start; tramp_key != stop; tramp_key++) {
+		unsigned long tramp;
+
+		tramp = (long)tramp_key->tramp + (long)&tramp_key->tramp;
+		if (tramp == addr)
+			return (long)tramp_key->key + (long)&tramp_key->key;
+	}
+
+	return 0;
+}
+
+static int static_call_add_module(struct module *mod)
+{
+	struct static_call_site *start = mod->static_call_sites;
+	struct static_call_site *stop = start + mod->num_static_call_sites;
+	struct static_call_site *site;
+
+	for (site = start; site != stop; site++) {
+		unsigned long s_key = __static_call_key(site);
+		unsigned long addr = s_key & ~STATIC_CALL_SITE_FLAGS;
+		unsigned long key;
+
+		/*
+		 * Is the key is exported, 'addr' points to the key, which
+		 * means modules are allowed to call static_call_update() on
+		 * it.
+		 *
+		 * Otherwise, the key isn't exported, and 'addr' points to the
+		 * trampoline so we need to lookup the key.
+		 *
+		 * We go through this dance to prevent crazy modules from
+		 * abusing sensitive static calls.
+		 */
+		if (!kernel_text_address(addr))
+			continue;
+
+		key = tramp_key_lookup(addr);
+		if (!key) {
+			pr_warn("Failed to fixup __raw_static_call() usage at: %ps\n",
+				static_call_addr(site));
+			return -EINVAL;
+		}
+
+		key |= s_key & STATIC_CALL_SITE_FLAGS;
+		site->key = key - (long)&site->key;
+	}
+
+	return __static_call_init(mod, start, stop);
+}
+
+static void static_call_del_module(struct module *mod)
+{
+	struct static_call_site *start = mod->static_call_sites;
+	struct static_call_site *stop = mod->static_call_sites +
+					mod->num_static_call_sites;
+	struct static_call_key *key, *prev_key = NULL;
+	struct static_call_mod *site_mod, **prev;
+	struct static_call_site *site;
+
+	for (site = start; site < stop; site++) {
+		key = static_call_key(site);
+		if (key == prev_key)
+			continue;
+
+		prev_key = key;
+
+		for (prev = &key->mods, site_mod = key->mods;
+		     site_mod && site_mod->mod != mod;
+		     prev = &site_mod->next, site_mod = site_mod->next)
+			;
+
+		if (!site_mod)
+			continue;
+
+		*prev = site_mod->next;
+		kfree(site_mod);
+	}
+}
+
+static int static_call_module_notify(struct notifier_block *nb,
+				     unsigned long val, void *data)
+{
+	struct module *mod = data;
+	int ret = 0;
+
+	cpus_read_lock();
+	static_call_lock();
+
+	switch (val) {
+	case MODULE_STATE_COMING:
+		ret = static_call_add_module(mod);
+		if (ret) {
+			WARN(1, "Failed to allocate memory for static calls");
+			static_call_del_module(mod);
+		}
+		break;
+	case MODULE_STATE_GOING:
+		static_call_del_module(mod);
+		break;
+	}
+
+	static_call_unlock();
+	cpus_read_unlock();
+
+	return notifier_from_errno(ret);
+}
+
+static struct notifier_block static_call_module_nb = {
+	.notifier_call = static_call_module_notify,
+};
+
+#else
+
+static inline int __static_call_mod_text_reserved(void *start, void *end)
+{
+	return 0;
+}
+
+#endif /* CONFIG_MODULES */
+
+int static_call_text_reserved(void *start, void *end)
+{
+	bool init = system_state < SYSTEM_RUNNING;
+	int ret = __static_call_text_reserved(__start_static_call_sites,
+			__stop_static_call_sites, start, end, init);
+
+	if (ret)
+		return ret;
+
+	return __static_call_mod_text_reserved(start, end);
+}
+
+int __init static_call_init(void)
+{
+	int ret;
+
+	if (static_call_initialized)
+		return 0;
+
+	cpus_read_lock();
+	static_call_lock();
+	ret = __static_call_init(NULL, __start_static_call_sites,
+				 __stop_static_call_sites);
+	static_call_unlock();
+	cpus_read_unlock();
+
+	if (ret) {
+		pr_err("Failed to allocate memory for static_call!\n");
+		BUG();
+	}
+
+	static_call_initialized = true;
+
+#ifdef CONFIG_MODULES
+	register_module_notifier(&static_call_module_nb);
+#endif
+	return 0;
+}
+early_initcall(static_call_init);
+
+#ifdef CONFIG_STATIC_CALL_SELFTEST
+
+static int func_a(int x)
+{
+	return x+1;
+}
+
+static int func_b(int x)
+{
+	return x+2;
+}
+
+DEFINE_STATIC_CALL(sc_selftest, func_a);
+
+static struct static_call_data {
+      int (*func)(int);
+      int val;
+      int expect;
+} static_call_data [] __initdata = {
+      { NULL,   2, 3 },
+      { func_b, 2, 4 },
+      { func_a, 2, 3 }
+};
+
+static int __init test_static_call_init(void)
+{
+      int i;
+
+      for (i = 0; i < ARRAY_SIZE(static_call_data); i++ ) {
+	      struct static_call_data *scd = &static_call_data[i];
+
+              if (scd->func)
+                      static_call_update(sc_selftest, scd->func);
+
+              WARN_ON(static_call(sc_selftest)(scd->val) != scd->expect);
+      }
+
+      return 0;
+}
+early_initcall(test_static_call_init);
+
+#endif /* CONFIG_STATIC_CALL_SELFTEST */



  parent reply	other threads:[~2022-04-12  7:55 UTC|newest]

Thread overview: 355+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-04-12  6:26 [PATCH 5.17 000/343] 5.17.3-rc1 review Greg Kroah-Hartman
2022-04-12  6:26 ` [PATCH 5.17 001/343] lib/logic_iomem: correct fallback config references Greg Kroah-Hartman
2022-04-12  6:27 ` [PATCH 5.17 002/343] um: fix and optimize xor select template for CONFIG64 and timetravel mode Greg Kroah-Hartman
2022-04-12  6:27 ` [PATCH 5.17 003/343] rtc: wm8350: Handle error for wm8350_register_irq Greg Kroah-Hartman
2022-04-12  6:27 ` [PATCH 5.17 004/343] net: dsa: felix: fix possible NULL pointer dereference Greg Kroah-Hartman
2022-04-12  6:27 ` [PATCH 5.17 005/343] mm: kfence: fix objcgs vector allocation Greg Kroah-Hartman
2022-04-12  6:27 ` [PATCH 5.17 006/343] KVM: x86/pmu: Use different raw event masks for AMD and Intel Greg Kroah-Hartman
2022-04-12  6:27 ` [PATCH 5.17 007/343] KVM: SVM: Fix kvm_cache_regs.h inclusions for is_guest_mode() Greg Kroah-Hartman
2022-04-12  6:27 ` [PATCH 5.17 008/343] KVM: x86/svm: Clear reserved bits written to PerfEvtSeln MSRs Greg Kroah-Hartman
2022-04-12  6:27 ` [PATCH 5.17 009/343] KVM: x86/pmu: Fix and isolate TSX-specific performance event logic Greg Kroah-Hartman
2022-04-12  6:27 ` [PATCH 5.17 010/343] KVM: x86/emulator: Emulate RDPID only if it is enabled in guest Greg Kroah-Hartman
2022-04-12  6:27 ` [PATCH 5.17 011/343] drm: Add orientation quirk for GPD Win Max Greg Kroah-Hartman
2022-04-12  6:27 ` [PATCH 5.17 012/343] Bluetooth: hci_sync: Fix compilation warning Greg Kroah-Hartman
2022-04-12  6:27 ` [PATCH 5.17 013/343] ath5k: fix OOB in ath5k_eeprom_read_pcal_info_5111 Greg Kroah-Hartman
2022-04-12  6:27 ` [PATCH 5.17 014/343] Bluetooth: fix null ptr deref on hci_sync_conn_complete_evt Greg Kroah-Hartman
2022-04-12  6:27 ` [PATCH 5.17 015/343] drm/amd/display: Add signal type check when verify stream backends same Greg Kroah-Hartman
2022-04-12  6:27 ` [PATCH 5.17 016/343] drm/amdkfd: enable heavy-weight TLB flush on Arcturus Greg Kroah-Hartman
2022-04-12  6:27 ` [PATCH 5.17 017/343] drm/edid: remove non_desktop quirk for HPN-3515 and LEN-B800 Greg Kroah-Hartman
2022-04-12  6:27 ` [PATCH 5.17 018/343] drm/edid: improve non-desktop quirk logging Greg Kroah-Hartman
2022-04-12  6:27 ` [PATCH 5.17 019/343] Bluetooth: hci_event: Ignore multiple conn complete events Greg Kroah-Hartman
2022-04-12  6:27 ` [PATCH 5.17 020/343] drm/amd/amdgpu/amdgpu_cs: fix refcount leak of a dma_fence obj Greg Kroah-Hartman
2022-04-12  6:27 ` [PATCH 5.17 021/343] drm/amd/display: Fix memory leak Greg Kroah-Hartman
2022-04-12  6:27 ` [PATCH 5.17 022/343] drm/amd/display: Use PSR version selected during set_psr_caps Greg Kroah-Hartman
2022-04-12  6:27 ` [PATCH 5.17 023/343] usb: gadget: tegra-xudc: Do not program SPARAM Greg Kroah-Hartman
2022-04-12  6:27 ` [PATCH 5.17 024/343] usb: gadget: tegra-xudc: Fix control endpoints definitions Greg Kroah-Hartman
2022-04-12  6:27 ` [PATCH 5.17 025/343] usb: cdnsp: fix cdnsp_decode_trb function to properly handle ret value Greg Kroah-Hartman
2022-04-12  6:27 ` [PATCH 5.17 026/343] ptp: replace snprintf with sysfs_emit Greg Kroah-Hartman
2022-04-12  6:27 ` [PATCH 5.17 027/343] Bluetooth: hci_sync: Fix queuing commands when HCI_UNREGISTER is set Greg Kroah-Hartman
2022-04-12  6:27 ` [PATCH 5.17 028/343] selftests, xsk: Fix bpf_res cleanup test Greg Kroah-Hartman
2022-04-12  6:27 ` [PATCH 5.17 029/343] net/mlx5e: TC, Hold sample_attr on stack instead of pointer Greg Kroah-Hartman
2022-04-12  6:27 ` [PATCH 5.17 030/343] drm/amdkfd: Dont take process mutex for svm ioctls Greg Kroah-Hartman
2022-04-12  6:27 ` [PATCH 5.17 031/343] drm/amdkfd: Ensure mm remain valid in svm deferred_list work Greg Kroah-Hartman
2022-04-12  6:27 ` [PATCH 5.17 032/343] drm/amdkfd: svm range restore work deadlock when process exit Greg Kroah-Hartman
2022-04-12  6:27 ` [PATCH 5.17 033/343] drm/amdgpu: Fix an error message in rmmod Greg Kroah-Hartman
2022-04-12  6:27 ` [PATCH 5.17 034/343] mlxsw: spectrum: Guard against invalid local ports Greg Kroah-Hartman
2022-04-12  6:27 ` [PATCH 5.17 035/343] RDMA/rtrs-clt: Do stop and failover outside reconnect work Greg Kroah-Hartman
2022-04-12  6:27 ` [PATCH 5.17 036/343] powerpc/xive: Export XIVE IPI information for online-only processors Greg Kroah-Hartman
2022-04-12  6:27 ` [PATCH 5.17 037/343] powerpc: dts: t104xrdb: fix phy type for FMAN 4/5 Greg Kroah-Hartman
2022-04-12  6:27 ` [PATCH 5.17 038/343] ath11k: fix kernel panic during unload/load ath11k modules Greg Kroah-Hartman
2022-04-12  6:27 ` [PATCH 5.17 039/343] ath11k: pci: fix crash on suspend if board file is not found Greg Kroah-Hartman
2022-04-12  6:27 ` [PATCH 5.17 040/343] ath11k: mhi: use mhi_sync_power_up() Greg Kroah-Hartman
2022-04-12  6:27 ` [PATCH 5.17 041/343] net/smc: Send directly when TCP_CORK is cleared Greg Kroah-Hartman
2022-04-12  6:27 ` [PATCH 5.17 042/343] drm/bridge: Add missing pm_runtime_put_sync Greg Kroah-Hartman
2022-04-12  6:27 ` [PATCH 5.17 043/343] bpf: Make dst_port field in struct bpf_sock 16-bit wide Greg Kroah-Hartman
2022-04-12  6:27 ` [PATCH 5.17 044/343] scsi: mvsas: Replace snprintf() with sysfs_emit() Greg Kroah-Hartman
2022-04-12  6:27 ` [PATCH 5.17 045/343] scsi: bfa: " Greg Kroah-Hartman
2022-04-12  6:27 ` [PATCH 5.17 046/343] drm/v3d: fix missing unlock Greg Kroah-Hartman
2022-04-12  6:27 ` [PATCH 5.17 047/343] power: supply: axp20x_battery: properly report current when discharging Greg Kroah-Hartman
2022-04-12  6:27 ` [PATCH 5.17 048/343] mt76: mt7921: fix crash when startup fails Greg Kroah-Hartman
2022-04-12  6:27 ` [PATCH 5.17 049/343] mt76: dma: initialize skip_unmap in mt76_dma_rx_fill Greg Kroah-Hartman
2022-04-12  6:27 ` [PATCH 5.17 050/343] i40e: Add sending commands in atomic context Greg Kroah-Hartman
2022-04-12  6:27 ` [PATCH 5.17 051/343] cfg80211: dont add non transmitted BSS to 6GHz scanned channels Greg Kroah-Hartman
2022-04-12  6:27 ` [PATCH 5.17 052/343] libbpf: Fix build issue with llvm-readelf Greg Kroah-Hartman
2022-04-12  6:27 ` [PATCH 5.17 053/343] ipv6: make mc_forwarding atomic Greg Kroah-Hartman
2022-04-12  6:27 ` [PATCH 5.17 054/343] ref_tracker: implement use-after-free detection Greg Kroah-Hartman
2022-04-12  6:27 ` [PATCH 5.17 055/343] net: initialize init_net earlier Greg Kroah-Hartman
2022-04-12  6:27 ` [PATCH 5.17 056/343] powerpc: Set crashkernel offset to mid of RMA region Greg Kroah-Hartman
2022-04-12  6:27 ` [PATCH 5.17 057/343] drm/amdgpu: Fix recursive locking warning Greg Kroah-Hartman
2022-04-12  6:27 ` [PATCH 5.17 058/343] scsi: smartpqi: Fix rmmod stack trace Greg Kroah-Hartman
2022-04-12  6:27 ` [PATCH 5.17 059/343] scsi: smartpqi: Fix kdump issue when controller is locked up Greg Kroah-Hartman
2022-04-12  6:27 ` [PATCH 5.17 060/343] PCI: aardvark: Fix support for MSI interrupts Greg Kroah-Hartman
2022-04-12  6:27 ` [PATCH 5.17 061/343] kvm: selftests: aarch64: fix assert in gicv3_access_reg Greg Kroah-Hartman
2022-04-12  6:28 ` [PATCH 5.17 062/343] kvm: selftests: aarch64: pass vgic_irq guest args as a pointer Greg Kroah-Hartman
2022-04-12  6:28 ` [PATCH 5.17 063/343] kvm: selftests: aarch64: fix the failure check in kvm_set_gsi_routing_irqchip_check Greg Kroah-Hartman
2022-04-12  6:28 ` [PATCH 5.17 064/343] kvm: selftests: aarch64: fix some vgic related comments Greg Kroah-Hartman
2022-04-12  6:28 ` [PATCH 5.17 065/343] kvm: selftests: aarch64: use a tighter assert in vgic_poke_irq() Greg Kroah-Hartman
2022-04-12  6:28 ` [PATCH 5.17 066/343] iommu/arm-smmu-v3: fix event handling soft lockup Greg Kroah-Hartman
2022-04-12  6:28 ` [PATCH 5.17 067/343] usb: ehci: add pci device support for Aspeed platforms Greg Kroah-Hartman
2022-04-12  6:28 ` [PATCH 5.17 068/343] KVM: arm64: Do not change the PMU event filter after a VCPU has run Greg Kroah-Hartman
2022-04-12  6:28 ` [PATCH 5.17 069/343] libbpf: Fix accessing syscall arguments on powerpc Greg Kroah-Hartman
2022-04-12  6:28 ` [PATCH 5.17 070/343] libbpf: Fix accessing the first syscall argument on arm64 Greg Kroah-Hartman
2022-04-12  6:28 ` [PATCH 5.17 071/343] libbpf: Fix accessing the first syscall argument on s390 Greg Kroah-Hartman
2022-04-12  6:28 ` [PATCH 5.17 072/343] PCI: endpoint: Fix alignment fault error in copy tests Greg Kroah-Hartman
2022-04-12  6:28 ` [PATCH 5.17 073/343] tcp: Dont acquire inet_listen_hashbucket::lock with disabled BH Greg Kroah-Hartman
2022-04-12  6:28 ` [PATCH 5.17 074/343] PCI: pciehp: Add Qualcomm quirk for Command Completed erratum Greg Kroah-Hartman
2022-04-12  6:28 ` [PATCH 5.17 075/343] scsi: mpi3mr: Fix deadlock while canceling the fw event Greg Kroah-Hartman
2022-04-12  6:28 ` [PATCH 5.17 076/343] scsi: mpi3mr: Fix reporting of actual data transfer size Greg Kroah-Hartman
2022-04-12  6:28 ` [PATCH 5.17 077/343] scsi: mpi3mr: Fix memory leaks Greg Kroah-Hartman
2022-04-12  6:28 ` [PATCH 5.17 078/343] powerpc/set_memory: Avoid spinlock recursion in change_page_attr() Greg Kroah-Hartman
2022-04-12  6:28 ` [PATCH 5.17 079/343] power: supply: axp288-charger: Set Vhold to 4.4V Greg Kroah-Hartman
2022-04-12  6:28 ` [PATCH 5.17 080/343] drm/sprd: fix potential NULL dereference Greg Kroah-Hartman
2022-04-12  6:28 ` [PATCH 5.17 081/343] drm/sprd: check the platform_get_resource() return value Greg Kroah-Hartman
2022-04-12  6:28 ` [PATCH 5.17 082/343] drm/amd/display: reset lane settings after each PHY repeater LT Greg Kroah-Hartman
2022-04-12  6:28 ` [PATCH 5.17 083/343] net/mlx5e: Disable TX queues before registering the netdev Greg Kroah-Hartman
2022-04-12  6:28 ` [PATCH 5.17 084/343] HID: apple: Report Magic Keyboard 2021 battery over USB Greg Kroah-Hartman
2022-04-12  6:28 ` [PATCH 5.17 085/343] HID: apple: Report Magic Keyboard 2021 with fingerprint reader " Greg Kroah-Hartman
2022-04-12  6:28 ` [PATCH 5.17 086/343] usb: dwc3: pci: Set the swnode from inside dwc3_pci_quirks() Greg Kroah-Hartman
2022-04-12  6:28 ` [PATCH 5.17 087/343] iwlwifi: mvm: Correctly set fragmented EBS Greg Kroah-Hartman
2022-04-12  6:28 ` [PATCH 5.17 088/343] iwlwifi: fix small doc mistake for iwl_fw_ini_addr_val Greg Kroah-Hartman
2022-04-12  6:28 ` [PATCH 5.17 089/343] iwlwifi: mvm: move only to an enabled channel Greg Kroah-Hartman
2022-04-12  6:28 ` [PATCH 5.17 090/343] ipv6: annotate some data-races around sk->sk_prot Greg Kroah-Hartman
2022-04-12  6:28 ` [PATCH 5.17 091/343] drm/msm/dsi: Remove spurious IRQF_ONESHOT flag Greg Kroah-Hartman
2022-04-12  6:28 ` [PATCH 5.17 092/343] x86/mce: Work around an erratum on fast string copy instructions Greg Kroah-Hartman
2022-04-12  6:28 ` [PATCH 5.17 093/343] rtw89: fix RCU usage in rtw89_core_txq_push() Greg Kroah-Hartman
2022-04-12  6:28 ` [PATCH 5.17 094/343] ath11k: Fix frames flush failure caused by deadlock Greg Kroah-Hartman
2022-04-12  6:28 ` [PATCH 5.17 095/343] ipv4: Invalidate neighbour for broadcast address upon address addition Greg Kroah-Hartman
2022-04-12  6:28 ` [PATCH 5.17 096/343] rtw88: change rtw_info() to proper message level Greg Kroah-Hartman
2022-04-12  6:28 ` [PATCH 5.17 097/343] dm ioctl: prevent potential spectre v1 gadget Greg Kroah-Hartman
2022-04-12  6:28 ` [PATCH 5.17 098/343] dm: requeue IO if mapping table not yet available Greg Kroah-Hartman
2022-04-12  6:28 ` [PATCH 5.17 099/343] drm/amdkfd: make CRAT table missing message informational only Greg Kroah-Hartman
2022-04-12  6:28 ` [PATCH 5.17 100/343] vfio/pci: Stub vfio_pci_vga_rw when !CONFIG_VFIO_PCI_VGA Greg Kroah-Hartman
2022-04-12  6:28 ` [PATCH 5.17 101/343] scsi: pm8001: Fix pm80xx_pci_mem_copy() interface Greg Kroah-Hartman
2022-04-12  6:28 ` [PATCH 5.17 102/343] scsi: pm8001: Fix pm8001_mpi_task_abort_resp() Greg Kroah-Hartman
2022-04-12  6:28 ` [PATCH 5.17 103/343] scsi: pm8001: Fix tag values handling Greg Kroah-Hartman
2022-04-12  6:28 ` [PATCH 5.17 104/343] scsi: pm8001: Fix task leak in pm8001_send_abort_all() Greg Kroah-Hartman
2022-04-12  6:28 ` [PATCH 5.17 105/343] scsi: pm8001: Fix tag leaks on error Greg Kroah-Hartman
2022-04-12  6:28 ` [PATCH 5.17 106/343] scsi: pm8001: Fix memory leak in pm8001_chip_fw_flash_update_req() Greg Kroah-Hartman
2022-04-12  6:28 ` [PATCH 5.17 107/343] mt76: mt7915: fix injected MPDU transmission to not use HW A-MSDU Greg Kroah-Hartman
2022-04-12  6:28 ` [PATCH 5.17 108/343] mctp: make __mctp_dev_get() take a refcount hold Greg Kroah-Hartman
2022-04-12  6:28 ` [PATCH 5.17 109/343] powerpc/64s/hash: Make hash faults work in NMI context Greg Kroah-Hartman
2022-04-12  6:28 ` [PATCH 5.17 110/343] mt76: mt7615: Fix assigning negative values to unsigned variable Greg Kroah-Hartman
2022-04-12  6:28 ` [PATCH 5.17 111/343] power: supply: axp288_charger: Use acpi_quirk_skip_acpi_ac_and_battery() Greg Kroah-Hartman
2022-04-12  6:28 ` [PATCH 5.17 112/343] power: supply: axp288_fuel_gauge: " Greg Kroah-Hartman
2022-04-12  6:28 ` [PATCH 5.17 113/343] scsi: aha152x: Fix aha152x_setup() __setup handler return value Greg Kroah-Hartman
2022-04-12  6:28 ` [PATCH 5.17 114/343] scsi: hisi_sas: Free irq vectors in order for v3 HW Greg Kroah-Hartman
2022-04-12  6:28 ` [PATCH 5.17 115/343] scsi: hisi_sas: Limit users changing debugfs BIST count value Greg Kroah-Hartman
2022-04-12  6:28 ` [PATCH 5.17 116/343] net/smc: correct settings of RMB window update limit Greg Kroah-Hartman
2022-04-12  6:28 ` [PATCH 5.17 117/343] mips: ralink: fix a refcount leak in ill_acc_of_setup() Greg Kroah-Hartman
2022-04-12  6:28 ` [PATCH 5.17 118/343] iavf: stop leaking iavf_status as "errno" values Greg Kroah-Hartman
2022-04-12  6:28 ` [PATCH 5.17 119/343] macvtap: advertise link netns via netlink Greg Kroah-Hartman
2022-04-12  6:28 ` [PATCH 5.17 120/343] platform/x86: thinkpad_acpi: Add dual fan probe Greg Kroah-Hartman
2022-04-12  6:28 ` [PATCH 5.17 121/343] tuntap: add sanity checks about msg_controllen in sendmsg Greg Kroah-Hartman
2022-04-12  6:29 ` [PATCH 5.17 122/343] Bluetooth: mediatek: fix the conflict between mtk and msft vendor event Greg Kroah-Hartman
2022-04-12  6:29 ` [PATCH 5.17 123/343] Bluetooth: Fix not checking for valid hdev on bt_dev_{info,warn,err,dbg} Greg Kroah-Hartman
2022-04-12  6:29 ` [PATCH 5.17 124/343] Bluetooth: use memset avoid memory leaks Greg Kroah-Hartman
2022-04-12  6:29 ` [PATCH 5.17 125/343] bnxt_en: Eliminate unintended link toggle during FW reset Greg Kroah-Hartman
2022-04-12  6:29 ` [PATCH 5.17 126/343] PCI: endpoint: Fix misused goto label Greg Kroah-Hartman
2022-04-12  6:29 ` [PATCH 5.17 127/343] MIPS: fix fortify panic when copying asm exception handlers Greg Kroah-Hartman
2022-04-12  6:29 ` [PATCH 5.17 128/343] powerpc/code-patching: Pre-map patch area Greg Kroah-Hartman
2022-04-12  6:29 ` [PATCH 5.17 129/343] powerpc/64e: Tie PPC_BOOK3E_64 to PPC_FSL_BOOK3E Greg Kroah-Hartman
2022-04-12  6:29 ` [PATCH 5.17 130/343] powerpc/secvar: fix refcount leak in format_show() Greg Kroah-Hartman
2022-04-12  6:29 ` [PATCH 5.17 131/343] scsi: libfc: Fix use after free in fc_exch_abts_resp() Greg Kroah-Hartman
2022-04-12  6:29 ` [PATCH 5.17 132/343] platform/x86: x86-android-tablets: Depend on EFI and SPI Greg Kroah-Hartman
2022-04-12  6:29 ` [PATCH 5.17 133/343] can: isotp: set default value for N_As to 50 micro seconds Greg Kroah-Hartman
2022-04-12  6:29 ` [PATCH 5.17 134/343] can: etas_es58x: es58x_fd_rx_event_msg(): initialize rx_event_msg before calling es58x_check_msg_len() Greg Kroah-Hartman
2022-04-12  6:29 ` [PATCH 5.17 135/343] riscv: Fixed misaligned memory access. Fixed pointer comparison Greg Kroah-Hartman
2022-04-12 15:10   ` Michael T. Kloos
2022-04-12  6:29 ` [PATCH 5.17 136/343] net: account alternate interface name memory Greg Kroah-Hartman
2022-04-12  6:29 ` [PATCH 5.17 137/343] net: limit altnames to 64k total Greg Kroah-Hartman
2022-04-12  6:29 ` [PATCH 5.17 138/343] net/mlx5e: Remove overzealous validations in netlink EEPROM query Greg Kroah-Hartman
2022-04-12  6:29 ` [PATCH 5.17 139/343] platform/x86: hp-wmi: Fix SW_TABLET_MODE detection method Greg Kroah-Hartman
2022-04-12  6:29 ` [PATCH 5.17 140/343] platform/x86: hp-wmi: Fix 0x05 error code reported by several WMI calls Greg Kroah-Hartman
2022-04-12  6:29 ` [PATCH 5.17 141/343] net: sfp: add 2500base-X quirk for Lantech SFP module Greg Kroah-Hartman
2022-04-12  6:29 ` [PATCH 5.17 142/343] usb: dwc3: omap: fix "unbalanced disables for smps10_out1" on omap5evm Greg Kroah-Hartman
2022-04-12  6:29 ` [PATCH 5.17 143/343] xen/usb: harden xen_hcd against malicious backends Greg Kroah-Hartman
2022-04-12  6:29 ` [PATCH 5.17 144/343] mt76: fix monitor mode crash with sdio driver Greg Kroah-Hartman
2022-04-12  6:29 ` [PATCH 5.17 145/343] xtensa: fix DTC warning unit_address_format Greg Kroah-Hartman
2022-04-12  6:29 ` [PATCH 5.17 146/343] iwlwifi: mei: fix building iwlmei Greg Kroah-Hartman
2022-04-12  6:29 ` [PATCH 5.17 147/343] MIPS: ingenic: correct unit node address Greg Kroah-Hartman
2022-04-12  6:29 ` [PATCH 5.17 148/343] Bluetooth: Fix use after free in hci_send_acl Greg Kroah-Hartman
2022-04-12  6:29 ` [PATCH 5.17 149/343] netfilter: conntrack: revisit gc autotuning Greg Kroah-Hartman
2022-04-12  6:29 ` [PATCH 5.17 150/343] netlabel: fix out-of-bounds memory accesses Greg Kroah-Hartman
2022-04-12  6:29 ` [PATCH 5.17 151/343] ceph: fix inode reference leakage in ceph_get_snapdir() Greg Kroah-Hartman
2022-04-12  6:29 ` [PATCH 5.17 152/343] ceph: fix memory leak in ceph_readdir when note_last_dentry returns error Greg Kroah-Hartman
2022-04-12  6:29 ` [PATCH 5.17 153/343] lib/Kconfig.debug: add ARCH dependency for FUNCTION_ALIGN option Greg Kroah-Hartman
2022-04-12  6:29 ` [PATCH 5.17 154/343] init/main.c: return 1 from handled __setup() functions Greg Kroah-Hartman
2022-04-12  6:29 ` [PATCH 5.17 155/343] minix: fix bug when opening a file with O_DIRECT Greg Kroah-Hartman
2022-04-12  6:29 ` [PATCH 5.17 156/343] clk: si5341: fix reported clk_rate when output divider is 2 Greg Kroah-Hartman
2022-04-12  6:29 ` [PATCH 5.17 157/343] clk: mediatek: Fix memory leaks on probe Greg Kroah-Hartman
2022-04-12  6:29 ` [PATCH 5.17 158/343] staging: vchiq_arm: Avoid NULL ptr deref in vchiq_dump_platform_instances Greg Kroah-Hartman
2022-04-12  6:29 ` [PATCH 5.17 159/343] staging: vchiq_core: handle NULL result of find_service_by_handle Greg Kroah-Hartman
2022-04-12  6:29 ` [PATCH 5.17 160/343] phy: amlogic: phy-meson-gxl-usb2: fix shared reset controller use Greg Kroah-Hartman
2022-04-12  6:29 ` [PATCH 5.17 161/343] phy: amlogic: meson8b-usb2: Use dev_err_probe() Greg Kroah-Hartman
2022-04-12  6:29 ` [PATCH 5.17 162/343] phy: amlogic: meson8b-usb2: fix shared reset control use Greg Kroah-Hartman
2022-04-12  6:29 ` [PATCH 5.17 163/343] clk: rockchip: drop CLK_SET_RATE_PARENT from dclk_vop* on rk3568 Greg Kroah-Hartman
2022-04-12  6:29 ` [PATCH 5.17 164/343] cpufreq: CPPC: Fix performance/frequency conversion Greg Kroah-Hartman
2022-04-12  6:29 ` [PATCH 5.17 165/343] opp: Expose of-nodes name in debugfs Greg Kroah-Hartman
2022-04-12  6:29 ` [PATCH 5.17 166/343] staging: wfx: apply the necessary SDIO quirks for the Silabs WF200 Greg Kroah-Hartman
2022-04-12  6:29 ` [PATCH 5.17 167/343] staging: wfx: fix an error handling in wfx_init_common() Greg Kroah-Hartman
2022-04-12  6:29 ` [PATCH 5.17 168/343] w1: w1_therm: fixes w1_seq for ds28ea00 sensors Greg Kroah-Hartman
2022-04-12  6:29 ` [PATCH 5.17 169/343] NFSv4.2: fix reference count leaks in _nfs42_proc_copy_notify() Greg Kroah-Hartman
2022-04-12  6:29 ` [PATCH 5.17 170/343] NFSv4: Protect the state recovery thread against direct reclaim Greg Kroah-Hartman
2022-04-12  6:29 ` [PATCH 5.17 171/343] habanalabs: fix possible memory leak in MMU DR fini Greg Kroah-Hartman
2022-04-12  6:29 ` [PATCH 5.17 172/343] habanalabs: reject host map with mmu disabled Greg Kroah-Hartman
2022-04-12  6:29 ` [PATCH 5.17 173/343] habanalabs/gaudi: handle axi errors from NIC engines Greg Kroah-Hartman
2022-04-12  6:29 ` [PATCH 5.17 174/343] xen: delay xen_hvm_init_time_ops() if kdump is boot on vcpu>=32 Greg Kroah-Hartman
2022-04-12  6:29 ` [PATCH 5.17 175/343] clk: ti: Preserve node in ti_dt_clocks_register() Greg Kroah-Hartman
2022-04-12  6:29 ` [PATCH 5.17 176/343] clk: Enforce that disjoints limits are invalid Greg Kroah-Hartman
2022-04-12  6:29 ` [PATCH 5.17 177/343] SUNRPC/xprt: async tasks mustnt block waiting for memory Greg Kroah-Hartman
2022-04-12  6:29 ` [PATCH 5.17 178/343] SUNRPC: remove scheduling boost for "SWAPPER" tasks Greg Kroah-Hartman
2022-04-12  6:29 ` [PATCH 5.17 179/343] NFS: swap IO handling is slightly different for O_DIRECT IO Greg Kroah-Hartman
2022-04-12  6:29 ` [PATCH 5.17 180/343] NFS: swap-out must always use STABLE writes Greg Kroah-Hartman
2022-04-12  6:29 ` [PATCH 5.17 181/343] x86: Annotate call_on_stack() Greg Kroah-Hartman
2022-04-12  6:30 ` [PATCH 5.17 182/343] x86/Kconfig: Do not allow CONFIG_X86_X32_ABI=y with llvm-objcopy Greg Kroah-Hartman
2022-04-12  6:30 ` [PATCH 5.17 183/343] serial: samsung_tty: do not unlock port->lock for uart_write_wakeup() Greg Kroah-Hartman
2022-04-12  6:30 ` [PATCH 5.17 184/343] virtio_console: eliminate anonymous module_init & module_exit Greg Kroah-Hartman
2022-04-12  6:30 ` [PATCH 5.17 185/343] jfs: prevent NULL deref in diFree Greg Kroah-Hartman
2022-04-12  6:30 ` [PATCH 5.17 186/343] SUNRPC: Fix socket waits for write buffer space Greg Kroah-Hartman
2022-04-12  6:30 ` [PATCH 5.17 187/343] NFS: nfsiod should not block forever in mempool_alloc() Greg Kroah-Hartman
2022-04-12  6:30 ` [PATCH 5.17 188/343] NFS: Avoid writeback threads getting stuck " Greg Kroah-Hartman
2022-04-12  6:30 ` [PATCH 5.17 189/343] selftests: net: Add tls config dependency for tls selftests Greg Kroah-Hartman
2022-04-12  6:30 ` [PATCH 5.17 190/343] parisc: Fix CPU affinity for Lasi, WAX and Dino chips Greg Kroah-Hartman
2022-04-12  6:30 ` [PATCH 5.17 191/343] parisc: Fix patch code locking and flushing Greg Kroah-Hartman
2022-04-12  6:30 ` [PATCH 5.17 192/343] mm: fix race between MADV_FREE reclaim and blkdev direct IO read Greg Kroah-Hartman
2022-04-12  6:30 ` [PATCH 5.17 193/343] drm/amdgpu: fix off by one in amdgpu_gfx_kiq_acquire() Greg Kroah-Hartman
2022-04-12  6:30 ` [PATCH 5.17 194/343] Drivers: hv: vmbus: Fix initialization of device object in vmbus_device_register() Greg Kroah-Hartman
2022-04-12  6:30 ` [PATCH 5.17 195/343] Drivers: hv: vmbus: Fix potential crash on module unload Greg Kroah-Hartman
2022-04-12  6:30 ` [PATCH 5.17 196/343] netfilter: bitwise: fix reduce comparisons Greg Kroah-Hartman
2022-04-12  6:30 ` [PATCH 5.17 197/343] Revert "NFSv4: Handle the special Linux file open access mode" Greg Kroah-Hartman
2022-04-12  6:30 ` [PATCH 5.17 198/343] NFSv4: fix open failure with O_ACCMODE flag Greg Kroah-Hartman
2022-04-12  6:30 ` [PATCH 5.17 199/343] scsi: core: scsi_logging: Fix a BUG Greg Kroah-Hartman
2022-04-12  6:30 ` [PATCH 5.17 200/343] scsi: sr: Fix typo in CDROM(CLOSETRAY|EJECT) handling Greg Kroah-Hartman
2022-04-12  6:30 ` [PATCH 5.17 201/343] scsi: core: Fix sbitmap depth in scsi_realloc_sdev_budget_map() Greg Kroah-Hartman
2022-04-12  6:30 ` [PATCH 5.17 202/343] scsi: zorro7xx: Fix a resource leak in zorro7xx_remove_one() Greg Kroah-Hartman
2022-04-12  6:30 ` [PATCH 5.17 203/343] vdpa: mlx5: prevent cvq work from hogging CPU Greg Kroah-Hartman
2022-04-12  6:30 ` [PATCH 5.17 204/343] net: sfc: add missing xdp queue reinitialization Greg Kroah-Hartman
2022-04-12  6:30 ` [PATCH 5.17 205/343] net/tls: fix slab-out-of-bounds bug in decrypt_internal Greg Kroah-Hartman
2022-04-12  6:30 ` [PATCH 5.17 206/343] vrf: fix packet sniffing for traffic originating from ip tunnels Greg Kroah-Hartman
2022-04-12  6:30 ` [PATCH 5.17 207/343] skbuff: fix coalescing for page_pool fragment recycling Greg Kroah-Hartman
2022-04-12  6:30 ` [PATCH 5.17 208/343] Revert "net: dsa: stop updating master MTU from master.c" Greg Kroah-Hartman
2022-04-12  6:30 ` [PATCH 5.17 209/343] ice: Clear default forwarding VSI during VSI release Greg Kroah-Hartman
2022-04-12  6:30 ` [PATCH 5.17 210/343] ice: Fix MAC address setting Greg Kroah-Hartman
2022-04-12  6:30 ` [PATCH 5.17 211/343] mctp: Fix check for dev_hard_header() result Greg Kroah-Hartman
2022-04-12  6:30 ` [PATCH 5.17 212/343] mctp: Use output netdev to allocate skb headroom Greg Kroah-Hartman
2022-04-12  6:30 ` [PATCH 5.17 213/343] net: ipv4: fix route with nexthop object delete warning Greg Kroah-Hartman
2022-04-12  6:30 ` [PATCH 5.17 214/343] net: stmmac: Fix unset max_speed difference between DT and non-DT platforms Greg Kroah-Hartman
2022-04-12  6:30 ` [PATCH 5.17 215/343] drm/imx: imx-ldb: Check for null pointer after calling kmemdup Greg Kroah-Hartman
2022-04-12  6:30 ` [PATCH 5.17 216/343] drm/imx: Fix memory leak in imx_pd_connector_get_modes Greg Kroah-Hartman
2022-04-12  6:30 ` [PATCH 5.17 217/343] drm/imx: dw_hdmi-imx: Fix bailout in error cases of probe Greg Kroah-Hartman
2022-04-12  6:30 ` [PATCH 5.17 218/343] regulator: rtq2134: Fix missing active_discharge_on setting Greg Kroah-Hartman
2022-04-12  6:30 ` [PATCH 5.17 219/343] spi: rpc-if: Fix RPM imbalance in probe error path Greg Kroah-Hartman
2022-04-12  6:30 ` [PATCH 5.17 220/343] regulator: atc260x: Fix missing active_discharge_on setting Greg Kroah-Hartman
2022-04-12  6:30 ` [PATCH 5.17 221/343] arch/arm64: Fix topology initialization for core scheduling Greg Kroah-Hartman
2022-04-12  6:30 ` [PATCH 5.17 222/343] bnxt_en: Synchronize tx when xdp redirects happen on same ring Greg Kroah-Hartman
2022-04-12  6:30 ` [PATCH 5.17 223/343] bnxt_en: reserve space inside receive page for skb_shared_info Greg Kroah-Hartman
2022-04-12  6:30 ` [PATCH 5.17 224/343] bnxt_en: Prevent XDP redirect from running when stopping TX queue Greg Kroah-Hartman
2022-04-12  6:30 ` [PATCH 5.17 225/343] sfc: Do not free an empty page_ring Greg Kroah-Hartman
2022-04-12  6:30 ` [PATCH 5.17 226/343] RDMA/mlx5: Dont remove cache MRs when a delay is needed Greg Kroah-Hartman
2022-04-12  6:30 ` [PATCH 5.17 227/343] RDMA/mlx5: Add a missing update of cache->last_add Greg Kroah-Hartman
2022-04-12  6:30 ` [PATCH 5.17 228/343] IB/cm: Cancel mad on the DREQ event when the state is MRA_REP_RCVD Greg Kroah-Hartman
2022-04-12  6:30 ` [PATCH 5.17 229/343] cifs: fix potential race with cifsd thread Greg Kroah-Hartman
2022-04-12  6:30 ` [PATCH 5.17 230/343] IB/rdmavt: add lock to call to rvt_error_qp to prevent a race condition Greg Kroah-Hartman
2022-04-12  6:30 ` [PATCH 5.17 231/343] sctp: count singleton chunks in assoc user stats Greg Kroah-Hartman
2022-04-12  6:30 ` [PATCH 5.17 232/343] dpaa2-ptp: Fix refcount leak in dpaa2_ptp_probe Greg Kroah-Hartman
2022-04-12  6:30 ` [PATCH 5.17 233/343] ice: Set txq_teid to ICE_INVAL_TEID on ring creation Greg Kroah-Hartman
2022-04-12  6:30 ` [PATCH 5.17 234/343] ice: Do not skip not enabled queues in ice_vc_dis_qs_msg Greg Kroah-Hartman
2022-04-12  6:30 ` [PATCH 5.17 235/343] ipv6: Fix stats accounting in ip6_pkt_drop Greg Kroah-Hartman
2022-04-12  6:30 ` [PATCH 5.17 236/343] ice: synchronize_rcu() when terminating rings Greg Kroah-Hartman
2022-04-12  6:30 ` [PATCH 5.17 237/343] ice: xsk: fix VSI state check in ice_xsk_wakeup() Greg Kroah-Hartman
2022-04-12  6:30 ` [PATCH 5.17 238/343] ice: clear cmd_type_offset_bsz for TX rings Greg Kroah-Hartman
2022-04-12  6:30 ` [PATCH 5.17 239/343] net: openvswitch: dont send internal clone attribute to the userspace Greg Kroah-Hartman
2022-04-12  6:30 ` [PATCH 5.17 240/343] net: ethernet: mv643xx: Fix over zealous checking of_get_mac_address() Greg Kroah-Hartman
2022-04-12  6:30 ` [PATCH 5.17 241/343] net: openvswitch: fix leak of nested actions Greg Kroah-Hartman
2022-04-12  6:31 ` [PATCH 5.17 242/343] rxrpc: fix a race in rxrpc_exit_net() Greg Kroah-Hartman
2022-04-12  6:31 ` [PATCH 5.17 243/343] net: sfc: fix using uninitialized xdp tx_queue Greg Kroah-Hartman
2022-04-12  6:31 ` [PATCH 5.17 244/343] net: phy: mscc-miim: reject clause 45 register accesses Greg Kroah-Hartman
2022-04-12  6:31 ` [PATCH 5.17 245/343] qede: confirm skb is allocated before using Greg Kroah-Hartman
2022-04-12  6:31 ` [PATCH 5.17 246/343] spi: bcm-qspi: fix MSPI only access with bcm_qspi_exec_mem_op() Greg Kroah-Hartman
2022-04-12  6:31 ` [PATCH 5.17 247/343] drm/amd/display: Fix for dmub outbox notification enable Greg Kroah-Hartman
2022-04-12  6:31 ` [PATCH 5.17 248/343] drm/amd/display: Remove redundant dsc power gating from init_hw Greg Kroah-Hartman
2022-04-12  6:31 ` [PATCH 5.17 249/343] bpf: Support dual-stack sockets in bpf_tcp_check_syncookie Greg Kroah-Hartman
2022-04-12  6:31 ` [PATCH 5.17 250/343] drbd: Fix five use after free bugs in get_initial_state Greg Kroah-Hartman
2022-04-12  6:31 ` [PATCH 5.17 251/343] scsi: sd: sd_read_cpr() requires VPD pages Greg Kroah-Hartman
2022-04-12  6:31 ` [PATCH 5.17 252/343] scsi: ufs: ufshpb: Fix a NULL check on list iterator Greg Kroah-Hartman
2022-04-12  6:31 ` [PATCH 5.17 253/343] io_uring: nospec index for tags on files update Greg Kroah-Hartman
2022-04-12  6:31 ` [PATCH 5.17 254/343] io_uring: dont touch scm_fp_list after queueing skb Greg Kroah-Hartman
2022-04-12  6:31 ` [PATCH 5.17 255/343] SUNRPC: Handle ENOMEM in call_transmit_status() Greg Kroah-Hartman
2022-04-12  6:31 ` [PATCH 5.17 256/343] SUNRPC: Handle low memory situations in call_status() Greg Kroah-Hartman
2022-04-12  6:31 ` [PATCH 5.17 257/343] SUNRPC: svc_tcp_sendmsg() should handle errors from xdr_alloc_bvec() Greg Kroah-Hartman
2022-04-12  6:31 ` [PATCH 5.17 258/343] iommu/omap: Fix regression in probe for NULL pointer dereference Greg Kroah-Hartman
2022-04-12  6:31 ` [PATCH 5.17 259/343] perf unwind: Dont show unwind error messages when augmenting frame pointer stack Greg Kroah-Hartman
2022-04-12  6:31 ` [PATCH 5.17 260/343] perf: arm-spe: Fix perf report --mem-mode Greg Kroah-Hartman
2022-04-12  6:31 ` [PATCH 5.17 261/343] perf tools: Fix perfs libperf_print callback Greg Kroah-Hartman
2022-04-12  6:31 ` [PATCH 5.17 262/343] perf session: Remap buf if there is no space for event Greg Kroah-Hartman
2022-04-12  6:31 ` [PATCH 5.17 263/343] arm64: Add part number for Arm Cortex-A78AE Greg Kroah-Hartman
2022-04-12  6:31 ` [PATCH 5.17 264/343] scsi: mpt3sas: Fix use after free in _scsih_expander_node_remove() Greg Kroah-Hartman
2022-04-12  6:31 ` [PATCH 5.17 265/343] scsi: ufs: ufs-pci: Add support for Intel MTL Greg Kroah-Hartman
2022-04-12  6:31 ` [PATCH 5.17 266/343] Revert "mmc: sdhci-xenon: fix annoying 1.8V regulator warning" Greg Kroah-Hartman
2022-04-12  6:31 ` [PATCH 5.17 267/343] mmc: block: Check for errors after write on SPI Greg Kroah-Hartman
2022-04-12  6:31 ` [PATCH 5.17 268/343] mmc: mmci: stm32: correctly check all elements of sg list Greg Kroah-Hartman
2022-04-12  6:31 ` [PATCH 5.17 269/343] mmc: renesas_sdhi: special 4tap settings only apply to HS400 Greg Kroah-Hartman
2022-04-12  6:31 ` [PATCH 5.17 270/343] mmc: renesas_sdhi: dont overwrite TAP settings when HS400 tuning is complete Greg Kroah-Hartman
2022-04-12  6:31 ` [PATCH 5.17 271/343] mmc: core: Fixup support for writeback-cache for eMMC and SD Greg Kroah-Hartman
2022-04-12  6:31 ` [PATCH 5.17 272/343] lz4: fix LZ4_decompress_safe_partial read out of bound Greg Kroah-Hartman
2022-04-12  6:31 ` [PATCH 5.17 273/343] highmem: fix checks in __kmap_local_sched_{in,out} Greg Kroah-Hartman
2022-04-12  6:31 ` [PATCH 5.17 274/343] mmmremap.c: avoid pointless invalidate_range_start/end on mremap(old_size=0) Greg Kroah-Hartman
2022-04-12  6:31 ` [PATCH 5.17 275/343] mm/mempolicy: fix mpol_new leak in shared_policy_replace Greg Kroah-Hartman
2022-04-12  6:31 ` [PATCH 5.17 276/343] io_uring: dont check req->file in io_fsync_prep() Greg Kroah-Hartman
2022-04-12  6:31 ` [PATCH 5.17 277/343] io_uring: defer splice/tee file validity check until command issue Greg Kroah-Hartman
2022-04-12  6:31 ` [PATCH 5.17 278/343] io_uring: implement compat handling for IORING_REGISTER_IOWQ_AFF Greg Kroah-Hartman
2022-04-12  6:31 ` [PATCH 5.17 279/343] io_uring: fix race between timeout flush and removal Greg Kroah-Hartman
2022-04-12  6:31 ` [PATCH 5.17 280/343] x86/pm: Save the MSR validity status at context setup Greg Kroah-Hartman
2022-04-12  6:31 ` [PATCH 5.17 281/343] x86/speculation: Restore speculation related MSRs during S3 resume Greg Kroah-Hartman
2022-04-12  6:31 ` [PATCH 5.17 282/343] perf/x86/intel: Update the FRONTEND MSR mask on Sapphire Rapids Greg Kroah-Hartman
2022-04-12  6:31 ` [PATCH 5.17 283/343] btrfs: fix qgroup reserve overflow the qgroup limit Greg Kroah-Hartman
2022-04-12  6:31 ` [PATCH 5.17 284/343] btrfs: zoned: traverse devices under chunk_mutex in btrfs_can_activate_zone Greg Kroah-Hartman
2022-04-12  6:31 ` [PATCH 5.17 285/343] btrfs: remove device item and update super block in the same transaction Greg Kroah-Hartman
2022-04-12  6:31 ` [PATCH 5.17 286/343] btrfs: avoid defragging extents whose next extents are not targets Greg Kroah-Hartman
2022-04-12  6:31 ` [PATCH 5.17 287/343] btrfs: prevent subvol with swapfile from being deleted Greg Kroah-Hartman
2022-04-12  6:31 ` [PATCH 5.17 288/343] spi: core: add dma_map_dev for __spi_unmap_msg() Greg Kroah-Hartman
2022-04-12  6:31 ` [PATCH 5.17 289/343] cifs: force new session setup and tcon for dfs Greg Kroah-Hartman
2022-04-12  6:31 ` [PATCH 5.17 290/343] qed: fix ethtool register dump Greg Kroah-Hartman
2022-04-12  6:31 ` [PATCH 5.17 291/343] arm64: patch_text: Fixup last cpu should be master Greg Kroah-Hartman
2022-04-12  6:31 ` [PATCH 5.17 292/343] RDMA/hfi1: Fix use-after-free bug for mm struct Greg Kroah-Hartman
2022-04-12  6:31 ` [PATCH 5.17 293/343] drbd: fix an invalid memory access caused by incorrect use of list iterator Greg Kroah-Hartman
2022-04-12  6:31 ` [PATCH 5.17 294/343] gpio: Restrict usage of GPIO chip irq members before initialization Greg Kroah-Hartman
2022-04-12  6:31 ` [PATCH 5.17 295/343] x86/msi: Fix msi message data shadow struct Greg Kroah-Hartman
2022-04-12  6:31 ` [PATCH 5.17 296/343] x86/mm/tlb: Revert retpoline avoidance approach Greg Kroah-Hartman
2022-04-12  6:31 ` [PATCH 5.17 297/343] perf/x86/intel: Dont extend the pseudo-encoding to GP counters Greg Kroah-Hartman
2022-04-12  6:31 ` [PATCH 5.17 298/343] ata: sata_dwc_460ex: Fix crash due to OOB write Greg Kroah-Hartman
2022-04-12  6:31 ` [PATCH 5.17 299/343] perf: qcom_l2_pmu: fix an incorrect NULL check on list iterator Greg Kroah-Hartman
2022-04-12  6:31 ` [PATCH 5.17 300/343] perf/core: Inherit event_caps Greg Kroah-Hartman
2022-04-12  6:31 ` [PATCH 5.17 301/343] irqchip/gic-v3: Fix GICR_CTLR.RWP polling Greg Kroah-Hartman
2022-04-12  6:32 ` [PATCH 5.17 302/343] fbdev: Fix unregistering of framebuffers without device Greg Kroah-Hartman
2022-04-12  6:32 ` [PATCH 5.17 303/343] amd/display: set backlight only if required Greg Kroah-Hartman
2022-04-12  6:32 ` [PATCH 5.17 304/343] drm/panel: ili9341: fix optional regulator handling Greg Kroah-Hartman
2022-04-12  6:32 ` [PATCH 5.17 305/343] drm/amd/display: Fix by adding FPU protection for dcn30_internal_validate_bw Greg Kroah-Hartman
2022-04-12  6:32 ` [PATCH 5.17 306/343] drm/amdgpu/display: change pipe policy for DCN 2.1 Greg Kroah-Hartman
2022-04-12  6:32 ` [PATCH 5.17 307/343] drm/amdgpu/smu10: fix SoC/fclk units in auto mode Greg Kroah-Hartman
2022-04-12  6:32 ` [PATCH 5.17 308/343] drm/amdgpu/vcn: Fix the register setting for vcn1 Greg Kroah-Hartman
2022-04-12  6:32 ` [PATCH 5.17 309/343] drm/nouveau/pmu: Add missing callbacks for Tegra devices Greg Kroah-Hartman
2022-04-12  6:32 ` [PATCH 5.17 310/343] drm/amdkfd: Create file descriptor after client is added to smi_clients list Greg Kroah-Hartman
2022-04-12  6:32 ` [PATCH 5.17 311/343] drm/amdgpu: dont use BACO for reset in S3 Greg Kroah-Hartman
2022-04-12  6:32 ` [PATCH 5.17 312/343] SUNRPC: Ensure we flush any closed sockets before xs_xprt_free() Greg Kroah-Hartman
2022-04-12  6:32 ` [PATCH 5.17 313/343] Revert "ACPI: processor: idle: Only flush cache on entering C3" Greg Kroah-Hartman
2022-04-12  6:32 ` [PATCH 5.17 314/343] drm/amdkfd: Fix variable set but not used warning Greg Kroah-Hartman
2022-04-12  6:32 ` [PATCH 5.17 315/343] net/smc: send directly on setting TCP_NODELAY Greg Kroah-Hartman
2022-04-12  6:32 ` [PATCH 5.17 316/343] Revert "selftests: net: Add tls config dependency for tls selftests" Greg Kroah-Hartman
2022-04-12  6:32 ` [PATCH 5.17 317/343] bpf: Make remote_port field in struct bpf_sk_lookup 16-bit wide Greg Kroah-Hartman
2022-04-12  6:32 ` [PATCH 5.17 318/343] selftests/bpf: Fix u8 narrow load checks for bpf_sk_lookup remote_port Greg Kroah-Hartman
2022-04-12  6:32 ` [PATCH 5.17 319/343] bpf: Treat bpf_sk_lookup remote_port as a 2-byte field Greg Kroah-Hartman
2022-04-12  6:32 ` [PATCH 5.17 320/343] perf build: Dont use -ffat-lto-objects in the python feature test when building with clang-13 Greg Kroah-Hartman
2022-04-12  6:32 ` [PATCH 5.17 321/343] perf python: Fix probing for some clang command line options Greg Kroah-Hartman
2022-04-12  6:32 ` [PATCH 5.17 322/343] tools build: Filter out options and warnings not supported by clang Greg Kroah-Hartman
2022-04-12  6:32 ` [PATCH 5.17 323/343] tools build: Use $(shell ) instead of `` to get embedded libperls ccopts Greg Kroah-Hartman
2022-04-12  6:32 ` [PATCH 5.17 324/343] dmaengine: Revert "dmaengine: shdma: Fix runtime PM imbalance on error" Greg Kroah-Hartman
2022-04-12  6:32 ` [PATCH 5.17 325/343] KVM: avoid NULL pointer dereference in kvm_dirty_ring_push Greg Kroah-Hartman
2022-04-12  6:32 ` [PATCH 5.17 326/343] Drivers: hv: vmbus: Replace smp_store_mb() with virt_store_mb() Greg Kroah-Hartman
2022-04-12  6:32 ` [PATCH 5.17 327/343] powerpc: Fix virt_addr_valid() for 64-bit Book3E & 32-bit Greg Kroah-Hartman
2022-04-12  6:32 ` [PATCH 5.17 328/343] Revert "powerpc: Set max_mapnr correctly" Greg Kroah-Hartman
2022-04-12  6:32 ` [PATCH 5.17 329/343] x86/bug: Prevent shadowing in __WARN_FLAGS Greg Kroah-Hartman
2022-04-12  6:32 ` [PATCH 5.17 330/343] objtool: Fix SLS validation for kcov tail-call replacement Greg Kroah-Hartman
2022-04-12  6:32 ` [PATCH 5.17 331/343] sched/core: Fix forceidle balancing Greg Kroah-Hartman
2022-04-12  6:32 ` [PATCH 5.17 332/343] sched: Teach the forced-newidle balancer about CPU affinity limitation Greg Kroah-Hartman
2022-04-12  6:32 ` [PATCH 5.17 333/343] x86,static_call: Fix __static_call_return0 for i386 Greg Kroah-Hartman
2022-04-12  6:32 ` [PATCH 5.17 334/343] x86/extable: Prefer local labels in .set directives Greg Kroah-Hartman
2022-04-12  6:32 ` [PATCH 5.17 335/343] irqchip/gic-v4: Wait for GICR_VPENDBASER.Dirty to clear before descheduling Greg Kroah-Hartman
2022-04-12  6:32 ` [PATCH 5.17 336/343] powerpc/64: Fix build failure with allyesconfig in book3s_64_entry.S Greg Kroah-Hartman
2022-04-12  6:32 ` [PATCH 5.17 337/343] irqchip/gic, gic-v3: Prevent GSI to SGI translations Greg Kroah-Hartman
2022-04-12  6:32 ` [PATCH 5.17 338/343] mm/sparsemem: fix mem_section will never be NULL gcc 12 warning Greg Kroah-Hartman
2022-04-12  6:32 ` Greg Kroah-Hartman [this message]
2022-04-12  6:32 ` [PATCH 5.17 340/343] io_uring: move read/write file prep state into actual opcode handler Greg Kroah-Hartman
2022-04-12  6:32 ` [PATCH 5.17 341/343] io_uring: propagate issue_flags state down to file assignment Greg Kroah-Hartman
2022-04-12  6:32 ` [PATCH 5.17 342/343] io_uring: defer " Greg Kroah-Hartman
2022-04-12  6:32 ` [PATCH 5.17 343/343] io_uring: drop the old style inflight file tracking Greg Kroah-Hartman
2022-04-12 15:49 ` [PATCH 5.17 000/343] 5.17.3-rc1 review Ron Economos
2022-04-12 20:08 ` Justin Forbes
2022-04-12 22:19 ` Shuah Khan
2022-04-12 23:51 ` Fox Chen
2022-04-13  0:30 ` Zan Aziz
2022-04-13  2:24 ` Guenter Roeck
2022-04-13  3:46 ` Naresh Kamboju
2022-04-13  8:15 ` Jiri Slaby
2022-04-13  8:31 ` Rudi Heitbaum
2022-04-13 20:33 ` Florian Fainelli

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20220412063001.101274174@linuxfoundation.org \
    --to=gregkh@linuxfoundation.org \
    --cc=christophe.leroy@csgroup.eu \
    --cc=jpoimboe@redhat.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=peterz@infradead.org \
    --cc=stable@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).