lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Date:   Sun, 11 Jun 2017 09:28:42 -0700
From:   Guenter Roeck <linux@...ck-us.net>
To:     Borislav Petkov <bp@...en8.de>
Cc:     x86@...nel.org, linux-kernel@...r.kernel.org,
        Guenter Roeck <linux@...ck-us.net>
Subject: [PATCH] x86/microcode/AMD: Support Ryzen (family 17h)

Assume the maximum firmware size is the same as with family 16h.
Observed size is 3328 bytes for all currrently published microcode
versions for family 17h, which is below the maximum size for
family 16h (3458 bytes).

Signed-off-by: Guenter Roeck <linux@...ck-us.net>
---
 arch/x86/kernel/cpu/microcode/amd.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/x86/kernel/cpu/microcode/amd.c b/arch/x86/kernel/cpu/microcode/amd.c
index e9f4d762aa5b..53f78ea280d3 100644
--- a/arch/x86/kernel/cpu/microcode/amd.c
+++ b/arch/x86/kernel/cpu/microcode/amd.c
@@ -476,6 +476,7 @@ static unsigned int verify_patch_size(u8 family, u32 patch_size,
 		max_size = F15H_MPB_MAX_SIZE;
 		break;
 	case 0x16:
+	case 0x17:
 		max_size = F16H_MPB_MAX_SIZE;
 		break;
 	default:
-- 
2.7.4

Powered by blists - more mailing lists