[PATCH v5 0/6] x86: address drivers that do not work with PAT

Luis R. Rodriguez
2015-04-30T20:27:39Z

From: "Luis R. Rodriguez" <mcgrof@suse.com>

This v5 drops the addition of new early_param_*() helpers
and their use on pat_enabled as we are sticking with
__read_mostly, and as per review this should be selectively
used only on well established hot paths. pat_enabled turns
out to be a common hot path, so we want to keep that. This
v5 also changes the pr_info() patch slightly to address the
feedback. The other patches do not change at all.

Luis R. Rodriguez (6):
x86/mm/pat: use pr_info() and friends
x86/mm/pat: redefine pat_enabled
arch/x86/mm/pat: export pat_enabled()
ivtv: use arch_phys_wc_add() and require PAT disabled
IB/ipath: add counting for MTRR
IB/ipath: use arch_phys_wc_add() and require PAT disabled

arch/x86/include/asm/pat.h | 7 +--
arch/x86/kernel/cpu/mtrr/main.c | 2 +-
arch/x86/mm/iomap_32.c | 2 +-
arch/x86/mm/ioremap.c | 4 +-
arch/x86/mm/pageattr.c | 2 +-
arch/x86/mm/pat.c | 75 +++++++++++++--------------
arch/x86/mm/pat_internal.h | 2 +-
arch/x86/mm/pat_rbtree.c | 5 +-
arch/x86/pci/i386.c | 6 +--
drivers/infiniband/hw/ipath/Kconfig | 3 ++
drivers/infiniband/hw/ipath/ipath_driver.c | 18 +++++--
drivers/infiniband/hw/ipath/ipath_kernel.h | 4 +-
drivers/infiniband/hw/ipath/ipath_wc_x86_64.c | 43 ++++-----------
drivers/media/pci/ivtv/Kconfig | 3 ++
drivers/media/pci/ivtv/ivtvfb.c | 58 ++++++++-------------
15 files changed, 103 insertions(+), 131 deletions(-)

--
2.3.2.209.gd67f9d5.dirty