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)
commitcfffbfeb424bc274aba3b5ed4afd5891662481a8
tree4de3c3fac89b61b955b6a5f8b75f09c682176703
parent3974b68114fed3735f623931e673538d8ab92d26
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