From: Greg Kroah-Hartman Date: Sun, 2 Nov 2025 14:19:17 +0000 (+0900) Subject: drop queue-6.12/x86-cpu-amd-add-rdseed-fix-for-zen5.patch X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=d3d7d7308bec5e3d3eef9b7f38078fd8b2699139;p=thirdparty%2Fkernel%2Fstable-queue.git drop queue-6.12/x86-cpu-amd-add-rdseed-fix-for-zen5.patch broke the build --- diff --git a/queue-6.12/series b/queue-6.12/series index 6b2a012e22..90a68d02d9 100644 --- a/queue-6.12/series +++ b/queue-6.12/series @@ -15,5 +15,4 @@ mptcp-restore-window-probe.patch asoc-qdsp6-q6asm-do-not-sleep-while-atomic.patch s390-pci-restore-irq-unconditionally-for-the-zpci-device.patch smb-client-fix-potential-cfid-uaf-in-smb2_query_info_compound.patch -x86-cpu-amd-add-rdseed-fix-for-zen5.patch x86-fpu-ensure-xfd-state-on-signal-delivery.patch diff --git a/queue-6.12/x86-cpu-amd-add-rdseed-fix-for-zen5.patch b/queue-6.12/x86-cpu-amd-add-rdseed-fix-for-zen5.patch deleted file mode 100644 index 20ae56b1da..0000000000 --- a/queue-6.12/x86-cpu-amd-add-rdseed-fix-for-zen5.patch +++ /dev/null @@ -1,48 +0,0 @@ -From 607b9fb2ce248cc5b633c5949e0153838992c152 Mon Sep 17 00:00:00 2001 -From: Gregory Price -Date: Mon, 20 Oct 2025 11:13:55 +0200 -Subject: x86/CPU/AMD: Add RDSEED fix for Zen5 - -From: Gregory Price - -commit 607b9fb2ce248cc5b633c5949e0153838992c152 upstream. - -There's an issue with RDSEED's 16-bit and 32-bit register output -variants on Zen5 which return a random value of 0 "at a rate inconsistent -with randomness while incorrectly signaling success (CF=1)". Search the -web for AMD-SB-7055 for more detail. - -Add a fix glue which checks microcode revisions. - - [ bp: Add microcode revisions checking, rewrite. ] - -Cc: stable@vger.kernel.org -Signed-off-by: Gregory Price -Signed-off-by: Borislav Petkov (AMD) -Link: https://lore.kernel.org/r/20251018024010.4112396-1-gourry@gourry.net -Signed-off-by: Greg Kroah-Hartman ---- - arch/x86/kernel/cpu/amd.c | 10 ++++++++++ - 1 file changed, 10 insertions(+) - ---- a/arch/x86/kernel/cpu/amd.c -+++ b/arch/x86/kernel/cpu/amd.c -@@ -1018,8 +1018,18 @@ static void init_amd_zen4(struct cpuinfo - } - } - -+static const struct x86_cpu_id zen5_rdseed_microcode[] = { -+ ZEN_MODEL_STEP_UCODE(0x1a, 0x02, 0x1, 0x0b00215a), -+ ZEN_MODEL_STEP_UCODE(0x1a, 0x11, 0x0, 0x0b101054), -+}; -+ - static void init_amd_zen5(struct cpuinfo_x86 *c) - { -+ if (!x86_match_min_microcode_rev(zen5_rdseed_microcode)) { -+ clear_cpu_cap(c, X86_FEATURE_RDSEED); -+ msr_clear_bit(MSR_AMD64_CPUID_FN_7, 18); -+ pr_emerg_once("RDSEED32 is broken. Disabling the corresponding CPUID bit.\n"); -+ } - } - - static void init_amd(struct cpuinfo_x86 *c)