]> xenbits.xensource.com Git - xen.git/commitdiff
x86/ucode/amd: Fix microcode payload size for Fam19 processors
authorAndrew Cooper <andrew.cooper3@citrix.com>
Tue, 9 Feb 2021 15:28:57 +0000 (15:28 +0000)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Wed, 10 Feb 2021 13:23:51 +0000 (13:23 +0000)
The original limit provided wasn't accurate.  Blobs are in fact rather larger.

Fixes: fe36a173d1 ("x86/amd: Initial support for Fam19h processors")
Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
Acked-by: Jan Beulich <jbeulich@suse.com>
Release-Acked-by: Ian Jackson <iwj@xenproject.org>
xen/arch/x86/cpu/microcode/amd.c

index 500b2ce94127886b85f1832de456c9fd0734903f..809ba4967c7065a42fa4e8b25c347cf6da982c6e 100644 (file)
@@ -111,7 +111,7 @@ static bool verify_patch_size(uint32_t patch_size)
 #define F15H_MPB_MAX_SIZE 4096
 #define F16H_MPB_MAX_SIZE 3458
 #define F17H_MPB_MAX_SIZE 3200
-#define F19H_MPB_MAX_SIZE 4800
+#define F19H_MPB_MAX_SIZE 5568
 
     switch ( boot_cpu_data.x86 )
     {