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)
commitcc2187a6e037bc64404f63c6d650ff263c2200c0
tree7f0e0d1694f907eb88d1c9842854eee9307055c7
parentc6935931c1894ff857616ff8549b61236a19148f
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