]> git.baikalelectronics.ru Git - kernel.git/commit
x86, microcode: Limit the microcode reloading to 64-bit for now
authorBorislav Petkov <bp@suse.de>
Sun, 30 Nov 2014 13:26:39 +0000 (14:26 +0100)
committerThomas Gleixner <tglx@linutronix.de>
Mon, 1 Dec 2014 09:55:08 +0000 (10:55 +0100)
commit269e68232951b12c99f1edf9ebdf3fa41349d02a
tree8cf227f202435296b55cedb76b84b0e7990bd0c6
parenta34bf2eba68fbef1f54f140bcda28b34e8615c14
x86, microcode: Limit the microcode reloading to 64-bit for now

First, there was this: https://bugzilla.kernel.org/show_bug.cgi?id=88001

The problem there was that microcode patches are not being reapplied
after suspend-to-ram. It was important to reapply them, though, because
of for example Haswell's TSX erratum which disabled TSX instructions
with a microcode patch.

A simple fix was 903e6fc3ca93 ("x86, microcode: Update BSPs microcode
on resume") but, as it is often the case, simple fixes are too
simple. This one causes 32-bit resume to fail:

https://bugzilla.kernel.org/show_bug.cgi?id=88391

Properly fixing this would require more involved changes for which it
is too late now, right before the merge window. Thus, limit this to
64-bit only temporarily.

Signed-off-by: Borislav Petkov <bp@suse.de>
Link: http://lkml.kernel.org/r/1417353999-32236-1-git-send-email-bp@alien8.de
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
arch/x86/kernel/cpu/microcode/core.c