linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] x86/microcode/AMD: Support Ryzen (family 17h)
@ 2017-06-11 16:28 Guenter Roeck
  0 siblings, 0 replies; only message in thread
From: Guenter Roeck @ 2017-06-11 16:28 UTC (permalink / raw)
  To: Borislav Petkov; +Cc: x86, linux-kernel, Guenter Roeck

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@roeck-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

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2017-06-11 16:28 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-06-11 16:28 [PATCH] x86/microcode/AMD: Support Ryzen (family 17h) Guenter Roeck

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).