x86/microcode/AMD: Add support for fam17h microcode loading
authorTom Lendacky <[email protected]>
Thu, 30 Nov 2017 22:46:40 +0000 (16:46 -0600)
committerIngo Molnar <[email protected]>
Wed, 6 Dec 2017 11:27:24 +0000 (12:27 +0100)
commitf4e9b7af0cd58dd039a0fb2cd67d57cea4889abf
treec3ed3004b5c39c984fbef97fc9ac1ee0a0a481d4
parente3811a3f74bd1ad773667b78323f396166891f3a
x86/microcode/AMD: Add support for fam17h microcode loading

The size for the Microcode Patch Block (MPB) for an AMD family 17h
processor is 3200 bytes.  Add a #define for fam17h so that it does
not default to 2048 bytes and fail a microcode load/update.

Signed-off-by: Tom Lendacky <[email protected]>
Signed-off-by: Thomas Gleixner <[email protected]>
Reviewed-by: Borislav Petkov <[email protected]>
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Ingo Molnar <[email protected]>
arch/x86/kernel/cpu/microcode/amd.c