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
Kconfig -rw-r--r-- 941 bytes
Makefile -rw-r--r-- 305 bytes
dsa.c -rw-r--r-- 24.3 KB
dsa2.c -rw-r--r-- 13.5 KB
dsa_priv.h -rw-r--r-- 2.4 KB
slave.c -rw-r--r-- 30.7 KB
tag_brcm.c -rw-r--r-- 4.0 KB
tag_dsa.c -rw-r--r-- 4.3 KB
tag_edsa.c -rw-r--r-- 4.9 KB
tag_trailer.c -rw-r--r-- 2.6 KB

back to top