]> git.baikalelectronics.ru Git - kernel.git/commit
x86/microcode/AMD: Simplify patch family detection
authorBorislav Petkov <bp@suse.de>
Thu, 19 Jul 2018 13:47:07 +0000 (15:47 +0200)
committerBorislav Petkov <bp@suse.de>
Mon, 19 Nov 2018 09:51:05 +0000 (10:51 +0100)
commitf80841cb5cb46624ef6d69c5358457e97e0185ec
treeaef7f36c00f3e0563fc42c00408fa373bd44d7ab
parentca0d618decd382f18a054d1915f32390828d11d5
x86/microcode/AMD: Simplify patch family detection

Instead of traversing the equivalence table, compute the family a patch
is for, from the processor revision ID in the microcode header.

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