]> git.baikalelectronics.ru Git - kernel.git/commit
x86/microcode/AMD: Fix load of builtin microcode with randomized memory
authorBorislav Petkov <bp@alien8.de>
Sun, 4 Sep 2016 09:37:36 +0000 (11:37 +0200)
committerThomas Gleixner <tglx@linutronix.de>
Mon, 5 Sep 2016 08:38:56 +0000 (10:38 +0200)
commit346d6aa5d7697827590ca7b68557ad5fec761556
tree7f0e0d1694f907eb88d1c9842854eee9307055c7
parent2719bb922019299aaf3880c72f3e26ccdc92175f
x86/microcode/AMD: Fix load of builtin microcode with randomized memory

We do not need to add the randomization offset when the microcode is
built in.

Reported-and-tested-by: Emanuel Czirai <icanrealizeum@gmail.com>
Signed-off-by: Borislav Petkov <bp@suse.de>
Link: http://lkml.kernel.org/r/20160904093736.GA11939@pd.tnic
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
arch/x86/kernel/cpu/microcode/amd.c