public inbox for stable@vger.kernel.org
 help / color / mirror / Atom feed
From: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
To: stable@vger.kernel.org
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
	patches@lists.linux.dev,
	Kumar Kartikeya Dwivedi <memxor@gmail.com>,
	Alexei Starovoitov <ast@kernel.org>,
	Sasha Levin <sashal@kernel.org>
Subject: [PATCH 6.0 032/190] bpf: Add helper macro bpf_for_each_reg_in_vstate
Date: Mon, 14 Nov 2022 13:44:16 +0100	[thread overview]
Message-ID: <20221114124500.164440629@linuxfoundation.org> (raw)
In-Reply-To: <20221114124458.806324402@linuxfoundation.org>

From: Kumar Kartikeya Dwivedi <memxor@gmail.com>

[ Upstream commit b239da34203f49c40b5d656220c39647c3ff0b3c ]

For a lot of use cases in future patches, we will want to modify the
state of registers part of some same 'group' (e.g. same ref_obj_id). It
won't just be limited to releasing reference state, but setting a type
flag dynamically based on certain actions, etc.

Hence, we need a way to easily pass a callback to the function that
iterates over all registers in current bpf_verifier_state in all frames
upto (and including) the curframe.

While in C++ we would be able to easily use a lambda to pass state and
the callback together, sadly we aren't using C++ in the kernel. The next
best thing to avoid defining a function for each case seems like
statement expressions in GNU C. The kernel already uses them heavily,
hence they can passed to the macro in the style of a lambda. The
statement expression will then be substituted in the for loop bodies.

Variables __state and __reg are set to current bpf_func_state and reg
for each invocation of the expression inside the passed in verifier
state.

Then, convert mark_ptr_or_null_regs, clear_all_pkt_pointers,
release_reference, find_good_pkt_pointers, find_equal_scalars to
use bpf_for_each_reg_in_vstate.

Signed-off-by: Kumar Kartikeya Dwivedi <memxor@gmail.com>
Link: https://lore.kernel.org/r/20220904204145.3089-16-memxor@gmail.com
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Stable-dep-of: f1db20814af5 ("bpf: Fix wrong reg type conversion in release_reference()")
Signed-off-by: Sasha Levin <sashal@kernel.org>
---
 include/linux/bpf_verifier.h |  21 ++++++
 kernel/bpf/verifier.c        | 135 ++++++++---------------------------
 2 files changed, 49 insertions(+), 107 deletions(-)

diff --git a/include/linux/bpf_verifier.h b/include/linux/bpf_verifier.h
index 1fdddbf3546b..184b957e28ad 100644
--- a/include/linux/bpf_verifier.h
+++ b/include/linux/bpf_verifier.h
@@ -348,6 +348,27 @@ struct bpf_verifier_state {
 	     iter < frame->allocated_stack / BPF_REG_SIZE;		\
 	     iter++, reg = bpf_get_spilled_reg(iter, frame))
 
+/* Invoke __expr over regsiters in __vst, setting __state and __reg */
+#define bpf_for_each_reg_in_vstate(__vst, __state, __reg, __expr)   \
+	({                                                               \
+		struct bpf_verifier_state *___vstate = __vst;            \
+		int ___i, ___j;                                          \
+		for (___i = 0; ___i <= ___vstate->curframe; ___i++) {    \
+			struct bpf_reg_state *___regs;                   \
+			__state = ___vstate->frame[___i];                \
+			___regs = __state->regs;                         \
+			for (___j = 0; ___j < MAX_BPF_REG; ___j++) {     \
+				__reg = &___regs[___j];                  \
+				(void)(__expr);                          \
+			}                                                \
+			bpf_for_each_spilled_reg(___j, __state, __reg) { \
+				if (!__reg)                              \
+					continue;                        \
+				(void)(__expr);                          \
+			}                                                \
+		}                                                        \
+	})
+
 /* linked list of verifier states used to prune search */
 struct bpf_verifier_state_list {
 	struct bpf_verifier_state state;
diff --git a/kernel/bpf/verifier.c b/kernel/bpf/verifier.c
index 2d7ece2a87fa..7bfeb249214e 100644
--- a/kernel/bpf/verifier.c
+++ b/kernel/bpf/verifier.c
@@ -6500,31 +6500,15 @@ static int check_func_proto(const struct bpf_func_proto *fn, int func_id,
 /* Packet data might have moved, any old PTR_TO_PACKET[_META,_END]
  * are now invalid, so turn them into unknown SCALAR_VALUE.
  */
-static void __clear_all_pkt_pointers(struct bpf_verifier_env *env,
-				     struct bpf_func_state *state)
+static void clear_all_pkt_pointers(struct bpf_verifier_env *env)
 {
-	struct bpf_reg_state *regs = state->regs, *reg;
-	int i;
-
-	for (i = 0; i < MAX_BPF_REG; i++)
-		if (reg_is_pkt_pointer_any(&regs[i]))
-			mark_reg_unknown(env, regs, i);
+	struct bpf_func_state *state;
+	struct bpf_reg_state *reg;
 
-	bpf_for_each_spilled_reg(i, state, reg) {
-		if (!reg)
-			continue;
+	bpf_for_each_reg_in_vstate(env->cur_state, state, reg, ({
 		if (reg_is_pkt_pointer_any(reg))
 			__mark_reg_unknown(env, reg);
-	}
-}
-
-static void clear_all_pkt_pointers(struct bpf_verifier_env *env)
-{
-	struct bpf_verifier_state *vstate = env->cur_state;
-	int i;
-
-	for (i = 0; i <= vstate->curframe; i++)
-		__clear_all_pkt_pointers(env, vstate->frame[i]);
+	}));
 }
 
 enum {
@@ -6553,41 +6537,24 @@ static void mark_pkt_end(struct bpf_verifier_state *vstate, int regn, bool range
 		reg->range = AT_PKT_END;
 }
 
-static void release_reg_references(struct bpf_verifier_env *env,
-				   struct bpf_func_state *state,
-				   int ref_obj_id)
-{
-	struct bpf_reg_state *regs = state->regs, *reg;
-	int i;
-
-	for (i = 0; i < MAX_BPF_REG; i++)
-		if (regs[i].ref_obj_id == ref_obj_id)
-			mark_reg_unknown(env, regs, i);
-
-	bpf_for_each_spilled_reg(i, state, reg) {
-		if (!reg)
-			continue;
-		if (reg->ref_obj_id == ref_obj_id)
-			__mark_reg_unknown(env, reg);
-	}
-}
-
 /* The pointer with the specified id has released its reference to kernel
  * resources. Identify all copies of the same pointer and clear the reference.
  */
 static int release_reference(struct bpf_verifier_env *env,
 			     int ref_obj_id)
 {
-	struct bpf_verifier_state *vstate = env->cur_state;
+	struct bpf_func_state *state;
+	struct bpf_reg_state *reg;
 	int err;
-	int i;
 
 	err = release_reference_state(cur_func(env), ref_obj_id);
 	if (err)
 		return err;
 
-	for (i = 0; i <= vstate->curframe; i++)
-		release_reg_references(env, vstate->frame[i], ref_obj_id);
+	bpf_for_each_reg_in_vstate(env->cur_state, state, reg, ({
+		if (reg->ref_obj_id == ref_obj_id)
+			__mark_reg_unknown(env, reg);
+	}));
 
 	return 0;
 }
@@ -9283,34 +9250,14 @@ static int check_alu_op(struct bpf_verifier_env *env, struct bpf_insn *insn)
 	return 0;
 }
 
-static void __find_good_pkt_pointers(struct bpf_func_state *state,
-				     struct bpf_reg_state *dst_reg,
-				     enum bpf_reg_type type, int new_range)
-{
-	struct bpf_reg_state *reg;
-	int i;
-
-	for (i = 0; i < MAX_BPF_REG; i++) {
-		reg = &state->regs[i];
-		if (reg->type == type && reg->id == dst_reg->id)
-			/* keep the maximum range already checked */
-			reg->range = max(reg->range, new_range);
-	}
-
-	bpf_for_each_spilled_reg(i, state, reg) {
-		if (!reg)
-			continue;
-		if (reg->type == type && reg->id == dst_reg->id)
-			reg->range = max(reg->range, new_range);
-	}
-}
-
 static void find_good_pkt_pointers(struct bpf_verifier_state *vstate,
 				   struct bpf_reg_state *dst_reg,
 				   enum bpf_reg_type type,
 				   bool range_right_open)
 {
-	int new_range, i;
+	struct bpf_func_state *state;
+	struct bpf_reg_state *reg;
+	int new_range;
 
 	if (dst_reg->off < 0 ||
 	    (dst_reg->off == 0 && range_right_open))
@@ -9375,9 +9322,11 @@ static void find_good_pkt_pointers(struct bpf_verifier_state *vstate,
 	 * the range won't allow anything.
 	 * dst_reg->off is known < MAX_PACKET_OFF, therefore it fits in a u16.
 	 */
-	for (i = 0; i <= vstate->curframe; i++)
-		__find_good_pkt_pointers(vstate->frame[i], dst_reg, type,
-					 new_range);
+	bpf_for_each_reg_in_vstate(vstate, state, reg, ({
+		if (reg->type == type && reg->id == dst_reg->id)
+			/* keep the maximum range already checked */
+			reg->range = max(reg->range, new_range);
+	}));
 }
 
 static int is_branch32_taken(struct bpf_reg_state *reg, u32 val, u8 opcode)
@@ -9866,7 +9815,7 @@ static void mark_ptr_or_null_reg(struct bpf_func_state *state,
 
 		if (!reg_may_point_to_spin_lock(reg)) {
 			/* For not-NULL ptr, reg->ref_obj_id will be reset
-			 * in release_reg_references().
+			 * in release_reference().
 			 *
 			 * reg->id is still used by spin_lock ptr. Other
 			 * than spin_lock ptr type, reg->id can be reset.
@@ -9876,22 +9825,6 @@ static void mark_ptr_or_null_reg(struct bpf_func_state *state,
 	}
 }
 
-static void __mark_ptr_or_null_regs(struct bpf_func_state *state, u32 id,
-				    bool is_null)
-{
-	struct bpf_reg_state *reg;
-	int i;
-
-	for (i = 0; i < MAX_BPF_REG; i++)
-		mark_ptr_or_null_reg(state, &state->regs[i], id, is_null);
-
-	bpf_for_each_spilled_reg(i, state, reg) {
-		if (!reg)
-			continue;
-		mark_ptr_or_null_reg(state, reg, id, is_null);
-	}
-}
-
 /* The logic is similar to find_good_pkt_pointers(), both could eventually
  * be folded together at some point.
  */
@@ -9899,10 +9832,9 @@ static void mark_ptr_or_null_regs(struct bpf_verifier_state *vstate, u32 regno,
 				  bool is_null)
 {
 	struct bpf_func_state *state = vstate->frame[vstate->curframe];
-	struct bpf_reg_state *regs = state->regs;
+	struct bpf_reg_state *regs = state->regs, *reg;
 	u32 ref_obj_id = regs[regno].ref_obj_id;
 	u32 id = regs[regno].id;
-	int i;
 
 	if (ref_obj_id && ref_obj_id == id && is_null)
 		/* regs[regno] is in the " == NULL" branch.
@@ -9911,8 +9843,9 @@ static void mark_ptr_or_null_regs(struct bpf_verifier_state *vstate, u32 regno,
 		 */
 		WARN_ON_ONCE(release_reference_state(state, id));
 
-	for (i = 0; i <= vstate->curframe; i++)
-		__mark_ptr_or_null_regs(vstate->frame[i], id, is_null);
+	bpf_for_each_reg_in_vstate(vstate, state, reg, ({
+		mark_ptr_or_null_reg(state, reg, id, is_null);
+	}));
 }
 
 static bool try_match_pkt_pointers(const struct bpf_insn *insn,
@@ -10025,23 +9958,11 @@ static void find_equal_scalars(struct bpf_verifier_state *vstate,
 {
 	struct bpf_func_state *state;
 	struct bpf_reg_state *reg;
-	int i, j;
 
-	for (i = 0; i <= vstate->curframe; i++) {
-		state = vstate->frame[i];
-		for (j = 0; j < MAX_BPF_REG; j++) {
-			reg = &state->regs[j];
-			if (reg->type == SCALAR_VALUE && reg->id == known_reg->id)
-				*reg = *known_reg;
-		}
-
-		bpf_for_each_spilled_reg(j, state, reg) {
-			if (!reg)
-				continue;
-			if (reg->type == SCALAR_VALUE && reg->id == known_reg->id)
-				*reg = *known_reg;
-		}
-	}
+	bpf_for_each_reg_in_vstate(vstate, state, reg, ({
+		if (reg->type == SCALAR_VALUE && reg->id == known_reg->id)
+			*reg = *known_reg;
+	}));
 }
 
 static int check_cond_jmp_op(struct bpf_verifier_env *env,
-- 
2.35.1




  parent reply	other threads:[~2022-11-14 13:02 UTC|newest]

Thread overview: 206+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-11-14 12:43 [PATCH 6.0 000/190] 6.0.9-rc1 review Greg Kroah-Hartman
2022-11-14 12:43 ` [PATCH 6.0 001/190] thunderbolt: Add DP OUT resource when DP tunnel is discovered Greg Kroah-Hartman
2022-11-14 12:43 ` [PATCH 6.0 002/190] drm/i915/gvt: Add missing vfio_unregister_group_dev() call Greg Kroah-Hartman
2022-11-14 12:43 ` [PATCH 6.0 003/190] m68k: Rework BI_VIRT_RNG_SEED as BI_RNG_SEED Greg Kroah-Hartman
2022-11-14 12:43 ` [PATCH 6.0 004/190] KVM: debugfs: Return retval of simple_attr_open() if it fails Greg Kroah-Hartman
2022-11-14 12:43 ` [PATCH 6.0 005/190] drm/i915: Allow more varied alternate fixed modes for panels Greg Kroah-Hartman
2022-11-14 12:43 ` [PATCH 6.0 006/190] drm/i915: Simplify intel_panel_add_edid_alt_fixed_modes() Greg Kroah-Hartman
2022-11-14 12:43 ` [PATCH 6.0 007/190] drm/i915/sdvo: Grab mode_config.mutex during LVDS init to avoid WARNs Greg Kroah-Hartman
2022-11-14 12:43 ` [PATCH 6.0 008/190] drm/amd/display: Acquire FCLK DPM levels on DCN32 Greg Kroah-Hartman
2022-11-14 12:43 ` [PATCH 6.0 009/190] drm/amd/display: Limit dcn32 to 1950Mhz display clock Greg Kroah-Hartman
2022-11-14 12:43 ` [PATCH 6.0 010/190] drm/amd/display: Set memclk levels to be at least 1 for dcn32 Greg Kroah-Hartman
2022-11-14 12:43 ` [PATCH 6.0 011/190] drm/amdkfd: handle CPU fault on COW mapping Greg Kroah-Hartman
2022-11-14 12:43 ` [PATCH 6.0 012/190] drm/amdkfd: Fix NULL pointer dereference in svm_migrate_to_ram() Greg Kroah-Hartman
2022-11-14 12:43 ` [PATCH 6.0 013/190] cxl/region: Recycle region ids Greg Kroah-Hartman
2022-11-14 12:43 ` [PATCH 6.0 014/190] HID: wacom: Fix logic used for 3rd barrel switch emulation Greg Kroah-Hartman
2022-11-14 12:43 ` [PATCH 6.0 015/190] hwspinlock: qcom: correct MMIO max register for newer SoCs Greg Kroah-Hartman
2022-11-14 12:44 ` [PATCH 6.0 016/190] phy: stm32: fix an error code in probe Greg Kroah-Hartman
2022-11-14 12:44 ` [PATCH 6.0 017/190] wifi: cfg80211: silence a sparse RCU warning Greg Kroah-Hartman
2022-11-14 12:44 ` [PATCH 6.0 018/190] wifi: cfg80211: fix memory leak in query_regdb_file() Greg Kroah-Hartman
2022-11-14 12:44 ` [PATCH 6.0 019/190] soundwire: qcom: reinit broadcast completion Greg Kroah-Hartman
2022-11-14 12:44 ` [PATCH 6.0 020/190] soundwire: qcom: check for outanding writes before doing a read Greg Kroah-Hartman
2022-11-14 12:44 ` [PATCH 6.0 021/190] ALSA: arm: pxa: pxa2xx-ac97-lib: fix return value check of platform_get_irq() Greg Kroah-Hartman
2022-11-14 12:44 ` [PATCH 6.0 022/190] spi: mediatek: Fix package division error Greg Kroah-Hartman
2022-11-14 12:44 ` [PATCH 6.0 023/190] bpf, verifier: Fix memory leak in array reallocation for stack state Greg Kroah-Hartman
2022-11-14 12:44 ` [PATCH 6.0 024/190] bpf, sockmap: Fix the sk->sk_forward_alloc warning of sk_stream_kill_queues Greg Kroah-Hartman
2022-11-14 12:44 ` [PATCH 6.0 025/190] wifi: mac80211: fix general-protection-fault in ieee80211_subif_start_xmit() Greg Kroah-Hartman
2022-11-14 12:44 ` [PATCH 6.0 026/190] wifi: mac80211: Set TWT Information Frame Disabled bit as 1 Greg Kroah-Hartman
2022-11-14 12:44 ` [PATCH 6.0 027/190] bpftool: Fix NULL pointer dereference when pin {PROG, MAP, LINK} without FILE Greg Kroah-Hartman
2022-11-14 12:44 ` [PATCH 6.0 028/190] HID: hyperv: fix possible memory leak in mousevsc_probe() Greg Kroah-Hartman
2022-11-14 12:44 ` [PATCH 6.0 029/190] drm/vc4: hdmi: Fix HSM clock too low on Pi4 Greg Kroah-Hartman
2022-11-14 12:44 ` [PATCH 6.0 030/190] bpf, sock_map: Move cancel_work_sync() out of sock lock Greg Kroah-Hartman
2022-11-14 12:44 ` [PATCH 6.0 031/190] PCI: hv: Fix the definition of vector in hv_compose_msi_msg() Greg Kroah-Hartman
2022-11-14 12:44 ` Greg Kroah-Hartman [this message]
2022-11-14 12:44 ` [PATCH 6.0 033/190] bpf: Fix wrong reg type conversion in release_reference() Greg Kroah-Hartman
2022-11-14 12:44 ` [PATCH 6.0 034/190] net: gso: fix panic on frag_list with mixed head alloc types Greg Kroah-Hartman
2022-11-14 12:44 ` [PATCH 6.0 035/190] macsec: delete new rxsc when offload fails Greg Kroah-Hartman
2022-11-14 12:44 ` [PATCH 6.0 036/190] macsec: fix secy->n_rx_sc accounting Greg Kroah-Hartman
2022-11-14 12:44 ` [PATCH 6.0 037/190] macsec: fix detection of RXSCs when toggling offloading Greg Kroah-Hartman
2022-11-14 12:44 ` [PATCH 6.0 038/190] macsec: clear encryption keys from the stack after setting up offload Greg Kroah-Hartman
2022-11-14 12:44 ` [PATCH 6.0 039/190] octeontx2-pf: NIX TX overwrites SQ_CTX_HW_S[SQ_INT] Greg Kroah-Hartman
2022-11-14 12:44 ` [PATCH 6.0 040/190] net: tun: Fix memory leaks of napi_get_frags Greg Kroah-Hartman
2022-11-14 12:44 ` [PATCH 6.0 041/190] bnxt_en: Fix possible crash in bnxt_hwrm_set_coal() Greg Kroah-Hartman
2022-11-14 12:44 ` [PATCH 6.0 042/190] bnxt_en: fix potentially incorrect return value for ndo_rx_flow_steer Greg Kroah-Hartman
2022-11-14 12:44 ` [PATCH 6.0 043/190] net: fman: Unregister ethernet device on removal Greg Kroah-Hartman
2022-11-14 12:44 ` [PATCH 6.0 044/190] capabilities: fix undefined behavior in bit shift for CAP_TO_MASK Greg Kroah-Hartman
2022-11-14 12:44 ` [PATCH 6.0 045/190] phy: ralink: mt7621-pci: add sentinel to quirks table Greg Kroah-Hartman
2022-11-14 12:44 ` [PATCH 6.0 046/190] KVM: s390: pv: dont allow userspace to set the clock under PV Greg Kroah-Hartman
2022-11-14 12:44 ` [PATCH 6.0 047/190] KVM: s390: pci: Fix allocation size of aift kzdev elements Greg Kroah-Hartman
2022-11-14 12:44 ` [PATCH 6.0 048/190] net: lapbether: fix issue of dev reference count leakage in lapbeth_device_event() Greg Kroah-Hartman
2022-11-14 12:44 ` [PATCH 6.0 049/190] hamradio: fix issue of dev reference count leakage in bpq_device_event() Greg Kroah-Hartman
2022-11-14 12:44 ` [PATCH 6.0 050/190] net: wwan: iosm: fix memory leak in ipc_wwan_dellink Greg Kroah-Hartman
2022-11-14 12:44 ` [PATCH 6.0 051/190] net: wwan: mhi: fix memory leak in mhi_mbim_dellink Greg Kroah-Hartman
2022-11-14 12:44 ` [PATCH 6.0 052/190] drm/vc4: Fix missing platform_unregister_drivers() call in vc4_drm_register() Greg Kroah-Hartman
2022-11-14 12:44 ` [PATCH 6.0 053/190] tcp: prohibit TCP_REPAIR_OPTIONS if data was already sent Greg Kroah-Hartman
2022-11-14 12:44 ` [PATCH 6.0 054/190] platform/x86: p2sb: Dont fail if unknown CPU is found Greg Kroah-Hartman
2022-11-14 12:44 ` [PATCH 6.0 055/190] ipv6: addrlabel: fix infoleak when sending struct ifaddrlblmsg to network Greg Kroah-Hartman
2022-11-14 13:02   ` syzbot
2022-11-14 12:44 ` [PATCH 6.0 056/190] can: af_can: fix NULL pointer dereference in can_rx_register() Greg Kroah-Hartman
2022-11-14 12:44 ` [PATCH 6.0 057/190] drm/i915/psr: Send update also on invalidate Greg Kroah-Hartman
2022-11-14 12:44 ` [PATCH 6.0 058/190] drm/i915: Do not set cache_dirty for DGFX Greg Kroah-Hartman
2022-11-14 12:44 ` [PATCH 6.0 059/190] net: stmmac: dwmac-meson8b: fix meson8b_devm_clk_prepare_enable() Greg Kroah-Hartman
2022-11-14 12:44 ` [PATCH 6.0 060/190] dt-bindings: net: tsnep: Fix typo on generic nvmem property Greg Kroah-Hartman
2022-11-14 12:44 ` [PATCH 6.0 061/190] net: broadcom: Fix BCMGENET Kconfig Greg Kroah-Hartman
2022-11-14 12:44 ` [PATCH 6.0 062/190] tipc: fix the msg->req tlv len check in tipc_nl_compat_name_table_dump_header Greg Kroah-Hartman
2022-11-14 12:44 ` [PATCH 6.0 063/190] dmaengine: pxa_dma: use platform_get_irq_optional Greg Kroah-Hartman
2022-11-14 12:44 ` [PATCH 6.0 064/190] dmanegine: idxd: reformat opcap output to match bitmap_parse() input Greg Kroah-Hartman
2022-11-14 12:44 ` [PATCH 6.0 065/190] dmaengine: idxd: Fix max batch size for Intel IAA Greg Kroah-Hartman
2022-11-14 12:44 ` [PATCH 6.0 066/190] dmaengine: idxd: fix RO device state error after been disabled/reset Greg Kroah-Hartman
2022-11-14 12:44 ` [PATCH 6.0 067/190] dmaengine: apple-admac: Fix grabbing of channels in of_xlate Greg Kroah-Hartman
2022-11-14 12:44 ` [PATCH 6.0 068/190] dmaengine: mv_xor_v2: Fix a resource leak in mv_xor_v2_remove() Greg Kroah-Hartman
2022-11-14 12:44 ` [PATCH 6.0 069/190] dmaengine: ti: k3-udma-glue: fix memory leak when register device fail Greg Kroah-Hartman
2022-11-14 12:44 ` [PATCH 6.0 070/190] dmaengine: stm32-dma: fix potential race between pause and resume Greg Kroah-Hartman
2022-11-14 12:44 ` [PATCH 6.0 071/190] net: lapbether: fix issue of invalid opcode in lapbeth_open() Greg Kroah-Hartman
2022-11-14 12:44 ` [PATCH 6.0 072/190] net: ethernet: mtk-star-emac: disable napi when connect and start PHY failed in mtk_star_enable() Greg Kroah-Hartman
2022-11-14 12:44 ` [PATCH 6.0 073/190] octeontx2-pf: Fix SQE threshold checking Greg Kroah-Hartman
2022-11-14 12:44 ` [PATCH 6.0 074/190] drivers: net: xgene: disable napi when register irq failed in xgene_enet_open() Greg Kroah-Hartman
2022-11-14 12:44 ` [PATCH 6.0 075/190] perf stat: Fix crash with --per-node --metric-only in CSV mode Greg Kroah-Hartman
2022-11-14 12:45 ` [PATCH 6.0 076/190] perf stat: Fix printing os->prefix in CSV metrics output Greg Kroah-Hartman
2022-11-14 12:45 ` [PATCH 6.0 077/190] perf test: Fix skipping branch stack sampling test Greg Kroah-Hartman
2022-11-14 12:45 ` [PATCH 6.0 078/190] perf tools: Add the include/perf/ directory to .gitignore Greg Kroah-Hartman
2022-11-14 12:45 ` [PATCH 6.0 079/190] netfilter: nfnetlink: fix potential dead lock in nfnetlink_rcv_msg() Greg Kroah-Hartman
2022-11-14 12:45 ` [PATCH 6.0 080/190] netfilter: Cleanup nft_net->module_list from nf_tables_exit_net() Greg Kroah-Hartman
2022-11-14 12:45 ` [PATCH 6.0 081/190] net: marvell: prestera: fix memory leak in prestera_rxtx_switch_init() Greg Kroah-Hartman
2022-11-14 12:45 ` [PATCH 6.0 082/190] net: tun: call napi_schedule_prep() to ensure we own a napi Greg Kroah-Hartman
2022-11-14 12:45 ` [PATCH 6.0 083/190] net: nixge: disable napi when enable interrupts failed in nixge_open() Greg Kroah-Hartman
2022-11-14 12:45 ` [PATCH 6.0 084/190] net: wwan: iosm: fix memory leak in ipc_pcie_read_bios_cfg Greg Kroah-Hartman
2022-11-14 12:45 ` [PATCH 6.0 085/190] net: wwan: iosm: fix invalid mux header type Greg Kroah-Hartman
2022-11-14 12:45 ` [PATCH 6.0 086/190] net/mlx5: Bridge, verify LAG state when adding bond to bridge Greg Kroah-Hartman
2022-11-14 12:45 ` [PATCH 6.0 087/190] net/mlx5: Allow async trigger completion execution on single CPU systems Greg Kroah-Hartman
2022-11-14 12:45 ` [PATCH 6.0 088/190] net/mlx5: E-switch, Set to legacy mode if failed to change switchdev mode Greg Kroah-Hartman
2022-11-14 12:45 ` [PATCH 6.0 089/190] net/mlx5: fw_reset: Dont try to load device in case PCI isnt working Greg Kroah-Hartman
2022-11-14 12:45 ` [PATCH 6.0 090/190] net/mlx5e: Add missing sanity checks for max TX WQE size Greg Kroah-Hartman
2022-11-14 12:45 ` [PATCH 6.0 091/190] net/mlx5e: Fix tc acts array not to be dependent on enum order Greg Kroah-Hartman
2022-11-14 12:45 ` [PATCH 6.0 092/190] net/mlx5e: TC, Fix wrong rejection of packet-per-second policing Greg Kroah-Hartman
2022-11-14 12:45 ` [PATCH 6.0 093/190] net/mlx5e: E-Switch, Fix comparing termination table instance Greg Kroah-Hartman
2022-11-14 12:45 ` [PATCH 6.0 094/190] ice: Fix spurious interrupt during removal of trusted VF Greg Kroah-Hartman
2022-11-14 12:45 ` [PATCH 6.0 095/190] iavf: Fix VF driver counting VLAN 0 filters Greg Kroah-Hartman
2022-11-14 12:45 ` [PATCH 6.0 096/190] net: cpsw: disable napi in cpsw_ndo_open() Greg Kroah-Hartman
2022-11-14 12:45 ` [PATCH 6.0 097/190] net: cxgb3_main: disable napi when bind qsets failed in cxgb_up() Greg Kroah-Hartman
2022-11-14 12:45 ` [PATCH 6.0 098/190] stmmac: intel: Update PCH PTP clock rate from 200MHz to 204.8MHz Greg Kroah-Hartman
2022-11-14 12:45 ` [PATCH 6.0 099/190] mctp: Fix an error handling path in mctp_init() Greg Kroah-Hartman
2022-11-14 12:45 ` [PATCH 6.0 100/190] cxgb4vf: shut down the adapter when t4vf_update_port_info() failed in cxgb4vf_open() Greg Kroah-Hartman
2022-11-14 12:45 ` [PATCH 6.0 101/190] stmmac: dwmac-loongson: fix missing pci_disable_msi() while module exiting Greg Kroah-Hartman
2022-11-14 12:45 ` [PATCH 6.0 102/190] stmmac: dwmac-loongson: fix missing pci_disable_device() in loongson_dwmac_probe() Greg Kroah-Hartman
2022-11-14 12:45 ` [PATCH 6.0 103/190] stmmac: dwmac-loongson: fix missing of_node_put() while module exiting Greg Kroah-Hartman
2022-11-14 12:45 ` [PATCH 6.0 104/190] net: phy: mscc: macsec: clear encryption keys when freeing a flow Greg Kroah-Hartman
2022-11-14 12:45 ` [PATCH 6.0 105/190] net: atlantic: macsec: clear encryption keys from the stack Greg Kroah-Hartman
2022-11-14 12:45 ` [PATCH 6.0 106/190] ethernet: s2io: disable napi when start nic failed in s2io_card_up() Greg Kroah-Hartman
2022-11-14 12:45 ` [PATCH 6.0 107/190] net: mv643xx_eth: disable napi when init rxq or txq failed in mv643xx_eth_open() Greg Kroah-Hartman
2022-11-14 12:45 ` [PATCH 6.0 108/190] ALSA: memalloc: Dont fall back for SG-buffer with IOMMU Greg Kroah-Hartman
2022-11-14 12:45 ` [PATCH 6.0 109/190] ethernet: tundra: free irq when alloc ring failed in tsi108_open() Greg Kroah-Hartman
2022-11-14 12:45 ` [PATCH 6.0 110/190] net: macvlan: fix memory leaks of macvlan_common_newlink Greg Kroah-Hartman
2022-11-14 12:45 ` [PATCH 6.0 111/190] riscv: process: fix kernel info leakage Greg Kroah-Hartman
2022-11-14 12:45 ` [PATCH 6.0 112/190] riscv: vdso: fix build with llvm Greg Kroah-Hartman
2022-11-14 12:45 ` [PATCH 6.0 113/190] riscv: fix reserved memory setup Greg Kroah-Hartman
2022-11-14 12:45 ` [PATCH 6.0 114/190] eth: sp7021: drop free_netdev() from spl2sw_init_netdev() Greg Kroah-Hartman
2022-11-14 12:45 ` [PATCH 6.0 115/190] arm64: efi: Fix handling of misaligned runtime regions and drop warning Greg Kroah-Hartman
2022-11-14 12:45 ` [PATCH 6.0 116/190] MIPS: jump_label: Fix compat branch range check Greg Kroah-Hartman
2022-11-14 12:45 ` [PATCH 6.0 117/190] drm/amdgpu: Fix the lpfn checking condition in drm buddy Greg Kroah-Hartman
2022-11-14 12:45 ` [PATCH 6.0 118/190] mmc: cqhci: Provide helper for resetting both SDHCI and CQHCI Greg Kroah-Hartman
2022-11-14 12:45 ` [PATCH 6.0 119/190] mmc: sdhci-of-arasan: Fix SDHCI_RESET_ALL for CQHCI Greg Kroah-Hartman
2022-11-14 12:45 ` [PATCH 6.0 120/190] mmc: sdhci-brcmstb: " Greg Kroah-Hartman
2022-11-14 12:45 ` [PATCH 6.0 121/190] mmc: sdhci_am654: " Greg Kroah-Hartman
2022-11-14 12:45 ` [PATCH 6.0 122/190] mmc: sdhci-tegra: " Greg Kroah-Hartman
2022-11-14 12:45 ` [PATCH 6.0 123/190] mmc: sdhci-esdhc-imx: use the correct host caps for MMC_CAP_8_BIT_DATA Greg Kroah-Hartman
2022-11-14 12:45 ` [PATCH 6.0 124/190] ALSA: hda/hdmi - enable runtime pm for more AMD display audio Greg Kroah-Hartman
2022-11-14 12:45 ` [PATCH 6.0 125/190] ALSA: hda/ca0132: add quirk for EVGA Z390 DARK Greg Kroah-Hartman
2022-11-14 12:45 ` [PATCH 6.0 126/190] ALSA: hda: fix potential memleak in add_widget_node Greg Kroah-Hartman
2022-11-14 12:45 ` [PATCH 6.0 127/190] ALSA: hda/realtek: Add quirk for ASUS Zenbook using CS35L41 Greg Kroah-Hartman
2022-11-14 12:45 ` [PATCH 6.0 128/190] ALSA: hda/realtek: Add Positivo C6300 model quirk Greg Kroah-Hartman
2022-11-14 12:45 ` [PATCH 6.0 129/190] ALSA: usb-audio: Yet more regression for for the delayed card registration Greg Kroah-Hartman
2022-11-14 12:45 ` [PATCH 6.0 130/190] ALSA: usb-audio: Add quirk entry for M-Audio Micro Greg Kroah-Hartman
2022-11-14 12:45 ` [PATCH 6.0 131/190] ALSA: usb-audio: Add DSD support for Accuphase DAC-60 Greg Kroah-Hartman
2022-11-14 12:45 ` [PATCH 6.0 132/190] vmlinux.lds.h: Fix placement of .data..decrypted section Greg Kroah-Hartman
2022-11-14 12:45 ` [PATCH 6.0 133/190] ata: libata-scsi: fix SYNCHRONIZE CACHE (16) command failure Greg Kroah-Hartman
2022-11-14 12:45 ` [PATCH 6.0 134/190] nilfs2: fix deadlock in nilfs_count_free_blocks() Greg Kroah-Hartman
2022-11-16 10:20   ` Pavel Machek
2022-11-16 15:47     ` Ryusuke Konishi
2022-11-14 12:45 ` [PATCH 6.0 135/190] nilfs2: fix use-after-free bug of ns_writer on remount Greg Kroah-Hartman
2022-11-14 12:46 ` [PATCH 6.0 136/190] drm/i915/dmabuf: fix sg_table handling in map_dma_buf Greg Kroah-Hartman
2022-11-14 12:46 ` [PATCH 6.0 137/190] drm/amd/display: Fix reg timeout in enc314_enable_fifo Greg Kroah-Hartman
2022-11-14 12:46 ` [PATCH 6.0 138/190] drm/amd/pm: update SMU IP v13.0.4 msg interface header Greg Kroah-Hartman
2022-11-14 12:46 ` [PATCH 6.0 139/190] drm/amd/display: Update SR watermarks for DCN314 Greg Kroah-Hartman
2022-11-14 12:46 ` [PATCH 6.0 140/190] drm/amdgpu: workaround for TLB seq race Greg Kroah-Hartman
2022-11-14 12:46 ` [PATCH 6.0 141/190] drm/amdgpu: disable BACO on special BEIGE_GOBY card Greg Kroah-Hartman
2022-11-14 12:46 ` [PATCH 6.0 142/190] drm/amdkfd: Fix error handling in criu_checkpoint Greg Kroah-Hartman
2022-11-14 12:46 ` [PATCH 6.0 143/190] drm/amdkfd: Fix error handling in kfd_criu_restore_events Greg Kroah-Hartman
2022-11-14 12:46 ` [PATCH 6.0 144/190] platform/x86: hp_wmi: Fix rfkill causing soft blocked wifi Greg Kroah-Hartman
2022-11-14 12:46 ` [PATCH 6.0 145/190] wifi: ath11k: avoid deadlock during regulatory update in ath11k_regd_update() Greg Kroah-Hartman
2022-11-14 12:46 ` [PATCH 6.0 146/190] btrfs: fix match incorrectly in dev_args_match_device Greg Kroah-Hartman
2022-11-14 12:46 ` [PATCH 6.0 147/190] btrfs: selftests: fix wrong error check in btrfs_free_dummy_root() Greg Kroah-Hartman
2022-11-14 12:46 ` [PATCH 6.0 148/190] btrfs: zoned: clone zoned device info when cloning a device Greg Kroah-Hartman
2022-11-14 12:46 ` [PATCH 6.0 149/190] btrfs: zoned: initialize devices zone info for seeding Greg Kroah-Hartman
2022-11-14 12:46 ` [PATCH 6.0 150/190] io_uring: check for rollover of buffer ID when providing buffers Greg Kroah-Hartman
2022-11-14 12:46 ` [PATCH 6.0 151/190] phy: qcom-qmp-combo: fix NULL-deref on runtime resume Greg Kroah-Hartman
2022-11-14 12:46 ` [PATCH 6.0 152/190] net: ethernet: ti: am65-cpsw: Fix segmentation fault at module unload Greg Kroah-Hartman
2022-11-14 12:46 ` [PATCH 6.0 153/190] mms: sdhci-esdhc-imx: Fix SDHCI_RESET_ALL for CQHCI Greg Kroah-Hartman
2022-11-14 12:46 ` [PATCH 6.0 154/190] udf: Fix a slab-out-of-bounds write bug in udf_find_entry() Greg Kroah-Hartman
2022-11-14 12:46 ` [PATCH 6.0 155/190] spi: intel: Use correct mask for flash and protected regions Greg Kroah-Hartman
2022-11-14 12:46 ` [PATCH 6.0 156/190] arch/x86/mm/hugetlbpage.c: pud_huge() returns 0 when using 2-level paging Greg Kroah-Hartman
2022-11-14 12:46 ` [PATCH 6.0 157/190] mm: hugetlb_vmemmap: include missing linux/moduleparam.h Greg Kroah-Hartman
2022-11-14 12:46 ` [PATCH 6.0 158/190] dmaengine: idxd: Do not enable user type Work Queue without Shared Virtual Addressing Greg Kroah-Hartman
2022-11-14 12:46 ` [PATCH 6.0 159/190] mm/damon/dbgfs: check if rm_contexts input is for a real context Greg Kroah-Hartman
2022-11-14 12:46 ` [PATCH 6.0 160/190] mm/memremap.c: map FS_DAX device memory as decrypted Greg Kroah-Hartman
2022-11-14 12:46 ` [PATCH 6.0 161/190] mm/shmem: use page_mapping() to detect page cache for uffd continue Greg Kroah-Hartman
2022-11-14 12:46 ` [PATCH 6.0 162/190] can: j1939: j1939_send_one(): fix missing CAN header initialization Greg Kroah-Hartman
2022-11-14 12:46 ` [PATCH 6.0 163/190] can: isotp: fix tx state handling for echo tx processing Greg Kroah-Hartman
2022-11-14 12:46 ` [PATCH 6.0 164/190] can: rcar_canfd: Add missing ECC error checks for channels 2-7 Greg Kroah-Hartman
2022-11-14 12:46 ` [PATCH 6.0 165/190] KVM: x86/mmu: Block all page faults during kvm_zap_gfn_range() Greg Kroah-Hartman
2022-11-14 12:46 ` [PATCH 6.0 166/190] KVM: x86/pmu: Do not speculatively query Intel GP PMCs that dont exist yet Greg Kroah-Hartman
2022-11-14 12:46 ` [PATCH 6.0 167/190] KVM: x86: use a separate asm-offsets.c file Greg Kroah-Hartman
2022-11-14 12:46 ` [PATCH 6.0 168/190] KVM: SVM: replace regs argument of __svm_vcpu_run() with vcpu_svm Greg Kroah-Hartman
2022-11-14 12:46 ` [PATCH 6.0 169/190] KVM: SVM: adjust register allocation for __svm_vcpu_run() Greg Kroah-Hartman
2022-11-14 12:46 ` [PATCH 6.0 170/190] KVM: SVM: Only dump VMSA to klog at KERN_DEBUG level Greg Kroah-Hartman
2022-11-14 12:46 ` [PATCH 6.0 171/190] KVM: SVM: retrieve VMCB from assembly Greg Kroah-Hartman
2022-11-14 12:46 ` [PATCH 6.0 172/190] KVM: SVM: move guest vmsave/vmload back to assembly Greg Kroah-Hartman
2022-11-14 12:46 ` [PATCH 6.0 173/190] can: dev: fix skb drop check Greg Kroah-Hartman
2022-11-14 12:46 ` [PATCH 6.0 174/190] dmaengine: at_hdmac: Fix at_lli struct definition Greg Kroah-Hartman
2022-11-14 12:46 ` [PATCH 6.0 175/190] dmaengine: at_hdmac: Dont start transactions at tx_submit level Greg Kroah-Hartman
2022-11-14 12:46 ` [PATCH 6.0 176/190] dmaengine: at_hdmac: Start transfer for cyclic channels in issue_pending Greg Kroah-Hartman
2022-11-14 12:46 ` [PATCH 6.0 177/190] dmaengine: at_hdmac: Fix premature completion of desc " Greg Kroah-Hartman
2022-11-14 12:46 ` [PATCH 6.0 178/190] dmaengine: at_hdmac: Do not call the complete callback on device_terminate_all Greg Kroah-Hartman
2022-11-14 12:46 ` [PATCH 6.0 179/190] dmaengine: at_hdmac: Protect atchan->status with the channel lock Greg Kroah-Hartman
2022-11-14 12:46 ` [PATCH 6.0 180/190] dmaengine: at_hdmac: Fix concurrency problems by removing atc_complete_all() Greg Kroah-Hartman
2022-11-14 12:46 ` [PATCH 6.0 181/190] dmaengine: at_hdmac: Fix concurrency over descriptor Greg Kroah-Hartman
2022-11-14 12:46 ` [PATCH 6.0 182/190] dmaengine: at_hdmac: Free the memset buf without holding the chan lock Greg Kroah-Hartman
2022-11-14 12:46 ` [PATCH 6.0 183/190] dmaengine: at_hdmac: Fix concurrency over the active list Greg Kroah-Hartman
2022-11-14 12:46 ` [PATCH 6.0 184/190] dmaengine: at_hdmac: Fix descriptor handling when issuing it to hardware Greg Kroah-Hartman
2022-11-14 12:46 ` [PATCH 6.0 185/190] dmaengine: at_hdmac: Fix completion of unissued descriptor in case of errors Greg Kroah-Hartman
2022-11-14 12:46 ` [PATCH 6.0 186/190] dmaengine: at_hdmac: Dont allow CPU to reorder channel enable Greg Kroah-Hartman
2022-11-14 12:46 ` [PATCH 6.0 187/190] dmaengine: at_hdmac: Fix impossible condition Greg Kroah-Hartman
2022-11-14 12:46 ` [PATCH 6.0 188/190] dmaengine: at_hdmac: Check return code of dma_async_device_register Greg Kroah-Hartman
2022-11-14 12:46 ` [PATCH 6.0 189/190] drm/amdkfd: Migrate in CPU page fault use current mm Greg Kroah-Hartman
2022-11-14 12:46 ` [PATCH 6.0 190/190] ALSA: memalloc: Try dma_alloc_noncontiguous() at first Greg Kroah-Hartman
2022-11-14 13:44 ` [PATCH 6.0 000/190] 6.0.9-rc1 review Luna Jernberg
2022-11-14 20:18 ` Shuah Khan
2022-11-14 22:32 ` Florian Fainelli
2022-11-14 22:40 ` Ron Economos
2022-11-15  0:14 ` Guenter Roeck
2022-11-15  2:04 ` Zan Aziz
2022-11-15  6:57 ` Naresh Kamboju
2022-11-15  9:21 ` Bagas Sanjaya
2022-11-15 10:32 ` Rudi Heitbaum
2022-11-15 10:40 ` Sudip Mukherjee
2022-11-15 17:19 ` Justin Forbes
2022-11-15 18:04 ` Allen Pais

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=20221114124500.164440629@linuxfoundation.org \
    --to=gregkh@linuxfoundation.org \
    --cc=ast@kernel.org \
    --cc=memxor@gmail.com \
    --cc=patches@lists.linux.dev \
    --cc=sashal@kernel.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