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-- 7.3 KB
Makefile -rw-r--r-- 805 bytes
block.c -rw-r--r-- 5.5 KB
cache.c -rw-r--r-- 11.6 KB
decompressor.c -rw-r--r-- 3.7 KB
decompressor.h -rw-r--r-- 1.9 KB
decompressor_multi.c -rw-r--r-- 4.6 KB
decompressor_multi_percpu.c -rw-r--r-- 2.3 KB
decompressor_single.c -rw-r--r-- 1.8 KB
dir.c -rw-r--r-- 5.9 KB
export.c -rw-r--r-- 4.6 KB
file.c -rw-r--r-- 14.1 KB
file_cache.c -rw-r--r-- 961 bytes
file_direct.c -rw-r--r-- 4.3 KB
fragment.c -rw-r--r-- 3.1 KB
id.c -rw-r--r-- 2.9 KB
inode.c -rw-r--r-- 12.5 KB
lz4_wrapper.c -rw-r--r-- 2.9 KB
lzo_wrapper.c -rw-r--r-- 3.0 KB
namei.c -rw-r--r-- 7.5 KB
page_actor.c -rw-r--r-- 2.6 KB
page_actor.h -rw-r--r-- 1.9 KB
squashfs.h -rw-r--r-- 3.9 KB
squashfs_fs.h -rw-r--r-- 10.8 KB
squashfs_fs_i.h -rw-r--r-- 1.4 KB
squashfs_fs_sb.h -rw-r--r-- 2.1 KB
super.c -rw-r--r-- 13.7 KB
symlink.c -rw-r--r-- 3.7 KB
xattr.c -rw-r--r-- 7.3 KB
xattr.h -rw-r--r-- 1.6 KB
xattr_id.c -rw-r--r-- 2.7 KB
xz_wrapper.c -rw-r--r-- 4.3 KB
zlib_wrapper.c -rw-r--r-- 3.1 KB

back to top