From: Andrew Cooper Date: Fri, 19 Mar 2021 14:33:15 +0000 (+0100) Subject: x86/ucode/amd: Fix microcode payload size for Fam19 processors X-Git-Tag: archive/raspbian/4.14.2+25-gb6a8c4f72d-2+rpi1^2~47^2~42 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=93fbbb3b10daf58d2aa8e7c21bc31e0c4de59a61;p=xen.git x86/ucode/amd: Fix microcode payload size for Fam19 processors 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 Acked-by: Jan Beulich master commit: 90b014a6e6ecad036ec5846426afd19b305dedff master date: 2021-02-10 13:23:51 +0000 --- diff --git a/xen/arch/x86/cpu/microcode/amd.c b/xen/arch/x86/cpu/microcode/amd.c index 5b45530d93..5eb93195c3 100644 --- a/xen/arch/x86/cpu/microcode/amd.c +++ b/xen/arch/x86/cpu/microcode/amd.c @@ -111,7 +111,7 @@ static bool_t 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) {