From: Greg Kroah-Hartman Date: Mon, 20 Apr 2020 11:25:57 +0000 (+0200) Subject: 5.6-stable patches X-Git-Tag: v4.19.117~1 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=44edd218f94a296a729ffb31f900ca0983de1e47;p=thirdparty%2Fkernel%2Fstable-queue.git 5.6-stable patches added patches: x86-microcode-amd-increase-microcode-patch_max_size.patch --- diff --git a/queue-5.6/series b/queue-5.6/series index e44906f15df..4039058bc12 100644 --- a/queue-5.6/series +++ b/queue-5.6/series @@ -67,4 +67,5 @@ irqchip-ti-sci-inta-fix-processing-of-masked-irqs.patch proc-time-namespace-show-clock-symbolic-names-in-proc-pid-timens_offsets.patch x86-resctrl-preserve-cdp-enable-over-cpu-hotplug.patch x86-resctrl-fix-invalid-attempt-at-removing-the-default-resource-group.patch +x86-microcode-amd-increase-microcode-patch_max_size.patch scsi-target-iscsi-calling-iscsit_stop_session-inside.patch diff --git a/queue-5.6/x86-microcode-amd-increase-microcode-patch_max_size.patch b/queue-5.6/x86-microcode-amd-increase-microcode-patch_max_size.patch new file mode 100644 index 00000000000..69248ef066a --- /dev/null +++ b/queue-5.6/x86-microcode-amd-increase-microcode-patch_max_size.patch @@ -0,0 +1,33 @@ +From bdf89df3c54518eed879d8fac7577fcfb220c67e Mon Sep 17 00:00:00 2001 +From: John Allen +Date: Thu, 9 Apr 2020 10:34:29 -0500 +Subject: x86/microcode/AMD: Increase microcode PATCH_MAX_SIZE + +From: John Allen + +commit bdf89df3c54518eed879d8fac7577fcfb220c67e upstream. + +Future AMD CPUs will have microcode patches that exceed the default 4K +patch size. Raise our limit. + +Signed-off-by: John Allen +Signed-off-by: Borislav Petkov +Cc: stable@vger.kernel.org # v4.14.. +Link: https://lkml.kernel.org/r/20200409152931.GA685273@mojo.amd.com +Signed-off-by: Greg Kroah-Hartman + +--- + arch/x86/include/asm/microcode_amd.h | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +--- a/arch/x86/include/asm/microcode_amd.h ++++ b/arch/x86/include/asm/microcode_amd.h +@@ -41,7 +41,7 @@ struct microcode_amd { + unsigned int mpb[0]; + }; + +-#define PATCH_MAX_SIZE PAGE_SIZE ++#define PATCH_MAX_SIZE (3 * PAGE_SIZE) + + #ifdef CONFIG_MICROCODE_AMD + extern void __init load_ucode_amd_bsp(unsigned int family);