x86/microcode/AMD: Support Ryzen (family 17h)
diff mbox series

Message ID 1497198522-16450-1-git-send-email-linux@roeck-us.net
State New, archived
Headers show
  • x86/microcode/AMD: Support Ryzen (family 17h)
Related show

Commit Message

Guenter Roeck June 11, 2017, 4:28 p.m. UTC
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 mbox series

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;
 	case 0x16:
+	case 0x17:
 		max_size = F16H_MPB_MAX_SIZE;