From nobody Sun Feb 8 15:37:45 2026 Received: from sender4-op-o15.zoho.com (sender4-op-o15.zoho.com [136.143.188.15]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 42AF4757EA for ; Mon, 29 Dec 2025 18:23:29 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=pass smtp.client-ip=136.143.188.15 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1767032610; cv=pass; b=OQSei+vzurxCnEA1TaNLTAKGCgGUr3JCsnBI4oqO4Fku0Qif+4s+Ps15OPvz726QLH+9EvPM9A94qePxERJmIICHp94s2Gnl9JTWYpCPIq2xEQQ1mIRSJtu63Iuzflm7IjE190yQiGy2bzva9v6X/eC7UMZUM1vLXlVurYBa3LU= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1767032610; c=relaxed/simple; bh=kJkFA/x84AUIGzf7IwKGxVL5Rnqb38caKAwfIX0jkos=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=DpLRHYz+BvmxVEPw4GsNahBpDKbe1xRrmF8iFUDxZ7xpLpEC5AIMkl5pLujd6LuRIXyoKweOIL/SkPOZQHJXEQtxXDc+COl2HxpqlFf3ULM28OaCKM+WY7jL1278hOriBjgQFQUgCoRuhFwcaECrlt/9h5kdn4a/uIzks1kZqto= ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=rong.moe; spf=pass smtp.mailfrom=rong.moe; dkim=pass (1024-bit key) header.d=rong.moe header.i=i@rong.moe header.b=sZAi+WXN; arc=pass smtp.client-ip=136.143.188.15 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=rong.moe Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=rong.moe Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=rong.moe header.i=i@rong.moe header.b="sZAi+WXN" ARC-Seal: i=1; a=rsa-sha256; t=1767032574; cv=none; d=zohomail.com; s=zohoarc; b=M0IY67tZ9d6hqmt/9NR2AOqWY+x8U5ZomhYt9TWRzVsZdk9SNPavNXS8CyZN7BxWU1iZBxrptVdV3jAfRoEkdZH1lkAsTVd/nbfeDjruIkDO/Zg8LAw83ZUk9A5+Qtj2Pev9CG+Cfcq0vlrdXiuPEB/zlyQnB0e+pSP+PFj5mr0= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1767032574; h=Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:MIME-Version:Message-ID:Subject:Subject:To:To:Message-Id:Reply-To; bh=CmUT4oNk0EBff5qwqMww6SFDEKN0WhB5i31B38HiUX4=; b=UFuHjnegLeYJvuQX5Z/XW9vcf/Q/ruSiCKnHxKkS8V3yMFXSBzo3gwNyoEmlLsRugPiL3seE4ZQIoMK3siv8S3LaO66hWjX8EN/M+jGpIFtuPwmpnKoG45bKsmR9xuLNpvEo7wL3lJ86QEcMwvbYUpzu2kxsxK4PwSdYiw2/2KU= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass header.i=rong.moe; spf=pass smtp.mailfrom=i@rong.moe; dmarc=pass header.from= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1767032574; s=zmail; d=rong.moe; i=i@rong.moe; h=From:From:To:To:Cc:Cc:Subject:Subject:Date:Date:Message-ID:MIME-Version:Content-Transfer-Encoding:Message-Id:Reply-To; bh=CmUT4oNk0EBff5qwqMww6SFDEKN0WhB5i31B38HiUX4=; b=sZAi+WXNNLZE4bLlIlNEQBulf0azravGnNg9IjjHEGP9ZyTxaBWVEhK/Tu4JWLXY 7i2EIYT8pKDFeDDEq7L2TUHts+r1COIkZKiarVyEsyEnFB31+zlOqUUkuAEHanFfA6D yPf5882tlXCrSlaK0gmBpijRsjL2ga+ZbJiZ4K10= Received: by mx.zohomail.com with SMTPS id 1767032570723178.35132704065575; Mon, 29 Dec 2025 10:22:50 -0800 (PST) From: Rong Zhang To: Borislav Petkov , Thomas Gleixner , Ingo Molnar , Dave Hansen , x86@kernel.org, "H. Peter Anvin" Cc: Rong Zhang , Mario Limonciello , linux-kernel@vger.kernel.org, stable@kernel.org Subject: [PATCH] x86/microcode/AMD: Fix Entrysign revision check for Zen5/Strix Halo Date: Tue, 30 Dec 2025 02:22:21 +0800 Message-ID: <20251229182245.152747-1-i@rong.moe> X-Mailer: git-send-email 2.51.0 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-ZohoMailClient: External Content-Type: text/plain; charset="utf-8" Zen5 also contains Family 1Ah Models 70h-7Fh, which are mistakenly missing from cpu_has_entrysign(). Fix it by merging the missing range into the current one. Fixes: 8a9fb5129e8e ("x86/microcode/AMD: Limit Entrysign signature checking= to known generations") Cc: stable@kernel.org Signed-off-by: Rong Zhang --- arch/x86/kernel/cpu/microcode/amd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/x86/kernel/cpu/microcode/amd.c b/arch/x86/kernel/cpu/micr= ocode/amd.c index 3821a985f4ff..46673530bc6f 100644 --- a/arch/x86/kernel/cpu/microcode/amd.c +++ b/arch/x86/kernel/cpu/microcode/amd.c @@ -258,7 +258,7 @@ static bool cpu_has_entrysign(void) if (fam =3D=3D 0x1a) { if (model <=3D 0x2f || (0x40 <=3D model && model <=3D 0x4f) || - (0x60 <=3D model && model <=3D 0x6f)) + (0x60 <=3D model && model <=3D 0x7f)) return true; } =20 base-commit: 538254cd98afb31b09c4cc58219217d8127c79be --=20 2.51.0