Commit 272f5b03 authored by Borislav Petkov's avatar Borislav Petkov Committed by Pu Wen
Browse files

x86/microcode/AMD: Clean up per-family patch size checks

mainline inclusion
from mainline-v5.0-rc1
commit cfffbfeb
category: feature
bugzilla: https://gitee.com/openeuler/kernel/issues/I7DX6V
CVE: NA

Reference: https://git.kernel.org/torvalds/c/cfffbfeb424bc274aba3b5ed4afd5891662481a8



---------------------------

commit cfffbfeb upstream.

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: default avatarBorislav 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


Signed-off-by: default avatarPu Wen <puwen@hygon.cn>
parent a60eddcc
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment