projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b296695
)
x86/microcode/AMD: Increase microcode PATCH_MAX_SIZE
author
John Allen
<john.allen@amd.com>
Thu, 9 Apr 2020 15:34:29 +0000
(10:34 -0500)
committer
Borislav Petkov
<bp@suse.de>
Tue, 14 Apr 2020 15:34:46 +0000
(17:34 +0200)
Future AMD CPUs will have microcode patches that exceed the default 4K
patch size. Raise our limit.
Signed-off-by: John Allen <john.allen@amd.com>
Signed-off-by: Borislav Petkov <bp@suse.de>
Cc: stable@vger.kernel.org # v4.14..
Link:
https://lkml.kernel.org/r/20200409152931.GA685273@mojo.amd.com
arch/x86/include/asm/microcode_amd.h
patch
|
blob
|
history
diff --git
a/arch/x86/include/asm/microcode_amd.h
b/arch/x86/include/asm/microcode_amd.h
index 6685e1218959d21b2c93ceb56992ef291e427ac0..7063b5a43220a96a363f97e3567fabd0fbc8be70 100644
(file)
--- 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);