raid6-add-missing-vzeroupper-to-avx2-code.patch removed from -mm tree
The quilt patch titled
Subject: raid6: add missing vzeroupper to AVX2 code
has been removed from the -mm tree. Its filename was
raid6-add-missing-vzeroupper-to-avx2-code.patch
This patch was dropped because it was merged into the mm-nonmm-stable branch of git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm
------------------------------------------------------
From: Eric Biggers <[email protected]>
Subject: raid6: add missing vzeroupper to AVX2 code
Date: Mon, 31 Aug 2026 14:23:08 -0700
Since the AVX2 optimized RAID6 code uses YMM registers, execute vzeroupper before returning from it. This is needed to avoid degrading the performance of any later SSE code that may happen to be executed.
---
lib/raid/raid6/x86/avx2.c | 6 ++++++ lib/raid/raid6/x86/recov_avx2.c | 2 ++ 2 files changed, 8 insertions(+)
lib/raid/raid6/x86/avx2.c renamed from lib/raid/raid6/x86/avx2.c~raid6-add-missing-vzeroupper-to-avx2-code +6 -0
@@ -67,6 +67,7 @@ static void raid6_avx21_gen_syndrome(int } asmvolatile ("sfence" : : :"memory" ); + asmvolatile ("vzeroupper" );kernel_fpu_end (); }
@@ -115,6 +116,7 @@ static void raid6_avx21_xor_syndrome(int } asmvolatile ("sfence" : : :"memory" ); + asmvolatile ("vzeroupper" );kernel_fpu_end (); }
@@ -175,6 +177,7 @@ static void raid6_avx22_gen_syndrome(int } asmvolatile ("sfence" : : :"memory" ); + asmvolatile ("vzeroupper" );kernel_fpu_end (); }
@@ -243,6 +246,7 @@ static void raid6_avx22_xor_syndrome(int } asmvolatile ("sfence" : : :"memory" ); + asmvolatile ("vzeroupper" );kernel_fpu_end (); }
@@ -334,6 +338,7 @@ static void raid6_avx24_gen_syndrome(int } asmvolatile ("sfence" : : :"memory" ); + asmvolatile ("vzeroupper" );kernel_fpu_end (); }
@@ -444,6 +449,7 @@ static void raid6_avx24_xor_syndrome(int asmvolatile ("vmovntdq %%ymm14,%0" :"=m" (q[d+96 ])); } asmvolatile ("sfence" : : :"memory" ); + asmvolatile ("vzeroupper" );kernel_fpu_end (); }
lib/raid/raid6/x86/recov_avx2.c renamed from lib/raid/raid6/x86/recov_avx2.c~raid6-add-missing-vzeroupper-to-avx2-code +2 -0
@@ -176,6 +176,7 @@ static void raid6_2data_recov_avx2(int d#endif } + asmvolatile ("vzeroupper" );kernel_fpu_end (); }
@@ -293,6 +294,7 @@ static void raid6_datap_recov_avx2(int d#endif } + asmvolatile ("vzeroupper" );kernel_fpu_end (); }
_
Patches currently in -mm which might be from [email protected] are