Gentoo Archives: gentoo-commits

From: Alice Ferrazzi <alicef@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/linux-patches:4.9 commit in: /
Date: Wed, 10 Jan 2018 12:21:07
Message-Id: 1515586857.7c417e1655f4bbd00ec91330cea930757ca2395e.alicef@gentoo
1 commit: 7c417e1655f4bbd00ec91330cea930757ca2395e
2 Author: Alice Ferrazzi <alicef <AT> gentoo <DOT> org>
3 AuthorDate: Wed Jan 10 12:20:57 2018 +0000
4 Commit: Alice Ferrazzi <alicef <AT> gentoo <DOT> org>
5 CommitDate: Wed Jan 10 12:20:57 2018 +0000
6 URL: https://gitweb.gentoo.org/proj/linux-patches.git/commit/?id=7c417e16
7
8 remove redundant patch amd support for fam17h microcode
9
10 ..._amd-support-for-fam17h-microcode-loading.patch | 43 ----------------------
11 1 file changed, 43 deletions(-)
12
13 diff --git a/1701_amd-support-for-fam17h-microcode-loading.patch b/1701_amd-support-for-fam17h-microcode-loading.patch
14 deleted file mode 100644
15 index f8a8f81..0000000
16 --- a/1701_amd-support-for-fam17h-microcode-loading.patch
17 +++ /dev/null
18 @@ -1,43 +0,0 @@
19 -From f4e9b7af0cd58dd039a0fb2cd67d57cea4889abf Mon Sep 17 00:00:00 2001
20 -From: Tom Lendacky <thomas.lendacky@×××.com>
21 -Date: Thu, 30 Nov 2017 16:46:40 -0600
22 -Subject: x86/microcode/AMD: Add support for fam17h microcode loading
23 -
24 -The size for the Microcode Patch Block (MPB) for an AMD family 17h
25 -processor is 3200 bytes. Add a #define for fam17h so that it does
26 -not default to 2048 bytes and fail a microcode load/update.
27 -
28 -Signed-off-by: Tom Lendacky <thomas.lendacky@×××.com>
29 -Signed-off-by: Thomas Gleixner <tglx@××××××××××.de>
30 -Reviewed-by: Borislav Petkov <bp@××××××.de>
31 -Link: https://lkml.kernel.org/r/20171130224640.15391.40247.stgit@×××××××××××××××××××××.net
32 -Signed-off-by: Ingo Molnar <mingo@××××××.org>
33 ----
34 - arch/x86/kernel/cpu/microcode/amd.c | 4 ++++
35 - 1 file changed, 4 insertions(+)
36 -
37 -diff --git a/arch/x86/kernel/cpu/microcode/amd.c b/arch/x86/kernel/cpu/microcode/amd.c
38 -index c6daec4..330b846 100644
39 ---- a/arch/x86/kernel/cpu/microcode/amd.c
40 -+++ b/arch/x86/kernel/cpu/microcode/amd.c
41 -@@ -470,6 +470,7 @@ static unsigned int verify_patch_size(u8 family, u32 patch_size,
42 - #define F14H_MPB_MAX_SIZE 1824
43 - #define F15H_MPB_MAX_SIZE 4096
44 - #define F16H_MPB_MAX_SIZE 3458
45 -+#define F17H_MPB_MAX_SIZE 3200
46 -
47 - switch (family) {
48 - case 0x14:
49 -@@ -481,6 +482,9 @@ static unsigned int verify_patch_size(u8 family, u32 patch_size,
50 - case 0x16:
51 - max_size = F16H_MPB_MAX_SIZE;
52 - break;
53 -+ case 0x17:
54 -+ max_size = F17H_MPB_MAX_SIZE;
55 -+ break;
56 - default:
57 - max_size = F1XH_MPB_MAX_SIZE;
58 - break;
59 ---
60 -cgit v1.1
61 -