x86 PAT fixes for stable

Kani, Toshimitsu
2016-05-24T17:57:12Z

Hello,

The following patches fix two x86 PAT issues reported in 4.4 [1][2]. Can
you please backport them up to 4.4?

1/7 x86/mm/pat: Add support of non-default PAT MSR setting
02f037d641dc6672be5cfe7875a48ab99b95b154

2/7 x86/mm/pat: Add pat_disable() interfacecommit
224bb1e5d67ba0f2872c98002d6a6f991ac6fd4a

3/7 x86/mm/pat: Replace cpu_has_pat with boot_cpu_has
d63dcf49cf5ae5605f4d14229e3888e104f294b1

4/7 x86/mtrr: Fix Xorg crashes in Qemu sessions
edfe63ec97ed8d4496225f7ba54c9ce4207c5431

5/7 x86/mtrr: Fix PAT init handling when MTRR is disabled
ad025a73f0e9344ac73ffe1b74c184033e08e7d5

6/7 x86/xen,pat: Remove PAT table init code from Xen
88ba281108ed0c25c9d292b48bd3f272fcb90dd0

7/7 x86/pat: Document PAT initialization
b6350c21cfe8aa9d65e189509a23c0ea4b8362c2

1/1 x86/mm/pat: Fix BUG_ON in mmap_mem on QEMU/i386
1886297ce0c8d563a08c8a8c4c0b97743e06cd37

Thanks,
-Toshi

[1] https://lkml.org/lkml/2016/3/3/828
[2] http://www.gossamer-threads.com/lists/xen/devel/432189?page=last