Skip to content

x86: address drivers that do not work with PAT

Luis R. Rodriguez cocci dri-devel linux-fbdev linux-media linux-mm linux-pci linux-rdma linux-scsi lkml netdev stable xen-devel 2 versions – Applied

Status from this message: Applied, thanks.

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v5 Latest6 patches 6 repliesApplied
  2. v48 patches 7 repliesSuperseded

Patches in v5 Applied

#Subject and filesSizeRepliesApplied
1/6x86/mm/pat: use pr_info() and friendsarch/x86/mm/pat.c arch/x86/mm/pat_internal.h arch/x86/mm/pat_rbtree.c+26 -223 replies
2/6x86/mm/pat: redefine pat_enabledarch/x86/include/asm/pat.h arch/x86/kernel/cpu/mtrr/main.c arch/x86/mm/iomap_32.c +4 more+24 -322 replies
3/6arch/x86/mm/pat: export pat_enabled()arch/x86/mm/pat.c+1 -01 reply
4/6ivtv: use arch_phys_wc_add() and require PAT disableddrivers/media/pci/ivtv/Kconfig drivers/media/pci/ivtv/ivtvfb.c+26 -350 replies
5/6IB/ipath: add counting for MTRRdrivers/infiniband/hw/ipath/ipath_wc_x86_64.c+1 -10 replies
6/6IB/ipath: use arch_phys_wc_add() and require PAT disableddrivers/infiniband/hw/ipath/Kconfig drivers/infiniband/hw/ipath/ipath_driver.c drivers/infiniband/hw/ipath/ipath_kernel.h +1 more+26 -420 replies

Reviews trailers per patch

2 of 6 patches have a Reviewed-by or Acked-by.

PatchAndy WallsDoug Ledford
1/6
2/6
3/6
4/6A-b
5/6
6/6A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v5 thread

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

From: "Luis R. Rodriguez" <[email protected]>

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(-)
Signature · 1 line
2.3.2.209.gd67f9d5.dirty