patches.lists.linux.dev archive mirror
 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,
	"Peter Zijlstra (Intel)" <peterz@infradead.org>,
	"Borislav Petkov (AMD)" <bp@alien8.de>
Subject: [PATCH 5.10 124/135] x86/cpu: Clean up SRSO return thunk mess
Date: Thu, 24 Aug 2023 19:09:56 +0200	[thread overview]
Message-ID: <20230824170622.652078885@linuxfoundation.org> (raw)
In-Reply-To: <20230824170617.074557800@linuxfoundation.org>

5.10-stable review patch.  If anyone has any objections, please let me know.

------------------

From: Peter Zijlstra <peterz@infradead.org>

commit d43490d0ab824023e11d0b57d0aeec17a6e0ca13 upstream.

Use the existing configurable return thunk. There is absolute no
justification for having created this __x86_return_thunk alternative.

To clarify, the whole thing looks like:

Zen3/4 does:

  srso_alias_untrain_ret:
	  nop2
	  lfence
	  jmp srso_alias_return_thunk
	  int3

  srso_alias_safe_ret: // aliasses srso_alias_untrain_ret just so
	  add $8, %rsp
	  ret
	  int3

  srso_alias_return_thunk:
	  call srso_alias_safe_ret
	  ud2

While Zen1/2 does:

  srso_untrain_ret:
	  movabs $foo, %rax
	  lfence
	  call srso_safe_ret           (jmp srso_return_thunk ?)
	  int3

  srso_safe_ret: // embedded in movabs instruction
	  add $8,%rsp
          ret
          int3

  srso_return_thunk:
	  call srso_safe_ret
	  ud2

While retbleed does:

  zen_untrain_ret:
	  test $0xcc, %bl
	  lfence
	  jmp zen_return_thunk
          int3

  zen_return_thunk: // embedded in the test instruction
	  ret
          int3

Where Zen1/2 flush the BTB entry using the instruction decoder trick
(test,movabs) Zen3/4 use BTB aliasing. SRSO adds a return sequence
(srso_safe_ret()) which forces the function return instruction to
speculate into a trap (UD2).  This RET will then mispredict and
execution will continue at the return site read from the top of the
stack.

Pick one of three options at boot (evey function can only ever return
once).

  [ bp: Fixup commit message uarch details and add them in a comment in
    the code too. Add a comment about the srso_select_mitigation()
    dependency on retbleed_select_mitigation(). Add moar ifdeffery for
    32-bit builds. Add a dummy srso_untrain_ret_alias() definition for
    32-bit alternatives needing the symbol. ]

Fixes: fb3bd914b3ec ("x86/srso: Add a Speculative RAS Overflow mitigation")
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Signed-off-by: Borislav Petkov (AMD) <bp@alien8.de>
Link: https://lore.kernel.org/r/20230814121148.842775684@infradead.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
---
 arch/x86/include/asm/nospec-branch.h |    5 +++
 arch/x86/kernel/cpu/bugs.c           |   17 ++++++++--
 arch/x86/kernel/vmlinux.lds.S        |    2 -
 arch/x86/lib/retpoline.S             |   58 +++++++++++++++++++++++++----------
 tools/objtool/arch/x86/decode.c      |    2 -
 5 files changed, 63 insertions(+), 21 deletions(-)

--- a/arch/x86/include/asm/nospec-branch.h
+++ b/arch/x86/include/asm/nospec-branch.h
@@ -201,9 +201,14 @@ extern void __x86_return_thunk(void);
 static inline void __x86_return_thunk(void) {}
 #endif
 
+extern void zen_return_thunk(void);
+extern void srso_return_thunk(void);
+extern void srso_alias_return_thunk(void);
+
 extern void zen_untrain_ret(void);
 extern void srso_untrain_ret(void);
 extern void srso_untrain_ret_alias(void);
+
 extern void entry_ibpb(void);
 
 #ifdef CONFIG_RETPOLINE
--- a/arch/x86/kernel/cpu/bugs.c
+++ b/arch/x86/kernel/cpu/bugs.c
@@ -157,8 +157,13 @@ void __init cpu_select_mitigations(void)
 	l1tf_select_mitigation();
 	md_clear_select_mitigation();
 	srbds_select_mitigation();
-	gds_select_mitigation();
+
+	/*
+	 * srso_select_mitigation() depends and must run after
+	 * retbleed_select_mitigation().
+	 */
 	srso_select_mitigation();
+	gds_select_mitigation();
 }
 
 /*
@@ -978,6 +983,9 @@ do_cmd_auto:
 		setup_force_cpu_cap(X86_FEATURE_RETHUNK);
 		setup_force_cpu_cap(X86_FEATURE_UNRET);
 
+		if (IS_ENABLED(CONFIG_RETHUNK))
+			x86_return_thunk = zen_return_thunk;
+
 		if (boot_cpu_data.x86_vendor != X86_VENDOR_AMD &&
 		    boot_cpu_data.x86_vendor != X86_VENDOR_HYGON)
 			pr_err(RETBLEED_UNTRAIN_MSG);
@@ -2352,10 +2360,13 @@ static void __init srso_select_mitigatio
 			 */
 			setup_force_cpu_cap(X86_FEATURE_RETHUNK);
 
-			if (boot_cpu_data.x86 == 0x19)
+			if (boot_cpu_data.x86 == 0x19) {
 				setup_force_cpu_cap(X86_FEATURE_SRSO_ALIAS);
-			else
+				x86_return_thunk = srso_alias_return_thunk;
+			} else {
 				setup_force_cpu_cap(X86_FEATURE_SRSO);
+				x86_return_thunk = srso_return_thunk;
+			}
 			srso_mitigation = SRSO_MITIGATION_SAFE_RET;
 		} else {
 			pr_err("WARNING: kernel not compiled with CPU_SRSO.\n");
--- a/arch/x86/kernel/vmlinux.lds.S
+++ b/arch/x86/kernel/vmlinux.lds.S
@@ -518,7 +518,7 @@ INIT_PER_CPU(irq_stack_backing_store);
 #endif
 
 #ifdef CONFIG_RETHUNK
-. = ASSERT((__ret & 0x3f) == 0, "__ret not cacheline-aligned");
+. = ASSERT((zen_return_thunk & 0x3f) == 0, "zen_return_thunk not cacheline-aligned");
 . = ASSERT((srso_safe_ret & 0x3f) == 0, "srso_safe_ret not cacheline-aligned");
 #endif
 
--- a/arch/x86/lib/retpoline.S
+++ b/arch/x86/lib/retpoline.S
@@ -93,21 +93,26 @@ SYM_CODE_END(__x86_indirect_thunk_array)
 	.section .text.__x86.rethunk_untrain
 
 SYM_START(srso_untrain_ret_alias, SYM_L_GLOBAL, SYM_A_NONE)
+	UNWIND_HINT_FUNC
 	ASM_NOP2
 	lfence
-	jmp __x86_return_thunk
+	jmp srso_alias_return_thunk
 SYM_FUNC_END(srso_untrain_ret_alias)
 __EXPORT_THUNK(srso_untrain_ret_alias)
 
 	.section .text.__x86.rethunk_safe
+#else
+/* dummy definition for alternatives */
+SYM_START(srso_untrain_ret_alias, SYM_L_GLOBAL, SYM_A_NONE)
+	ANNOTATE_UNRET_SAFE
+	ret
+	int3
+SYM_FUNC_END(srso_untrain_ret_alias)
 #endif
 
-/* Needs a definition for the __x86_return_thunk alternative below. */
 SYM_START(srso_safe_ret_alias, SYM_L_GLOBAL, SYM_A_NONE)
-#ifdef CONFIG_CPU_SRSO
 	add $8, %_ASM_SP
 	UNWIND_HINT_FUNC
-#endif
 	ANNOTATE_UNRET_SAFE
 	ret
 	int3
@@ -115,9 +120,16 @@ SYM_FUNC_END(srso_safe_ret_alias)
 
 	.section .text.__x86.return_thunk
 
+SYM_CODE_START(srso_alias_return_thunk)
+	UNWIND_HINT_FUNC
+	ANNOTATE_NOENDBR
+	call srso_safe_ret_alias
+	ud2
+SYM_CODE_END(srso_alias_return_thunk)
+
 /*
  * Safety details here pertain to the AMD Zen{1,2} microarchitecture:
- * 1) The RET at __x86_return_thunk must be on a 64 byte boundary, for
+ * 1) The RET at zen_return_thunk must be on a 64 byte boundary, for
  *    alignment within the BTB.
  * 2) The instruction at zen_untrain_ret must contain, and not
  *    end with, the 0xc3 byte of the RET.
@@ -125,7 +137,7 @@ SYM_FUNC_END(srso_safe_ret_alias)
  *    from re-poisioning the BTB prediction.
  */
 	.align 64
-	.skip 64 - (__ret - zen_untrain_ret), 0xcc
+	.skip 64 - (zen_return_thunk - zen_untrain_ret), 0xcc
 SYM_FUNC_START_NOALIGN(zen_untrain_ret);
 
 	/*
@@ -133,16 +145,16 @@ SYM_FUNC_START_NOALIGN(zen_untrain_ret);
 	 *
 	 *   TEST $0xcc, %bl
 	 *   LFENCE
-	 *   JMP __x86_return_thunk
+	 *   JMP zen_return_thunk
 	 *
 	 * Executing the TEST instruction has a side effect of evicting any BTB
 	 * prediction (potentially attacker controlled) attached to the RET, as
-	 * __x86_return_thunk + 1 isn't an instruction boundary at the moment.
+	 * zen_return_thunk + 1 isn't an instruction boundary at the moment.
 	 */
 	.byte	0xf6
 
 	/*
-	 * As executed from __x86_return_thunk, this is a plain RET.
+	 * As executed from zen_return_thunk, this is a plain RET.
 	 *
 	 * As part of the TEST above, RET is the ModRM byte, and INT3 the imm8.
 	 *
@@ -154,13 +166,13 @@ SYM_FUNC_START_NOALIGN(zen_untrain_ret);
 	 * With SMT enabled and STIBP active, a sibling thread cannot poison
 	 * RET's prediction to a type of its choice, but can evict the
 	 * prediction due to competitive sharing. If the prediction is
-	 * evicted, __x86_return_thunk will suffer Straight Line Speculation
+	 * evicted, zen_return_thunk will suffer Straight Line Speculation
 	 * which will be contained safely by the INT3.
 	 */
-SYM_INNER_LABEL(__ret, SYM_L_GLOBAL)
+SYM_INNER_LABEL(zen_return_thunk, SYM_L_GLOBAL)
 	ret
 	int3
-SYM_CODE_END(__ret)
+SYM_CODE_END(zen_return_thunk)
 
 	/*
 	 * Ensure the TEST decoding / BTB invalidation is complete.
@@ -171,7 +183,7 @@ SYM_CODE_END(__ret)
 	 * Jump back and execute the RET in the middle of the TEST instruction.
 	 * INT3 is for SLS protection.
 	 */
-	jmp __ret
+	jmp zen_return_thunk
 	int3
 SYM_FUNC_END(zen_untrain_ret)
 __EXPORT_THUNK(zen_untrain_ret)
@@ -191,12 +203,19 @@ __EXPORT_THUNK(zen_untrain_ret)
 SYM_START(srso_untrain_ret, SYM_L_GLOBAL, SYM_A_NONE)
 	.byte 0x48, 0xb8
 
+/*
+ * This forces the function return instruction to speculate into a trap
+ * (UD2 in srso_return_thunk() below).  This RET will then mispredict
+ * and execution will continue at the return site read from the top of
+ * the stack.
+ */
 SYM_INNER_LABEL(srso_safe_ret, SYM_L_GLOBAL)
 	add $8, %_ASM_SP
 	ret
 	int3
 	int3
 	int3
+	/* end of movabs */
 	lfence
 	call srso_safe_ret
 	ud2
@@ -204,12 +223,19 @@ SYM_CODE_END(srso_safe_ret)
 SYM_FUNC_END(srso_untrain_ret)
 __EXPORT_THUNK(srso_untrain_ret)
 
-SYM_CODE_START(__x86_return_thunk)
+SYM_CODE_START(srso_return_thunk)
 	UNWIND_HINT_FUNC
 	ANNOTATE_NOENDBR
-	ALTERNATIVE_2 "jmp __ret", "call srso_safe_ret", X86_FEATURE_SRSO, \
-			"call srso_safe_ret_alias", X86_FEATURE_SRSO_ALIAS
+	call srso_safe_ret
 	ud2
+SYM_CODE_END(srso_return_thunk)
+
+SYM_CODE_START(__x86_return_thunk)
+	UNWIND_HINT_FUNC
+	ANNOTATE_NOENDBR
+	ANNOTATE_UNRET_SAFE
+	ret
+	int3
 SYM_CODE_END(__x86_return_thunk)
 EXPORT_SYMBOL(__x86_return_thunk)
 
--- a/tools/objtool/arch/x86/decode.c
+++ b/tools/objtool/arch/x86/decode.c
@@ -655,5 +655,5 @@ bool arch_is_rethunk(struct symbol *sym)
 	return !strcmp(sym->name, "__x86_return_thunk") ||
 	       !strcmp(sym->name, "srso_untrain_ret") ||
 	       !strcmp(sym->name, "srso_safe_ret") ||
-	       !strcmp(sym->name, "__ret");
+	       !strcmp(sym->name, "zen_return_thunk");
 }



  parent reply	other threads:[~2023-08-24 17:21 UTC|newest]

Thread overview: 164+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-08-24 17:07 [PATCH 5.10 000/135] 5.10.192-rc1 review Greg Kroah-Hartman
2023-08-24 17:07 ` [PATCH 5.10 001/135] mmc: sdhci-f-sdh30: Replace with sdhci_pltfm Greg Kroah-Hartman
2023-08-24 17:07 ` [PATCH 5.10 002/135] macsec: Fix traffic counters/statistics Greg Kroah-Hartman
2023-08-24 17:07 ` [PATCH 5.10 003/135] macsec: use DEV_STATS_INC() Greg Kroah-Hartman
2023-08-24 17:07 ` [PATCH 5.10 004/135] net/mlx5: Refactor init clock function Greg Kroah-Hartman
2023-08-24 17:07 ` [PATCH 5.10 005/135] net/mlx5: Move all internal timer metadata into a dedicated struct Greg Kroah-Hartman
2023-08-24 17:07 ` [PATCH 5.10 006/135] net/mlx5: Skip clock update work when device is in error state Greg Kroah-Hartman
2023-08-24 17:07 ` [PATCH 5.10 007/135] drm/radeon: Fix integer overflow in radeon_cs_parser_init Greg Kroah-Hartman
2023-08-24 17:08 ` [PATCH 5.10 008/135] ALSA: emu10k1: roll up loops in DSP setup code for Audigy Greg Kroah-Hartman
2023-08-24 17:08 ` [PATCH 5.10 009/135] ASoC: Intel: sof_sdw: add quirk for MTL RVP Greg Kroah-Hartman
2023-08-24 17:08 ` [PATCH 5.10 010/135] ASoC: Intel: sof_sdw: add quirk for LNL RVP Greg Kroah-Hartman
2023-08-24 17:08 ` [PATCH 5.10 011/135] PCI: tegra194: Fix possible array out of bounds access Greg Kroah-Hartman
2023-08-24 17:08 ` [PATCH 5.10 012/135] ARM: dts: imx6dl: prtrvt, prtvt7, prti6q, prtwd2: fix USB related warnings Greg Kroah-Hartman
2023-08-24 17:08 ` [PATCH 5.10 013/135] ASoC: Intel: sof_sdw: Add support for Rex soundwire Greg Kroah-Hartman
2023-08-24 17:08 ` [PATCH 5.10 014/135] iopoll: Call cpu_relax() in busy loops Greg Kroah-Hartman
2023-08-24 17:08 ` [PATCH 5.10 015/135] quota: Properly disable quotas when add_dquot_ref() fails Greg Kroah-Hartman
2023-08-24 17:08 ` [PATCH 5.10 016/135] quota: fix warning in dqgrab() Greg Kroah-Hartman
2023-08-24 17:08 ` [PATCH 5.10 017/135] dma-remap: use kvmalloc_array/kvfree for larger dma memory remap Greg Kroah-Hartman
2023-08-24 17:08 ` [PATCH 5.10 018/135] drm/amdgpu: install stub fence into potential unused fence pointers Greg Kroah-Hartman
2023-08-24 17:08 ` [PATCH 5.10 019/135] HID: add quirk for 03f0:464a HP Elite Presenter Mouse Greg Kroah-Hartman
2023-08-24 17:08 ` [PATCH 5.10 020/135] RDMA/mlx5: Return the firmware result upon destroying QP/RQ Greg Kroah-Hartman
2023-08-24 17:08 ` [PATCH 5.10 021/135] ovl: check type and offset of struct vfsmount in ovl_entry Greg Kroah-Hartman
2023-08-24 17:08 ` [PATCH 5.10 022/135] udf: Fix uninitialized array access for some pathnames Greg Kroah-Hartman
2023-08-24 17:08 ` [PATCH 5.10 023/135] fs: jfs: Fix UBSAN: array-index-out-of-bounds in dbAllocDmapLev Greg Kroah-Hartman
2023-08-24 17:08 ` [PATCH 5.10 024/135] MIPS: dec: prom: Address -Warray-bounds warning Greg Kroah-Hartman
2023-08-24 17:08 ` [PATCH 5.10 025/135] FS: JFS: Fix null-ptr-deref Read in txBegin Greg Kroah-Hartman
2023-08-24 17:08 ` [PATCH 5.10 026/135] FS: JFS: Check for read-only mounted filesystem " Greg Kroah-Hartman
2023-08-24 17:08 ` [PATCH 5.10 027/135] media: v4l2-mem2mem: add lock to protect parameter num_rdy Greg Kroah-Hartman
2023-08-24 17:08 ` [PATCH 5.10 028/135] usb: gadget: u_serial: Avoid spinlock recursion in __gs_console_push Greg Kroah-Hartman
2023-08-24 17:08 ` [PATCH 5.10 029/135] media: platform: mediatek: vpu: fix NULL ptr dereference Greg Kroah-Hartman
2023-08-24 17:08 ` [PATCH 5.10 030/135] usb: chipidea: imx: dont request QoS for imx8ulp Greg Kroah-Hartman
2023-08-24 17:08 ` [PATCH 5.10 031/135] usb: chipidea: imx: add missing USB PHY DPDM wakeup setting Greg Kroah-Hartman
2023-08-24 17:08 ` [PATCH 5.10 032/135] gfs2: Fix possible data races in gfs2_show_options() Greg Kroah-Hartman
2023-08-24 17:08 ` [PATCH 5.10 033/135] pcmcia: rsrc_nonstatic: Fix memory leak in nonstatic_release_resource_db() Greg Kroah-Hartman
2023-08-24 17:08 ` [PATCH 5.10 034/135] Bluetooth: L2CAP: Fix use-after-free Greg Kroah-Hartman
2023-08-24 17:08 ` [PATCH 5.10 035/135] Bluetooth: btusb: Add MT7922 bluetooth ID for the Asus Ally Greg Kroah-Hartman
2023-08-24 17:08 ` [PATCH 5.10 036/135] drm/amdgpu: Fix potential fence use-after-free v2 Greg Kroah-Hartman
2023-08-24 17:08 ` [PATCH 5.10 037/135] ALSA: hda/realtek: Add quirks for Unis H3C Desktop B760 & Q760 Greg Kroah-Hartman
2023-08-24 17:08 ` [PATCH 5.10 038/135] ALSA: hda: fix a possible null-pointer dereference due to data race in snd_hdac_regmap_sync() Greg Kroah-Hartman
2023-08-24 17:08 ` [PATCH 5.10 039/135] powerpc/kasan: Disable KCOV in KASAN code Greg Kroah-Hartman
2023-08-24 17:08 ` [PATCH 5.10 040/135] ring-buffer: Do not swap cpu_buffer during resize process Greg Kroah-Hartman
2023-08-24 17:08 ` [PATCH 5.10 041/135] IMA: allow/fix UML builds Greg Kroah-Hartman
2023-08-24 17:08 ` [PATCH 5.10 042/135] iio: add addac subdirectory Greg Kroah-Hartman
2023-08-24 17:08 ` [PATCH 5.10 043/135] dt-bindings: iio: add AD74413R Greg Kroah-Hartman
2023-08-24 17:08 ` [PATCH 5.10 044/135] iio: adc: stx104: Utilize iomap interface Greg Kroah-Hartman
2023-08-24 17:08 ` [PATCH 5.10 045/135] iio: adc: stx104: Implement and utilize register structures Greg Kroah-Hartman
2023-08-24 17:08 ` [PATCH 5.10 046/135] iio: addac: stx104: Fix race condition for stx104_write_raw() Greg Kroah-Hartman
2023-08-24 17:08 ` [PATCH 5.10 047/135] iio: addac: stx104: Fix race condition when converting analog-to-digital Greg Kroah-Hartman
2023-08-24 17:08 ` [PATCH 5.10 048/135] bus: mhi: Add MHI PCI support for WWAN modems Greg Kroah-Hartman
2023-08-24 17:08 ` [PATCH 5.10 049/135] bus: mhi: Add MMIO region length to controller structure Greg Kroah-Hartman
2023-08-24 17:08 ` [PATCH 5.10 050/135] bus: mhi: Move host MHI code to "host" directory Greg Kroah-Hartman
2023-08-24 17:08 ` [PATCH 5.10 051/135] bus: mhi: host: Range check CHDBOFF and ERDBOFF Greg Kroah-Hartman
2023-08-24 17:08 ` [PATCH 5.10 052/135] irqchip/mips-gic: Get rid of the reliance on irq_cpu_online() Greg Kroah-Hartman
2023-08-24 17:08 ` [PATCH 5.10 053/135] irqchip/mips-gic: Use raw spinlock for gic_lock Greg Kroah-Hartman
2023-08-24 17:08 ` [PATCH 5.10 054/135] usb: cdnsp: Device side header file for CDNSP driver Greg Kroah-Hartman
2023-08-25  7:01   ` Pawel Laszczak
2023-08-25  7:12     ` Greg Kroah-Hartman
2023-08-25  7:13       ` Greg Kroah-Hartman
2023-08-24 17:08 ` [PATCH 5.10 055/135] usb: gadget: udc: core: Introduce check_config to verify USB configuration Greg Kroah-Hartman
2023-08-24 17:08 ` [PATCH 5.10 056/135] usb: cdns3: allocate TX FIFO size according to composite EP number Greg Kroah-Hartman
2023-08-24 17:08 ` [PATCH 5.10 057/135] usb: cdns3: fix NCM gadget RX speed 20x slow than expection at iMX8QM Greg Kroah-Hartman
2023-08-24 17:08 ` [PATCH 5.10 058/135] USB: dwc3: qcom: fix NULL-deref on suspend Greg Kroah-Hartman
2023-08-24 17:08 ` [PATCH 5.10 059/135] mmc: bcm2835: fix deferred probing Greg Kroah-Hartman
2023-08-24 17:08 ` [PATCH 5.10 060/135] mmc: sunxi: " Greg Kroah-Hartman
2023-08-24 17:08 ` [PATCH 5.10 061/135] mmc: core: add devm_mmc_alloc_host Greg Kroah-Hartman
2023-08-24 17:08 ` [PATCH 5.10 062/135] mmc: meson-gx: use devm_mmc_alloc_host Greg Kroah-Hartman
2023-08-24 17:08 ` [PATCH 5.10 063/135] mmc: meson-gx: fix deferred probing Greg Kroah-Hartman
2023-08-24 17:08 ` [PATCH 5.10 064/135] tracing/probes: Have process_fetch_insn() take a void * instead of pt_regs Greg Kroah-Hartman
2023-08-24 17:08 ` [PATCH 5.10 065/135] tracing/probes: Fix to update dynamic data counter if fetcharg uses it Greg Kroah-Hartman
2023-08-24 17:08 ` [PATCH 5.10 066/135] net/ncsi: change from ndo_set_mac_address to dev_set_mac_address Greg Kroah-Hartman
2023-08-25  6:24   ` Ivan Mikhaylov
2023-08-25  7:16     ` Greg Kroah-Hartman
2023-08-25  8:38       ` Ivan Mikhaylov
2023-08-26 10:14         ` Greg Kroah-Hartman
2023-08-27  6:59         ` Greg Kroah-Hartman
2023-08-24 17:08 ` [PATCH 5.10 067/135] virtio-mmio: Use to_virtio_mmio_device() to simply code Greg Kroah-Hartman
2023-08-24 17:09 ` [PATCH 5.10 068/135] virtio-mmio: dont break lifecycle of vm_dev Greg Kroah-Hartman
2023-08-24 17:09 ` [PATCH 5.10 069/135] i2c: bcm-iproc: Fix bcm_iproc_i2c_isr deadlock issue Greg Kroah-Hartman
2023-08-24 17:09 ` [PATCH 5.10 070/135] fbdev: mmp: fix value check in mmphw_probe() Greg Kroah-Hartman
2023-08-24 17:09 ` [PATCH 5.10 071/135] powerpc/rtas_flash: allow user copy to flash block cache objects Greg Kroah-Hartman
2023-08-24 17:09 ` [PATCH 5.10 072/135] tty: n_gsm: fix the UAF caused by race condition in gsm_cleanup_mux Greg Kroah-Hartman
2023-08-24 17:09 ` [PATCH 5.10 073/135] tty: serial: fsl_lpuart: Clear the error flags by writing 1 for lpuart32 platforms Greg Kroah-Hartman
2023-08-24 17:09 ` [PATCH 5.10 074/135] btrfs: fix BUG_ON condition in btrfs_cancel_balance Greg Kroah-Hartman
2023-08-24 17:09 ` [PATCH 5.10 075/135] i2c: designware: Handle invalid SMBus block data response length value Greg Kroah-Hartman
2023-08-24 17:09 ` [PATCH 5.10 076/135] net: xfrm: Fix xfrm_address_filter OOB read Greg Kroah-Hartman
2023-08-24 17:09 ` [PATCH 5.10 077/135] net: af_key: fix sadb_x_filter validation Greg Kroah-Hartman
2023-08-24 17:09 ` [PATCH 5.10 078/135] net: xfrm: Amend XFRMA_SEC_CTX nla_policy structure Greg Kroah-Hartman
2023-08-24 17:09 ` [PATCH 5.10 079/135] xfrm: fix slab-use-after-free in decode_session6 Greg Kroah-Hartman
2023-08-24 17:09 ` [PATCH 5.10 080/135] ip6_vti: " Greg Kroah-Hartman
2023-08-24 17:09 ` [PATCH 5.10 081/135] ip_vti: fix potential " Greg Kroah-Hartman
2023-08-24 17:09 ` [PATCH 5.10 082/135] xfrm: add NULL check in xfrm_update_ae_params Greg Kroah-Hartman
2023-08-24 17:09 ` [PATCH 5.10 083/135] xfrm: add forgotten nla_policy for XFRMA_MTIMER_THRESH Greg Kroah-Hartman
2023-08-24 17:09 ` [PATCH 5.10 084/135] selftests: mirror_gre_changes: Tighten up the TTL test match Greg Kroah-Hartman
2023-08-24 17:09 ` [PATCH 5.10 085/135] drm/panel: simple: Fix AUO G121EAN01 panel timings according to the docs Greg Kroah-Hartman
2023-08-24 17:09 ` [PATCH 5.10 086/135] ipvs: fix racy memcpy in proc_do_sync_threshold Greg Kroah-Hartman
2023-08-24 17:09 ` [PATCH 5.10 087/135] netfilter: nft_dynset: disallow object maps Greg Kroah-Hartman
2023-08-24 17:09 ` [PATCH 5.10 088/135] net: phy: broadcom: stub c45 read/write for 54810 Greg Kroah-Hartman
2023-08-24 17:09 ` [PATCH 5.10 089/135] team: Fix incorrect deletion of ETH_P_8021AD protocol vid from slaves Greg Kroah-Hartman
2023-08-24 17:09 ` [PATCH 5.10 090/135] i40e: fix misleading debug logs Greg Kroah-Hartman
2023-08-24 17:09 ` [PATCH 5.10 091/135] net: dsa: mv88e6xxx: Wait for EEPROM done before HW reset Greg Kroah-Hartman
2023-08-24 17:09 ` [PATCH 5.10 092/135] sock: Fix misuse of sk_under_memory_pressure() Greg Kroah-Hartman
2023-08-24 17:09 ` [PATCH 5.10 093/135] net: do not allow gso_size to be set to GSO_BY_FRAGS Greg Kroah-Hartman
2023-08-24 17:09 ` [PATCH 5.10 094/135] bus: ti-sysc: Flush posted write on enable before reset Greg Kroah-Hartman
2023-08-24 17:09 ` [PATCH 5.10 095/135] arm64: dts: rockchip: fix supplies on rk3399-rock-pi-4 Greg Kroah-Hartman
2023-08-24 17:09 ` [PATCH 5.10 096/135] arm64: dts: rockchip: use USB host by default " Greg Kroah-Hartman
2023-08-24 17:09 ` [PATCH 5.10 097/135] arm64: dts: rockchip: add ES8316 codec for ROCK Pi 4 Greg Kroah-Hartman
2023-08-24 17:09 ` [PATCH 5.10 098/135] arm64: dts: rockchip: add SPDIF node " Greg Kroah-Hartman
2023-08-24 17:09 ` [PATCH 5.10 099/135] arm64: dts: rockchip: fix regulator name on rk3399-rock-4 Greg Kroah-Hartman
2023-08-24 17:09 ` [PATCH 5.10 100/135] arm64: dts: rockchip: sort nodes/properties " Greg Kroah-Hartman
2023-08-24 17:09 ` [PATCH 5.10 101/135] arm64: dts: rockchip: Disable HS400 for eMMC on ROCK Pi 4 Greg Kroah-Hartman
2023-08-24 17:09 ` [PATCH 5.10 102/135] ASoC: rt5665: add missed regulator_bulk_disable Greg Kroah-Hartman
2023-08-24 17:09 ` [PATCH 5.10 103/135] ASoC: meson: axg-tdm-formatter: fix channel slot allocation Greg Kroah-Hartman
2023-08-24 17:09 ` [PATCH 5.10 104/135] ALSA: hda/realtek - Remodified 3k pull low procedure Greg Kroah-Hartman
2023-08-24 17:09 ` [PATCH 5.10 105/135] riscv: __asm_copy_to-from_user: Optimize unaligned memory access and pipeline stall Greg Kroah-Hartman
2023-08-24 17:09 ` [PATCH 5.10 106/135] riscv: lib: uaccess: fold fixups into body Greg Kroah-Hartman
2023-08-24 17:09 ` [PATCH 5.10 107/135] riscv: lib: uaccess: fix CSR_STATUS SR_SUM bit Greg Kroah-Hartman
2023-08-24 17:09 ` [PATCH 5.10 108/135] riscv: uaccess: Return the number of bytes effectively not copied Greg Kroah-Hartman
2023-08-24 17:09 ` [PATCH 5.10 109/135] serial: 8250: Fix oops for port->pm on uart_change_pm() Greg Kroah-Hartman
2023-08-24 17:09 ` [PATCH 5.10 110/135] ALSA: usb-audio: Add support for Mythware XA001AU capture and playback interfaces Greg Kroah-Hartman
2023-08-24 17:09 ` [PATCH 5.10 111/135] cifs: Release folio lock on fscache read hit Greg Kroah-Hartman
2023-08-24 17:09 ` [PATCH 5.10 112/135] mmc: wbsd: fix double mmc_free_host() in wbsd_init() Greg Kroah-Hartman
2023-08-24 17:09 ` [PATCH 5.10 113/135] mmc: block: Fix in_flight[issue_type] value error Greg Kroah-Hartman
2023-08-24 17:09 ` [PATCH 5.10 114/135] netfilter: set default timeout to 3 secs for sctp shutdown send and recv state Greg Kroah-Hartman
2023-08-24 17:09 ` [PATCH 5.10 115/135] af_unix: Fix null-ptr-deref in unix_stream_sendpage() Greg Kroah-Hartman
2023-08-24 17:09 ` [PATCH 5.10 116/135] virtio-net: set queues after driver_ok Greg Kroah-Hartman
2023-08-24 17:09 ` [PATCH 5.10 117/135] net: fix the RTO timer retransmitting skb every 1ms if linear option is enabled Greg Kroah-Hartman
2023-08-24 17:09 ` [PATCH 5.10 118/135] mmc: f-sdh30: fix order of function calls in sdhci_f_sdh30_remove Greg Kroah-Hartman
2023-08-24 17:09 ` [PATCH 5.10 119/135] x86/cpu: Fix __x86_return_thunk symbol type Greg Kroah-Hartman
2023-08-24 17:09 ` [PATCH 5.10 120/135] x86/cpu: Fix up srso_safe_ret() and __x86_return_thunk() Greg Kroah-Hartman
2023-08-24 17:09 ` [PATCH 5.10 121/135] x86/alternative: Make custom return thunk unconditional Greg Kroah-Hartman
2023-08-24 17:09 ` [PATCH 5.10 122/135] objtool: Add frame-pointer-specific function ignore Greg Kroah-Hartman
2023-08-24 17:09 ` [PATCH 5.10 123/135] x86/ibt: Add ANNOTATE_NOENDBR Greg Kroah-Hartman
2023-08-24 17:09 ` Greg Kroah-Hartman [this message]
2023-08-24 17:09 ` [PATCH 5.10 125/135] x86/cpu: Rename original retbleed methods Greg Kroah-Hartman
2023-08-24 17:09 ` [PATCH 5.10 126/135] x86/cpu: Rename srso_(.*)_alias to srso_alias_\1 Greg Kroah-Hartman
2023-08-24 17:09 ` [PATCH 5.10 127/135] x86/cpu: Cleanup the untrain mess Greg Kroah-Hartman
2023-08-24 17:10 ` [PATCH 5.10 128/135] x86/srso: Explain the untraining sequences a bit more Greg Kroah-Hartman
2023-08-24 17:10 ` [PATCH 5.10 129/135] x86/static_call: Fix __static_call_fixup() Greg Kroah-Hartman
2023-08-24 17:10 ` [PATCH 5.10 130/135] x86/retpoline: Dont clobber RFLAGS during srso_safe_ret() Greg Kroah-Hartman
2023-08-24 17:10 ` [PATCH 5.10 131/135] x86/CPU/AMD: Fix the DIV(0) initial fix attempt Greg Kroah-Hartman
2023-08-24 17:10 ` [PATCH 5.10 132/135] x86/srso: Disable the mitigation on unaffected configurations Greg Kroah-Hartman
2023-08-24 17:10 ` [PATCH 5.10 133/135] x86/retpoline,kprobes: Fix position of thunk sections with CONFIG_LTO_CLANG Greg Kroah-Hartman
2023-08-24 17:10 ` [PATCH 5.10 134/135] objtool/x86: Fixup frame-pointer vs rethunk Greg Kroah-Hartman
2023-10-24 17:47   ` John Sperbeck
2023-10-24 18:12   ` Greg KH
2023-10-25  5:16     ` John Sperbeck
2023-10-25  6:02       ` Greg KH
2023-08-24 17:10 ` [PATCH 5.10 135/135] x86/srso: Correct the mitigation status when SMT is disabled Greg Kroah-Hartman
2023-08-24 18:57 ` [PATCH 5.10 000/135] 5.10.192-rc1 review Florian Fainelli
2023-08-25  2:38 ` Joel Fernandes
2023-08-25  9:01 ` Naresh Kamboju
2023-08-25  9:06 ` Sudip Mukherjee (Codethink)
2023-08-25 10:14 ` Jon Hunter
2023-08-25 12:19 ` Naresh Kamboju
2023-08-25 14:24 ` Guenter Roeck
2023-08-26 10:08   ` Greg Kroah-Hartman
2023-08-26 10:38     ` Conor Dooley
2023-08-26 11:22       ` Greg Kroah-Hartman
2023-08-25 15:37 ` Guenter Roeck
2023-08-25 18:16 ` Shuah Khan
2023-08-26  6:30 ` luomeng
2023-08-30 16:44 ` Guenter Roeck
2023-08-31 10:29   ` Greg Kroah-Hartman
  -- strict thread matches above, loose matches on Subject: below --
2023-08-24 14:49 [PATCH 5.10 000/135] 5.10.191-rc1 review Greg Kroah-Hartman
2023-08-24 14:51 ` [PATCH 5.10 124/135] x86/cpu: Clean up SRSO return thunk mess 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=20230824170622.652078885@linuxfoundation.org \
    --to=gregkh@linuxfoundation.org \
    --cc=bp@alien8.de \
    --cc=patches@lists.linux.dev \
    --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).