https://github.com/torvalds/linux
Revision d1992996753132e2dafe955cccb2fb0714d3cfc4 authored by Emanuel Czirai on 02 September 2016, 05:35:50 UTC, committed by Thomas Gleixner on 02 September 2016, 18:42:28 UTC
AMD F12h machines have an erratum which can cause DIV/IDIV to behave
unpredictably. The workaround is to set MSRC001_1029[31] but sometimes
there is no BIOS update containing that workaround so let's do it
ourselves unconditionally. It is simple enough.

[ Borislav: Wrote commit message. ]

Signed-off-by: Emanuel Czirai <icanrealizeum@gmail.com>
Signed-off-by: Borislav Petkov <bp@suse.de>
Cc: Yaowu Xu <yaowu@google.com>
Cc: stable@vger.kernel.org
Link: http://lkml.kernel.org/r/20160902053550.18097-1-bp@alien8.de
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>

1 parent 3eab887
History
Tip revision: d1992996753132e2dafe955cccb2fb0714d3cfc4 authored by Emanuel Czirai on 02 September 2016, 05:35:50 UTC
x86/AMD: Apply erratum 665 on machines without a BIOS fix
Tip revision: d199299
File Mode Size
Makefile -rw-r--r-- 377 bytes
compat.c -rw-r--r-- 19.1 KB
compat_mq.c -rw-r--r-- 3.9 KB
ipc_sysctl.c -rw-r--r-- 5.4 KB
mq_sysctl.c -rw-r--r-- 2.9 KB
mqueue.c -rw-r--r-- 35.6 KB
msg.c -rw-r--r-- 24.1 KB
msgutil.c -rw-r--r-- 3.6 KB
namespace.c -rw-r--r-- 3.9 KB
sem.c -rw-r--r-- 55.9 KB
shm.c -rw-r--r-- 33.3 KB
syscall.c -rw-r--r-- 2.3 KB
util.c -rw-r--r-- 21.1 KB
util.h -rw-r--r-- 6.4 KB

back to top