summaryrefslogtreecommitdiff
path: root/include/linux/writeback.h
diff options
context:
space:
mode:
authorEmanuel Czirai <icanrealizeum@gmail.com>2016-09-02 07:35:50 +0200
committerBen Hutchings <ben@decadent.org.uk>2016-11-20 01:17:22 +0000
commitb9ebc787dab1c61a3241f91dd3612616974e7430 (patch)
treeafec61358b2b0f1286182b26b9f9ee963abbd1f7 /include/linux/writeback.h
parent469b49979bed4a1be17faa8a513c990e076877c5 (diff)
x86/AMD: Apply erratum 665 on machines without a BIOS fix
commit d1992996753132e2dafe955cccb2fb0714d3cfc4 upstream. 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> Link: http://lkml.kernel.org/r/20160902053550.18097-1-bp@alien8.de Signed-off-by: Thomas Gleixner <tglx@linutronix.de> [bwh: Backported to 3.16: - Add an if-statement to init_amd() in place of the switch - Adjust context] Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Diffstat (limited to 'include/linux/writeback.h')
0 files changed, 0 insertions, 0 deletions