]> git.baikalelectronics.ru Git - kernel.git/commit
x86/microcode/AMD: Clean up per-family patch size checks
authorBorislav Petkov <bp@suse.de>
Sat, 28 Jul 2018 17:04:02 +0000 (19:04 +0200)
committerBorislav Petkov <bp@suse.de>
Mon, 19 Nov 2018 09:51:00 +0000 (10:51 +0100)
commita8471e46683eec540f4b45f5e9c5da3f8607429d
tree4de3c3fac89b61b955b6a5f8b75f09c682176703
parente9155a749646b27290a2e8807247d9cc78e78e67
x86/microcode/AMD: Clean up per-family patch size checks

Starting with family 0x15, the patch size verification is not needed
anymore. Thus get rid of the need to update this checking function with
each new family.

Keep the check for older families.

Signed-off-by: Borislav Petkov <bp@suse.de>
Cc: Tom Lendacky <thomas.lendacky@amd.com>
Cc: x86@kernel.org
Link: https://lkml.kernel.org/r/20181107170218.7596-5-bp@alien8.de
arch/x86/kernel/cpu/microcode/amd.c