[PATCH v4 0/8] x86: address drivers that do not work with PAT
From: Luis R. Rodriguez
Date: Wed Apr 29 2015 - 17:48:17 EST
From: "Luis R. Rodriguez" <mcgrof@xxxxxxxx>
This provides a bit of clean up on PAT and then adds addresses
the agreed upon compromise of how we will address drivers with broken
PAT support by using pat_enabled() and recommending to boot with "nopat"
kernel parameter.
With this and the rest of the easier changes submitted we should
soon see a patch trickle down which buries MTRR from direct driver
access. That will only be done once *all* the series addressing the
conversion have been merged.
The two driver changes that are implicated here have been reviewed
by the respective maintainers, this goes with their respective ACKs.
Luis R. Rodriguez (8):
x86/mm/pat: use pr_info() and friends
init.h: add __read_mostly to early_param_on_off()
init.h: add early_param_on() and early_param_off()
x86/mm/pat: use early_param_off() and 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 | 86 ++++++++++++---------------
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 +++++++-----------
include/linux/init.h | 25 +++++++-
14 files changed, 123 insertions(+), 140 deletions(-)
--
2.3.2.209.gd67f9d5.dirty
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/