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.15 276/277] static_call: Dont make __static_call_return0 static
Date: Tue, 12 Apr 2022 08:31:19 +0200	[thread overview]
Message-ID: <20220412062950.029318382@linuxfoundation.org> (raw)
In-Reply-To: <20220412062942.022903016@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:19 UTC|newest]

Thread overview: 288+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-04-12  6:26 [PATCH 5.15 000/277] 5.15.34-rc1 review Greg Kroah-Hartman
2022-04-12  6:26 ` [PATCH 5.15 001/277] lib/logic_iomem: correct fallback config references Greg Kroah-Hartman
2022-04-12  6:26 ` [PATCH 5.15 002/277] um: fix and optimize xor select template for CONFIG64 and timetravel mode Greg Kroah-Hartman
2022-04-12  6:26 ` [PATCH 5.15 003/277] rtc: wm8350: Handle error for wm8350_register_irq Greg Kroah-Hartman
2022-04-12  6:26 ` [PATCH 5.15 004/277] nbd: add error handling support for add_disk() Greg Kroah-Hartman
2022-04-12  6:26 ` [PATCH 5.15 005/277] nbd: Fix incorrect error handle when first_minor is illegal in nbd_dev_add Greg Kroah-Hartman
2022-04-12  6:26 ` [PATCH 5.15 006/277] nbd: Fix hungtask when nbd_config_put Greg Kroah-Hartman
2022-04-12  6:26 ` [PATCH 5.15 007/277] nbd: fix possible overflow on first_minor in nbd_dev_add() Greg Kroah-Hartman
2022-04-12  6:26 ` [PATCH 5.15 008/277] kfence: count unexpectedly skipped allocations Greg Kroah-Hartman
2022-04-12  6:26 ` [PATCH 5.15 009/277] kfence: move saving stack trace of allocations into __kfence_alloc() Greg Kroah-Hartman
2022-04-12  6:26 ` [PATCH 5.15 010/277] kfence: limit currently covered allocations when pool nearly full Greg Kroah-Hartman
2022-04-12  6:26 ` [PATCH 5.15 011/277] KVM: x86/pmu: Use different raw event masks for AMD and Intel Greg Kroah-Hartman
2022-04-12  6:26 ` [PATCH 5.15 012/277] KVM: SVM: Fix kvm_cache_regs.h inclusions for is_guest_mode() Greg Kroah-Hartman
2022-04-12  6:26 ` [PATCH 5.15 013/277] KVM: x86/svm: Clear reserved bits written to PerfEvtSeln MSRs Greg Kroah-Hartman
2022-04-12  6:26 ` [PATCH 5.15 014/277] KVM: x86/pmu: Fix and isolate TSX-specific performance event logic Greg Kroah-Hartman
2022-04-12  6:26 ` [PATCH 5.15 015/277] KVM: x86/emulator: Emulate RDPID only if it is enabled in guest Greg Kroah-Hartman
2022-04-12  6:26 ` [PATCH 5.15 016/277] drm: Add orientation quirk for GPD Win Max Greg Kroah-Hartman
2022-04-12  6:27 ` [PATCH 5.15 017/277] ath5k: fix OOB in ath5k_eeprom_read_pcal_info_5111 Greg Kroah-Hartman
2022-04-12  6:27 ` [PATCH 5.15 018/277] drm/amd/display: Add signal type check when verify stream backends same Greg Kroah-Hartman
2022-04-12  6:27 ` [PATCH 5.15 019/277] drm/amd/amdgpu/amdgpu_cs: fix refcount leak of a dma_fence obj Greg Kroah-Hartman
2022-04-12  6:27 ` [PATCH 5.15 020/277] drm/amd/display: Fix memory leak Greg Kroah-Hartman
2022-04-12  6:27 ` [PATCH 5.15 021/277] drm/amd/display: Use PSR version selected during set_psr_caps Greg Kroah-Hartman
2022-04-12  6:27 ` [PATCH 5.15 022/277] usb: gadget: tegra-xudc: Do not program SPARAM Greg Kroah-Hartman
2022-04-12  6:27 ` [PATCH 5.15 023/277] usb: gadget: tegra-xudc: Fix control endpoints definitions Greg Kroah-Hartman
2022-04-12  6:27 ` [PATCH 5.15 024/277] usb: cdnsp: fix cdnsp_decode_trb function to properly handle ret value Greg Kroah-Hartman
2022-04-12  6:27 ` [PATCH 5.15 025/277] ptp: replace snprintf with sysfs_emit Greg Kroah-Hartman
2022-04-12  6:27 ` [PATCH 5.15 026/277] drm/amdkfd: Dont take process mutex for svm ioctls Greg Kroah-Hartman
2022-04-12  6:27 ` [PATCH 5.15 027/277] powerpc: dts: t104xrdb: fix phy type for FMAN 4/5 Greg Kroah-Hartman
2022-04-12  6:27 ` [PATCH 5.15 028/277] ath11k: fix kernel panic during unload/load ath11k modules Greg Kroah-Hartman
2022-04-12  6:27 ` [PATCH 5.15 029/277] ath11k: pci: fix crash on suspend if board file is not found Greg Kroah-Hartman
2022-04-12  6:27 ` [PATCH 5.15 030/277] ath11k: mhi: use mhi_sync_power_up() Greg Kroah-Hartman
2022-04-12  6:27 ` [PATCH 5.15 031/277] net/smc: Send directly when TCP_CORK is cleared Greg Kroah-Hartman
2022-04-12  6:27 ` [PATCH 5.15 032/277] drm/bridge: Add missing pm_runtime_put_sync Greg Kroah-Hartman
2022-04-12  6:27 ` [PATCH 5.15 033/277] bpf: Make dst_port field in struct bpf_sock 16-bit wide Greg Kroah-Hartman
2022-04-12  6:27 ` [PATCH 5.15 034/277] scsi: mvsas: Replace snprintf() with sysfs_emit() Greg Kroah-Hartman
2022-04-12  6:27 ` [PATCH 5.15 035/277] scsi: bfa: " Greg Kroah-Hartman
2022-04-12  6:27 ` [PATCH 5.15 036/277] drm/v3d: fix missing unlock Greg Kroah-Hartman
2022-04-12  6:27 ` [PATCH 5.15 037/277] power: supply: axp20x_battery: properly report current when discharging Greg Kroah-Hartman
2022-04-12  6:27 ` [PATCH 5.15 038/277] mt76: mt7921: fix crash when startup fails Greg Kroah-Hartman
2022-04-12  6:27 ` [PATCH 5.15 039/277] mt76: dma: initialize skip_unmap in mt76_dma_rx_fill Greg Kroah-Hartman
2022-04-12  6:27 ` [PATCH 5.15 040/277] cfg80211: dont add non transmitted BSS to 6GHz scanned channels Greg Kroah-Hartman
2022-04-12  6:27 ` [PATCH 5.15 041/277] libbpf: Fix build issue with llvm-readelf Greg Kroah-Hartman
2022-04-12  6:27 ` [PATCH 5.15 042/277] ipv6: make mc_forwarding atomic Greg Kroah-Hartman
2022-04-12  6:27 ` [PATCH 5.15 043/277] net: initialize init_net earlier Greg Kroah-Hartman
2022-04-12  6:27 ` [PATCH 5.15 044/277] powerpc: Set crashkernel offset to mid of RMA region Greg Kroah-Hartman
2022-04-12  6:27 ` [PATCH 5.15 045/277] drm/amdgpu: Fix recursive locking warning Greg Kroah-Hartman
2022-04-12  6:27 ` [PATCH 5.15 046/277] scsi: smartpqi: Fix kdump issue when controller is locked up Greg Kroah-Hartman
2022-04-12  6:27 ` [PATCH 5.15 047/277] PCI: aardvark: Fix support for MSI interrupts Greg Kroah-Hartman
2022-04-12  6:27 ` [PATCH 5.15 048/277] iommu/arm-smmu-v3: fix event handling soft lockup Greg Kroah-Hartman
2022-04-12  6:27 ` [PATCH 5.15 049/277] usb: ehci: add pci device support for Aspeed platforms Greg Kroah-Hartman
2022-04-12  6:27 ` [PATCH 5.15 050/277] PCI: endpoint: Fix alignment fault error in copy tests Greg Kroah-Hartman
2022-04-12  6:27 ` [PATCH 5.15 051/277] tcp: Dont acquire inet_listen_hashbucket::lock with disabled BH Greg Kroah-Hartman
2022-04-12  6:27 ` [PATCH 5.15 052/277] PCI: pciehp: Add Qualcomm quirk for Command Completed erratum Greg Kroah-Hartman
2022-04-12  6:27 ` [PATCH 5.15 053/277] scsi: mpi3mr: Fix reporting of actual data transfer size Greg Kroah-Hartman
2022-04-12  6:27 ` [PATCH 5.15 054/277] scsi: mpi3mr: Fix memory leaks Greg Kroah-Hartman
2022-04-12  6:27 ` [PATCH 5.15 055/277] powerpc/set_memory: Avoid spinlock recursion in change_page_attr() Greg Kroah-Hartman
2022-04-12  6:27 ` [PATCH 5.15 056/277] power: supply: axp288-charger: Set Vhold to 4.4V Greg Kroah-Hartman
2022-04-12  6:27 ` [PATCH 5.15 057/277] net/mlx5e: Disable TX queues before registering the netdev Greg Kroah-Hartman
2022-04-12  6:27 ` [PATCH 5.15 058/277] usb: dwc3: pci: Set the swnode from inside dwc3_pci_quirks() Greg Kroah-Hartman
2022-04-12  6:27 ` [PATCH 5.15 059/277] iwlwifi: mvm: Correctly set fragmented EBS Greg Kroah-Hartman
2022-04-12  6:27 ` [PATCH 5.15 060/277] iwlwifi: mvm: move only to an enabled channel Greg Kroah-Hartman
2022-04-12  6:27 ` [PATCH 5.15 061/277] drm/msm/dsi: Remove spurious IRQF_ONESHOT flag Greg Kroah-Hartman
2022-04-12  6:27 ` [PATCH 5.15 062/277] ipv4: Invalidate neighbour for broadcast address upon address addition Greg Kroah-Hartman
2022-04-12  6:27 ` [PATCH 5.15 063/277] dm ioctl: prevent potential spectre v1 gadget Greg Kroah-Hartman
2022-04-12  6:27 ` [PATCH 5.15 064/277] dm: requeue IO if mapping table not yet available Greg Kroah-Hartman
2022-04-12  6:27 ` [PATCH 5.15 065/277] drm/amdkfd: make CRAT table missing message informational only Greg Kroah-Hartman
2022-04-12  6:27 ` [PATCH 5.15 066/277] vfio/pci: Stub vfio_pci_vga_rw when !CONFIG_VFIO_PCI_VGA Greg Kroah-Hartman
2022-04-12  6:27 ` [PATCH 5.15 067/277] scsi: pm8001: Fix pm80xx_pci_mem_copy() interface Greg Kroah-Hartman
2022-04-12  6:27 ` [PATCH 5.15 068/277] scsi: pm8001: Fix pm8001_mpi_task_abort_resp() Greg Kroah-Hartman
2022-04-12  6:27 ` [PATCH 5.15 069/277] scsi: pm8001: Fix task leak in pm8001_send_abort_all() Greg Kroah-Hartman
2022-04-12  6:27 ` [PATCH 5.15 070/277] scsi: pm8001: Fix tag leaks on error Greg Kroah-Hartman
2022-04-12  6:27 ` [PATCH 5.15 071/277] scsi: pm8001: Fix memory leak in pm8001_chip_fw_flash_update_req() Greg Kroah-Hartman
2022-04-12  6:27 ` [PATCH 5.15 072/277] mt76: mt7915: fix injected MPDU transmission to not use HW A-MSDU Greg Kroah-Hartman
2022-04-12  6:27 ` [PATCH 5.15 073/277] powerpc/64s/hash: Make hash faults work in NMI context Greg Kroah-Hartman
2022-04-12  6:27 ` [PATCH 5.15 074/277] mt76: mt7615: Fix assigning negative values to unsigned variable Greg Kroah-Hartman
2022-04-12  6:27 ` [PATCH 5.15 075/277] scsi: aha152x: Fix aha152x_setup() __setup handler return value Greg Kroah-Hartman
2022-04-12  6:27 ` [PATCH 5.15 076/277] scsi: hisi_sas: Free irq vectors in order for v3 HW Greg Kroah-Hartman
2022-04-12  6:28 ` [PATCH 5.15 077/277] scsi: hisi_sas: Limit users changing debugfs BIST count value Greg Kroah-Hartman
2022-04-12  6:28 ` [PATCH 5.15 078/277] net/smc: correct settings of RMB window update limit Greg Kroah-Hartman
2022-04-12  6:28 ` [PATCH 5.15 079/277] mips: ralink: fix a refcount leak in ill_acc_of_setup() Greg Kroah-Hartman
2022-04-12  6:28 ` [PATCH 5.15 080/277] macvtap: advertise link netns via netlink Greg Kroah-Hartman
2022-04-12  6:28 ` [PATCH 5.15 081/277] tuntap: add sanity checks about msg_controllen in sendmsg Greg Kroah-Hartman
2022-04-12  6:28 ` [PATCH 5.15 082/277] Bluetooth: Fix not checking for valid hdev on bt_dev_{info,warn,err,dbg} Greg Kroah-Hartman
2022-04-12  6:28 ` [PATCH 5.15 083/277] Bluetooth: use memset avoid memory leaks Greg Kroah-Hartman
2022-04-12  6:28 ` [PATCH 5.15 084/277] bnxt_en: Eliminate unintended link toggle during FW reset Greg Kroah-Hartman
2022-04-12  6:28 ` [PATCH 5.15 085/277] PCI: endpoint: Fix misused goto label Greg Kroah-Hartman
2022-04-12  6:28 ` [PATCH 5.15 086/277] MIPS: fix fortify panic when copying asm exception handlers Greg Kroah-Hartman
2022-04-12  6:28 ` [PATCH 5.15 087/277] powerpc/code-patching: Pre-map patch area Greg Kroah-Hartman
2022-04-12  6:28 ` [PATCH 5.15 088/277] powerpc/64e: Tie PPC_BOOK3E_64 to PPC_FSL_BOOK3E Greg Kroah-Hartman
2022-04-12  6:28 ` [PATCH 5.15 089/277] powerpc/secvar: fix refcount leak in format_show() Greg Kroah-Hartman
2022-04-12  6:28 ` [PATCH 5.15 090/277] scsi: libfc: Fix use after free in fc_exch_abts_resp() Greg Kroah-Hartman
2022-04-12  6:28 ` [PATCH 5.15 091/277] can: isotp: set default value for N_As to 50 micro seconds Greg Kroah-Hartman
2022-04-12  6:28 ` [PATCH 5.15 092/277] 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:28 ` [PATCH 5.15 093/277] riscv: Fixed misaligned memory access. Fixed pointer comparison Greg Kroah-Hartman
2022-04-12 15:08   ` Michael T. Kloos
2022-04-12  6:28 ` [PATCH 5.15 094/277] net: account alternate interface name memory Greg Kroah-Hartman
2022-04-12  6:28 ` [PATCH 5.15 095/277] net: limit altnames to 64k total Greg Kroah-Hartman
2022-04-12  6:28 ` [PATCH 5.15 096/277] net/mlx5e: Remove overzealous validations in netlink EEPROM query Greg Kroah-Hartman
2022-04-12  6:28 ` [PATCH 5.15 097/277] net: sfp: add 2500base-X quirk for Lantech SFP module Greg Kroah-Hartman
2022-04-12  6:28 ` [PATCH 5.15 098/277] usb: dwc3: omap: fix "unbalanced disables for smps10_out1" on omap5evm Greg Kroah-Hartman
2022-04-12  6:28 ` [PATCH 5.15 099/277] mt76: fix monitor mode crash with sdio driver Greg Kroah-Hartman
2022-04-12  6:28 ` [PATCH 5.15 100/277] xtensa: fix DTC warning unit_address_format Greg Kroah-Hartman
2022-04-12  6:28 ` [PATCH 5.15 101/277] MIPS: ingenic: correct unit node address Greg Kroah-Hartman
2022-04-12  6:28 ` [PATCH 5.15 102/277] Bluetooth: Fix use after free in hci_send_acl Greg Kroah-Hartman
2022-04-12  6:28 ` [PATCH 5.15 103/277] netfilter: conntrack: revisit gc autotuning Greg Kroah-Hartman
2022-04-12  6:28 ` [PATCH 5.15 104/277] netlabel: fix out-of-bounds memory accesses Greg Kroah-Hartman
2022-04-12  6:28 ` [PATCH 5.15 105/277] ceph: fix inode reference leakage in ceph_get_snapdir() Greg Kroah-Hartman
2022-04-12  6:28 ` [PATCH 5.15 106/277] ceph: fix memory leak in ceph_readdir when note_last_dentry returns error Greg Kroah-Hartman
2022-04-12  6:28 ` [PATCH 5.15 107/277] lib/Kconfig.debug: add ARCH dependency for FUNCTION_ALIGN option Greg Kroah-Hartman
2022-04-12  6:28 ` [PATCH 5.15 108/277] init/main.c: return 1 from handled __setup() functions Greg Kroah-Hartman
2022-04-12  6:28 ` [PATCH 5.15 109/277] minix: fix bug when opening a file with O_DIRECT Greg Kroah-Hartman
2022-04-12  6:28 ` [PATCH 5.15 110/277] clk: si5341: fix reported clk_rate when output divider is 2 Greg Kroah-Hartman
2022-04-12  6:28 ` [PATCH 5.15 111/277] staging: vchiq_arm: Avoid NULL ptr deref in vchiq_dump_platform_instances Greg Kroah-Hartman
2022-04-12  6:28 ` [PATCH 5.15 112/277] staging: vchiq_core: handle NULL result of find_service_by_handle Greg Kroah-Hartman
2022-04-12  6:28 ` [PATCH 5.15 113/277] phy: amlogic: phy-meson-gxl-usb2: fix shared reset controller use Greg Kroah-Hartman
2022-04-12  6:28 ` [PATCH 5.15 114/277] phy: amlogic: meson8b-usb2: Use dev_err_probe() Greg Kroah-Hartman
2022-04-12  6:28 ` [PATCH 5.15 115/277] phy: amlogic: meson8b-usb2: fix shared reset control use Greg Kroah-Hartman
2022-04-12  6:28 ` [PATCH 5.15 116/277] clk: rockchip: drop CLK_SET_RATE_PARENT from dclk_vop* on rk3568 Greg Kroah-Hartman
2022-04-12  6:28 ` [PATCH 5.15 117/277] cpufreq: CPPC: Fix performance/frequency conversion Greg Kroah-Hartman
2022-04-12  6:28 ` [PATCH 5.15 118/277] opp: Expose of-nodes name in debugfs Greg Kroah-Hartman
2022-04-12  6:28 ` [PATCH 5.15 119/277] staging: wfx: fix an error handling in wfx_init_common() Greg Kroah-Hartman
2022-04-12  6:28 ` [PATCH 5.15 120/277] w1: w1_therm: fixes w1_seq for ds28ea00 sensors Greg Kroah-Hartman
2022-04-12  6:28 ` [PATCH 5.15 121/277] NFSv4.2: fix reference count leaks in _nfs42_proc_copy_notify() Greg Kroah-Hartman
2022-04-12  6:28 ` [PATCH 5.15 122/277] NFSv4: Protect the state recovery thread against direct reclaim Greg Kroah-Hartman
2022-04-12  6:28 ` [PATCH 5.15 123/277] habanalabs: fix possible memory leak in MMU DR fini Greg Kroah-Hartman
2022-04-12  6:28 ` [PATCH 5.15 124/277] xen: delay xen_hvm_init_time_ops() if kdump is boot on vcpu>=32 Greg Kroah-Hartman
2022-04-12  6:28 ` [PATCH 5.15 125/277] clk: ti: Preserve node in ti_dt_clocks_register() Greg Kroah-Hartman
2022-04-12  6:28 ` [PATCH 5.15 126/277] clk: Enforce that disjoints limits are invalid Greg Kroah-Hartman
2022-04-12  6:28 ` [PATCH 5.15 127/277] SUNRPC/call_alloc: async tasks mustnt block waiting for memory Greg Kroah-Hartman
2022-04-12  6:28 ` [PATCH 5.15 128/277] SUNRPC/xprt: " Greg Kroah-Hartman
2022-04-12  6:28 ` [PATCH 5.15 129/277] SUNRPC: remove scheduling boost for "SWAPPER" tasks Greg Kroah-Hartman
2022-04-12  6:28 ` [PATCH 5.15 130/277] NFS: swap IO handling is slightly different for O_DIRECT IO Greg Kroah-Hartman
2022-04-12  6:28 ` [PATCH 5.15 131/277] NFS: swap-out must always use STABLE writes Greg Kroah-Hartman
2022-04-12  6:28 ` [PATCH 5.15 132/277] x86: Annotate call_on_stack() Greg Kroah-Hartman
2022-04-12  6:28 ` [PATCH 5.15 133/277] x86/Kconfig: Do not allow CONFIG_X86_X32_ABI=y with llvm-objcopy Greg Kroah-Hartman
2022-04-12  6:28 ` [PATCH 5.15 134/277] serial: samsung_tty: do not unlock port->lock for uart_write_wakeup() Greg Kroah-Hartman
2022-04-12  6:28 ` [PATCH 5.15 135/277] virtio_console: eliminate anonymous module_init & module_exit Greg Kroah-Hartman
2022-04-12  6:28 ` [PATCH 5.15 136/277] jfs: prevent NULL deref in diFree Greg Kroah-Hartman
2022-04-12  6:29 ` [PATCH 5.15 137/277] SUNRPC: Fix socket waits for write buffer space Greg Kroah-Hartman
2022-04-12  6:29 ` [PATCH 5.15 138/277] NFS: nfsiod should not block forever in mempool_alloc() Greg Kroah-Hartman
2022-04-12  6:29 ` [PATCH 5.15 139/277] NFS: Avoid writeback threads getting stuck " Greg Kroah-Hartman
2022-04-12  6:29 ` [PATCH 5.15 140/277] selftests: net: Add tls config dependency for tls selftests Greg Kroah-Hartman
2022-04-12  6:29 ` [PATCH 5.15 141/277] parisc: Fix CPU affinity for Lasi, WAX and Dino chips Greg Kroah-Hartman
2022-04-12  6:29 ` [PATCH 5.15 142/277] parisc: Fix patch code locking and flushing Greg Kroah-Hartman
2022-04-12  6:29 ` [PATCH 5.15 143/277] mm: fix race between MADV_FREE reclaim and blkdev direct IO read Greg Kroah-Hartman
2022-04-12  6:29 ` [PATCH 5.15 144/277] rtc: mc146818-lib: change return values of mc146818_get_time() Greg Kroah-Hartman
2022-04-12  6:29 ` [PATCH 5.15 145/277] rtc: Check return value from mc146818_get_time() Greg Kroah-Hartman
2022-04-12  6:29 ` [PATCH 5.15 146/277] rtc: mc146818-lib: fix RTC presence check Greg Kroah-Hartman
2022-04-12  6:29 ` [PATCH 5.15 147/277] drm/amdgpu: fix off by one in amdgpu_gfx_kiq_acquire() Greg Kroah-Hartman
2022-04-12  6:29 ` [PATCH 5.15 148/277] Drivers: hv: vmbus: Fix potential crash on module unload Greg Kroah-Hartman
2022-04-12  6:29 ` [PATCH 5.15 149/277] Revert "NFSv4: Handle the special Linux file open access mode" Greg Kroah-Hartman
2022-04-12  6:29 ` [PATCH 5.15 150/277] NFSv4: fix open failure with O_ACCMODE flag Greg Kroah-Hartman
2022-04-12  6:29 ` [PATCH 5.15 151/277] scsi: sr: Fix typo in CDROM(CLOSETRAY|EJECT) handling Greg Kroah-Hartman
2022-04-12  6:29 ` [PATCH 5.15 152/277] scsi: core: Fix sbitmap depth in scsi_realloc_sdev_budget_map() Greg Kroah-Hartman
2022-04-12  6:29 ` [PATCH 5.15 153/277] scsi: zorro7xx: Fix a resource leak in zorro7xx_remove_one() Greg Kroah-Hartman
2022-04-12  6:29 ` [PATCH 5.15 154/277] vdpa/mlx5: Rename control VQ workqueue to vdpa wq Greg Kroah-Hartman
2022-04-12  6:29 ` [PATCH 5.15 155/277] vdpa/mlx5: Propagate link status from device to vdpa driver Greg Kroah-Hartman
2022-04-12  6:29 ` [PATCH 5.15 156/277] vdpa: mlx5: prevent cvq work from hogging CPU Greg Kroah-Hartman
2022-04-12  6:29 ` [PATCH 5.15 157/277] net: sfc: add missing xdp queue reinitialization Greg Kroah-Hartman
2022-04-12  6:29 ` [PATCH 5.15 158/277] net/tls: fix slab-out-of-bounds bug in decrypt_internal Greg Kroah-Hartman
2022-04-12  6:29 ` [PATCH 5.15 159/277] vrf: fix packet sniffing for traffic originating from ip tunnels Greg Kroah-Hartman
2022-04-12  6:29 ` [PATCH 5.15 160/277] skbuff: fix coalescing for page_pool fragment recycling Greg Kroah-Hartman
2022-04-12  6:29 ` [PATCH 5.15 161/277] ice: Clear default forwarding VSI during VSI release Greg Kroah-Hartman
2022-04-12  6:29 ` [PATCH 5.15 162/277] mctp: Fix check for dev_hard_header() result Greg Kroah-Hartman
2022-04-12  6:29 ` [PATCH 5.15 163/277] net: ipv4: fix route with nexthop object delete warning Greg Kroah-Hartman
2022-04-12  6:29 ` [PATCH 5.15 164/277] net: stmmac: Fix unset max_speed difference between DT and non-DT platforms Greg Kroah-Hartman
2022-04-12  6:29 ` [PATCH 5.15 165/277] drm/imx: imx-ldb: Check for null pointer after calling kmemdup Greg Kroah-Hartman
2022-04-12  6:29 ` [PATCH 5.15 166/277] drm/imx: Fix memory leak in imx_pd_connector_get_modes Greg Kroah-Hartman
2022-04-12  6:29 ` [PATCH 5.15 167/277] drm/imx: dw_hdmi-imx: Fix bailout in error cases of probe Greg Kroah-Hartman
2022-04-12  6:29 ` [PATCH 5.15 168/277] regulator: rtq2134: Fix missing active_discharge_on setting Greg Kroah-Hartman
2022-04-12  6:29 ` [PATCH 5.15 169/277] regulator: atc260x: " Greg Kroah-Hartman
2022-04-12  6:29 ` [PATCH 5.15 170/277] arch/arm64: Fix topology initialization for core scheduling Greg Kroah-Hartman
2022-04-12  6:29 ` [PATCH 5.15 171/277] bnxt_en: Synchronize tx when xdp redirects happen on same ring Greg Kroah-Hartman
2022-04-12  6:29 ` [PATCH 5.15 172/277] bnxt_en: reserve space inside receive page for skb_shared_info Greg Kroah-Hartman
2022-04-12  6:29 ` [PATCH 5.15 173/277] bnxt_en: Prevent XDP redirect from running when stopping TX queue Greg Kroah-Hartman
2022-04-12  6:29 ` [PATCH 5.15 174/277] sfc: Do not free an empty page_ring Greg Kroah-Hartman
2022-04-12  6:29 ` [PATCH 5.15 175/277] RDMA/mlx5: Dont remove cache MRs when a delay is needed Greg Kroah-Hartman
2022-04-12  6:29 ` [PATCH 5.15 176/277] RDMA/mlx5: Add a missing update of cache->last_add Greg Kroah-Hartman
2022-04-12  6:29 ` [PATCH 5.15 177/277] IB/cm: Cancel mad on the DREQ event when the state is MRA_REP_RCVD Greg Kroah-Hartman
2022-04-12  6:29 ` [PATCH 5.15 178/277] IB/rdmavt: add lock to call to rvt_error_qp to prevent a race condition Greg Kroah-Hartman
2022-04-12  6:29 ` [PATCH 5.15 179/277] sctp: count singleton chunks in assoc user stats Greg Kroah-Hartman
2022-04-12  6:29 ` [PATCH 5.15 180/277] dpaa2-ptp: Fix refcount leak in dpaa2_ptp_probe Greg Kroah-Hartman
2022-04-12  6:29 ` [PATCH 5.15 181/277] ice: Set txq_teid to ICE_INVAL_TEID on ring creation Greg Kroah-Hartman
2022-04-12  6:29 ` [PATCH 5.15 182/277] ice: Do not skip not enabled queues in ice_vc_dis_qs_msg Greg Kroah-Hartman
2022-04-12  6:29 ` [PATCH 5.15 183/277] ipv6: Fix stats accounting in ip6_pkt_drop Greg Kroah-Hartman
2022-04-12  6:29 ` [PATCH 5.15 184/277] ice: synchronize_rcu() when terminating rings Greg Kroah-Hartman
2022-04-12  6:29 ` [PATCH 5.15 185/277] ice: xsk: fix VSI state check in ice_xsk_wakeup() Greg Kroah-Hartman
2022-04-12  6:29 ` [PATCH 5.15 186/277] net: openvswitch: dont send internal clone attribute to the userspace Greg Kroah-Hartman
2022-04-12  6:29 ` [PATCH 5.15 187/277] net: ethernet: mv643xx: Fix over zealous checking of_get_mac_address() Greg Kroah-Hartman
2022-04-12  6:29 ` [PATCH 5.15 188/277] net: openvswitch: fix leak of nested actions Greg Kroah-Hartman
2022-04-12  6:29 ` [PATCH 5.15 189/277] rxrpc: fix a race in rxrpc_exit_net() Greg Kroah-Hartman
2022-04-12  6:29 ` [PATCH 5.15 190/277] net: sfc: fix using uninitialized xdp tx_queue Greg Kroah-Hartman
2022-04-12  6:29 ` [PATCH 5.15 191/277] net: phy: mscc-miim: reject clause 45 register accesses Greg Kroah-Hartman
2022-04-12  6:29 ` [PATCH 5.15 192/277] qede: confirm skb is allocated before using Greg Kroah-Hartman
2022-04-12  6:29 ` [PATCH 5.15 193/277] spi: bcm-qspi: fix MSPI only access with bcm_qspi_exec_mem_op() Greg Kroah-Hartman
2022-04-12  6:29 ` [PATCH 5.15 194/277] bpf: Support dual-stack sockets in bpf_tcp_check_syncookie Greg Kroah-Hartman
2022-04-12  6:29 ` [PATCH 5.15 195/277] drbd: Fix five use after free bugs in get_initial_state Greg Kroah-Hartman
2022-04-12  6:29 ` [PATCH 5.15 196/277] scsi: ufs: ufshpb: Fix a NULL check on list iterator Greg Kroah-Hartman
2022-04-12  6:30 ` [PATCH 5.15 197/277] io_uring: nospec index for tags on files update Greg Kroah-Hartman
2022-04-12  6:30 ` [PATCH 5.15 198/277] io_uring: dont touch scm_fp_list after queueing skb Greg Kroah-Hartman
2022-04-12  6:30 ` [PATCH 5.15 199/277] SUNRPC: Handle ENOMEM in call_transmit_status() Greg Kroah-Hartman
2022-04-12  6:30 ` [PATCH 5.15 200/277] SUNRPC: Handle low memory situations in call_status() Greg Kroah-Hartman
2022-04-12  6:30 ` [PATCH 5.15 201/277] SUNRPC: svc_tcp_sendmsg() should handle errors from xdr_alloc_bvec() Greg Kroah-Hartman
2022-04-12  6:30 ` [PATCH 5.15 202/277] iommu/omap: Fix regression in probe for NULL pointer dereference Greg Kroah-Hartman
2022-04-12  6:30 ` [PATCH 5.15 203/277] perf: arm-spe: Fix perf report --mem-mode Greg Kroah-Hartman
2022-04-12  6:30 ` [PATCH 5.15 204/277] perf tools: Fix perfs libperf_print callback Greg Kroah-Hartman
2022-04-12  6:30 ` [PATCH 5.15 205/277] perf session: Remap buf if there is no space for event Greg Kroah-Hartman
2022-04-12  6:30 ` [PATCH 5.15 206/277] arm64: Add part number for Arm Cortex-A78AE Greg Kroah-Hartman
2022-04-12  6:30 ` [PATCH 5.15 207/277] scsi: mpt3sas: Fix use after free in _scsih_expander_node_remove() Greg Kroah-Hartman
2022-04-12  6:30 ` [PATCH 5.15 208/277] scsi: ufs: ufs-pci: Add support for Intel MTL Greg Kroah-Hartman
2022-04-12  6:30 ` [PATCH 5.15 209/277] Revert "mmc: sdhci-xenon: fix annoying 1.8V regulator warning" Greg Kroah-Hartman
2022-04-12  6:30 ` [PATCH 5.15 210/277] mmc: block: Check for errors after write on SPI Greg Kroah-Hartman
2022-04-12  6:30 ` [PATCH 5.15 211/277] mmc: mmci: stm32: correctly check all elements of sg list Greg Kroah-Hartman
2022-04-12  6:30 ` [PATCH 5.15 212/277] mmc: renesas_sdhi: dont overwrite TAP settings when HS400 tuning is complete Greg Kroah-Hartman
2022-04-12  6:30 ` [PATCH 5.15 213/277] mmc: core: Fixup support for writeback-cache for eMMC and SD Greg Kroah-Hartman
2022-04-12  6:30 ` [PATCH 5.15 214/277] lz4: fix LZ4_decompress_safe_partial read out of bound Greg Kroah-Hartman
2022-04-12  6:30 ` [PATCH 5.15 215/277] highmem: fix checks in __kmap_local_sched_{in,out} Greg Kroah-Hartman
2022-04-12  6:30 ` [PATCH 5.15 216/277] mmmremap.c: avoid pointless invalidate_range_start/end on mremap(old_size=0) Greg Kroah-Hartman
2022-04-12  6:30 ` [PATCH 5.15 217/277] mm/mempolicy: fix mpol_new leak in shared_policy_replace Greg Kroah-Hartman
2022-04-12  6:30 ` [PATCH 5.15 218/277] io_uring: dont check req->file in io_fsync_prep() Greg Kroah-Hartman
2022-04-12  6:30 ` [PATCH 5.15 219/277] io_uring: defer splice/tee file validity check until command issue Greg Kroah-Hartman
2022-04-12  6:30 ` [PATCH 5.15 220/277] io_uring: implement compat handling for IORING_REGISTER_IOWQ_AFF Greg Kroah-Hartman
2022-04-12  6:30 ` [PATCH 5.15 221/277] io_uring: fix race between timeout flush and removal Greg Kroah-Hartman
2022-04-12  6:30 ` [PATCH 5.15 222/277] x86/pm: Save the MSR validity status at context setup Greg Kroah-Hartman
2022-04-12  6:30 ` [PATCH 5.15 223/277] x86/speculation: Restore speculation related MSRs during S3 resume Greg Kroah-Hartman
2022-04-12  6:30 ` [PATCH 5.15 224/277] perf/x86/intel: Update the FRONTEND MSR mask on Sapphire Rapids Greg Kroah-Hartman
2022-04-12  6:30 ` [PATCH 5.15 225/277] btrfs: fix qgroup reserve overflow the qgroup limit Greg Kroah-Hartman
2022-04-12  6:30 ` [PATCH 5.15 226/277] btrfs: prevent subvol with swapfile from being deleted Greg Kroah-Hartman
2022-04-12  6:30 ` [PATCH 5.15 227/277] spi: core: add dma_map_dev for __spi_unmap_msg() Greg Kroah-Hartman
2022-04-12  6:30 ` [PATCH 5.15 228/277] arm64: patch_text: Fixup last cpu should be master Greg Kroah-Hartman
2022-04-12  6:30 ` [PATCH 5.15 229/277] RDMA/hfi1: Fix use-after-free bug for mm struct Greg Kroah-Hartman
2022-04-12  6:30 ` [PATCH 5.15 230/277] gpio: Restrict usage of GPIO chip irq members before initialization Greg Kroah-Hartman
2022-04-12  6:30 ` [PATCH 5.15 231/277] x86/msi: Fix msi message data shadow struct Greg Kroah-Hartman
2022-04-12  6:30 ` [PATCH 5.15 232/277] x86/mm/tlb: Revert retpoline avoidance approach Greg Kroah-Hartman
2022-04-12  6:30 ` [PATCH 5.15 233/277] perf/x86/intel: Dont extend the pseudo-encoding to GP counters Greg Kroah-Hartman
2022-04-12  6:30 ` [PATCH 5.15 234/277] ata: sata_dwc_460ex: Fix crash due to OOB write Greg Kroah-Hartman
2022-04-12  6:30 ` [PATCH 5.15 235/277] perf: qcom_l2_pmu: fix an incorrect NULL check on list iterator Greg Kroah-Hartman
2022-04-12  6:30 ` [PATCH 5.15 236/277] perf/core: Inherit event_caps Greg Kroah-Hartman
2022-04-12  6:30 ` [PATCH 5.15 237/277] irqchip/gic-v3: Fix GICR_CTLR.RWP polling Greg Kroah-Hartman
2022-04-12  6:30 ` [PATCH 5.15 238/277] fbdev: Fix unregistering of framebuffers without device Greg Kroah-Hartman
2022-04-12  6:30 ` [PATCH 5.15 239/277] amd/display: set backlight only if required Greg Kroah-Hartman
2022-04-12  6:30 ` [PATCH 5.15 240/277] SUNRPC: Prevent immediate close+reconnect Greg Kroah-Hartman
2022-04-12  6:30 ` [PATCH 5.15 241/277] drm/panel: ili9341: fix optional regulator handling Greg Kroah-Hartman
2022-04-12  6:30 ` [PATCH 5.15 242/277] drm/amdgpu/display: change pipe policy for DCN 2.1 Greg Kroah-Hartman
2022-04-12  6:30 ` [PATCH 5.15 243/277] drm/amdgpu/smu10: fix SoC/fclk units in auto mode Greg Kroah-Hartman
2022-04-12  6:30 ` [PATCH 5.15 244/277] drm/amdgpu/vcn: Fix the register setting for vcn1 Greg Kroah-Hartman
2022-04-12  6:30 ` [PATCH 5.15 245/277] drm/nouveau/pmu: Add missing callbacks for Tegra devices Greg Kroah-Hartman
2022-04-12  6:30 ` [PATCH 5.15 246/277] drm/amdkfd: Create file descriptor after client is added to smi_clients list Greg Kroah-Hartman
2022-04-12  6:30 ` [PATCH 5.15 247/277] drm/amdgpu: dont use BACO for reset in S3 Greg Kroah-Hartman
2022-04-12  6:30 ` [PATCH 5.15 248/277] KVM: SVM: Allow AVIC support on system w/ physical APIC ID > 255 Greg Kroah-Hartman
2022-04-12  6:30 ` [PATCH 5.15 249/277] net/smc: send directly on setting TCP_NODELAY Greg Kroah-Hartman
2022-04-12  6:30 ` [PATCH 5.15 250/277] Revert "selftests: net: Add tls config dependency for tls selftests" Greg Kroah-Hartman
2022-04-12  6:30 ` [PATCH 5.15 251/277] bpf: Make remote_port field in struct bpf_sk_lookup 16-bit wide Greg Kroah-Hartman
2022-04-12  6:30 ` [PATCH 5.15 252/277] selftests/bpf: Fix u8 narrow load checks for bpf_sk_lookup remote_port Greg Kroah-Hartman
2022-04-12  6:30 ` [PATCH 5.15 253/277] rtc: mc146818-lib: fix signedness bug in mc146818_get_time() Greg Kroah-Hartman
2022-04-12  6:30 ` [PATCH 5.15 254/277] SUNRPC: Dont call connect() more than once on a TCP socket Greg Kroah-Hartman
2022-04-12  6:30 ` [PATCH 5.15 255/277] Revert "nbd: fix possible overflow on first_minor in nbd_dev_add()" Greg Kroah-Hartman
2022-04-12  6:30 ` [PATCH 5.15 256/277] perf build: Dont use -ffat-lto-objects in the python feature test when building with clang-13 Greg Kroah-Hartman
2022-04-12  6:31 ` [PATCH 5.15 257/277] perf python: Fix probing for some clang command line options Greg Kroah-Hartman
2022-04-12  6:31 ` [PATCH 5.15 258/277] tools build: Filter out options and warnings not supported by clang Greg Kroah-Hartman
2022-04-12  6:31 ` [PATCH 5.15 259/277] tools build: Use $(shell ) instead of `` to get embedded libperls ccopts Greg Kroah-Hartman
2022-04-12  6:31 ` [PATCH 5.15 260/277] dmaengine: Revert "dmaengine: shdma: Fix runtime PM imbalance on error" Greg Kroah-Hartman
2022-04-12  6:31 ` [PATCH 5.15 261/277] KVM: avoid NULL pointer dereference in kvm_dirty_ring_push Greg Kroah-Hartman
2022-04-12  6:31 ` [PATCH 5.15 262/277] Revert "net/mlx5: Accept devlink user input after driver initialization complete" Greg Kroah-Hartman
2022-04-12  6:31 ` [PATCH 5.15 263/277] ubsan: remove CONFIG_UBSAN_OBJECT_SIZE Greg Kroah-Hartman
2022-04-12  6:31 ` [PATCH 5.15 264/277] selftests: cgroup: Make cg_create() use 0755 for permission instead of 0644 Greg Kroah-Hartman
2022-04-12  6:31 ` [PATCH 5.15 265/277] selftests: cgroup: Test open-time credential usage for migration checks Greg Kroah-Hartman
2022-04-12  6:31 ` [PATCH 5.15 266/277] selftests: cgroup: Test open-time cgroup namespace " Greg Kroah-Hartman
2022-04-12  6:31 ` [PATCH 5.15 267/277] mm: dont skip swap entry even if zap_details specified Greg Kroah-Hartman
2022-04-12  6:31 ` [PATCH 5.15 268/277] Drivers: hv: vmbus: Replace smp_store_mb() with virt_store_mb() Greg Kroah-Hartman
2022-04-12  6:31 ` [PATCH 5.15 269/277] x86/bug: Prevent shadowing in __WARN_FLAGS Greg Kroah-Hartman
2022-04-12  6:31 ` [PATCH 5.15 270/277] sched: Teach the forced-newidle balancer about CPU affinity limitation Greg Kroah-Hartman
2022-04-12  6:31 ` [PATCH 5.15 271/277] x86,static_call: Fix __static_call_return0 for i386 Greg Kroah-Hartman
2022-04-12  6:31 ` [PATCH 5.15 272/277] irqchip/gic-v4: Wait for GICR_VPENDBASER.Dirty to clear before descheduling Greg Kroah-Hartman
2022-04-12  6:31 ` [PATCH 5.15 273/277] powerpc/64: Fix build failure with allyesconfig in book3s_64_entry.S Greg Kroah-Hartman
2022-04-12  6:31 ` [PATCH 5.15 274/277] irqchip/gic, gic-v3: Prevent GSI to SGI translations Greg Kroah-Hartman
2022-04-12  6:31 ` [PATCH 5.15 275/277] mm/sparsemem: fix mem_section will never be NULL gcc 12 warning Greg Kroah-Hartman
2022-04-12  6:31 ` Greg Kroah-Hartman [this message]
2022-04-12  6:31 ` [PATCH 5.15 277/277] powerpc: Fix virt_addr_valid() for 64-bit Book3E & 32-bit Greg Kroah-Hartman
2022-04-12 14:15 ` [PATCH 5.15 000/277] 5.15.34-rc1 review Naresh Kamboju
2022-04-12 15:02   ` Marco Elver
2022-04-12 15:43     ` Naresh Kamboju
2022-04-12 15:48       ` Marco Elver
2022-04-12 16:43       ` Greg Kroah-Hartman
2022-04-12 17:23         ` Greg Kroah-Hartman
2022-04-12 17:30           ` Greg Kroah-Hartman
2022-04-12 15:39 ` Guenter Roeck
2022-04-12 17:34   ` Greg Kroah-Hartman

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=20220412062950.029318382@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).