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: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 Signed-off-by:
Pu Wen <puwen@hygon.cn>
Loading
Please sign in to comment