]> git.baikalelectronics.ru Git - kernel.git/commit
x86/mm/pat: Revert 'Adjust default caching mode translation tables'
authorThomas Gleixner <tglx@linutronix.de>
Sun, 26 Jul 2015 08:27:37 +0000 (10:27 +0200)
committerThomas Gleixner <tglx@linutronix.de>
Sun, 26 Jul 2015 08:27:37 +0000 (10:27 +0200)
commitce1616a30500500b33c06f1e8cffcdcbcc3ccb35
treeb88d44d821d2e83d38844478e41f243c76c89569
parent9acdbcece1b88d48631089ec57896d9e8f6f4712
x86/mm/pat: Revert 'Adjust default caching mode translation tables'

Toshi explains:

"No, the default values need to be set to the fallback types,
 i.e. minimal supported mode.  For WC and WT, UC is the fallback type.

 When PAT is disabled, pat_init() does update the tables below to
 enable WT per the default BIOS setup.  However, when PAT is enabled,
 but CPU has PAT -errata, WT falls back to UC per the default values."

Revert: 2b080ff89ae7 'x86/mm/pat: Adjust default caching mode translation tables'
Requested-by: Toshi Kani <toshi.kani@hp.com>
Cc: Jan Beulich <jbeulich@suse.de>
Link: http://lkml.kernel.org/r/1437577776.3214.252.camel@hp.com
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
arch/x86/mm/init.c