diff options
author | Emanuel Czirai <icanrealizeum@gmail.com> | 2016-09-02 07:35:50 +0200 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2016-09-02 20:42:28 +0200 |
commit | d1992996753132e2dafe955cccb2fb0714d3cfc4 (patch) | |
tree | 92a0102f68353c85730b99faf1f83e08451f12c6 /lib/bitrev.c | |
parent | 3eab887a55424fc2c27553b7bfe32330df83f7b8 (diff) | |
download | op-kernel-dev-d1992996753132e2dafe955cccb2fb0714d3cfc4.zip op-kernel-dev-d1992996753132e2dafe955cccb2fb0714d3cfc4.tar.gz |
x86/AMD: Apply erratum 665 on machines without a BIOS fix
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>
Diffstat (limited to 'lib/bitrev.c')
0 files changed, 0 insertions, 0 deletions