From: "Luis R. Rodriguez" <mcgrof@do-not-panic.com>
To: mingo@elte.hu, tglx@linutronix.de, hpa@zytor.com, bp@suse.de,
plagnioj@jcrosoft.com, tomi.valkeinen@ti.com,
daniel.vetter@intel.com, airlied@linux.ie
Cc: dledford@redhat.com, awalls@md.metrocast.net, syrjala@sci.fi,
luto@amacapital.net, mst@redhat.com, cocci@systeme.lip6.fr,
linux-kernel@vger.kernel.org,
"Luis R. Rodriguez" <mcgrof@suse.com>
Subject: [PATCH v4 0/8] x86: address drivers that do not work with PAT
Date: Wed, 29 Apr 2015 14:44:19 -0700 [thread overview]
Message-ID: <1430343867-1001-1-git-send-email-mcgrof@do-not-panic.com> (raw)
From: "Luis R. Rodriguez" <mcgrof@suse.com>
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
next reply other threads:[~2015-04-29 21:48 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-04-29 21:44 Luis R. Rodriguez [this message]
2015-04-29 21:44 ` [PATCH v4 1/8] x86/mm/pat: use pr_info() and friends Luis R. Rodriguez
2015-04-30 13:56 ` Borislav Petkov
2015-04-30 18:15 ` Luis R. Rodriguez
2015-04-29 21:44 ` [PATCH v4 2/8] init.h: add __read_mostly to early_param_on_off() Luis R. Rodriguez
2015-04-30 16:00 ` Borislav Petkov
2015-04-30 18:32 ` Luis R. Rodriguez
2015-04-30 18:34 ` Luis R. Rodriguez
2015-04-30 18:42 ` Borislav Petkov
2015-04-30 18:46 ` Christoph Lameter
2015-04-29 21:44 ` [PATCH v4 3/8] init.h: add early_param_on() and early_param_off() Luis R. Rodriguez
2015-04-29 21:44 ` [PATCH v4 4/8] x86/mm/pat: use early_param_off() and redefine pat_enabled() Luis R. Rodriguez
2015-04-29 21:44 ` [PATCH v4 5/8] arch/x86/mm/pat: export pat_enabled() Luis R. Rodriguez
2015-04-29 21:44 ` [PATCH v4 6/8] ivtv: use arch_phys_wc_add() and require PAT disabled Luis R. Rodriguez
2015-04-29 21:44 ` [PATCH v4 7/8] IB/ipath: add counting for MTRR Luis R. Rodriguez
2015-04-29 21:44 ` [PATCH v4 8/8] IB/ipath: use arch_phys_wc_add() and require PAT disabled Luis R. Rodriguez
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1430343867-1001-1-git-send-email-mcgrof@do-not-panic.com \
--to=mcgrof@do-not-panic.com \
--cc=airlied@linux.ie \
--cc=awalls@md.metrocast.net \
--cc=bp@suse.de \
--cc=cocci@systeme.lip6.fr \
--cc=daniel.vetter@intel.com \
--cc=dledford@redhat.com \
--cc=hpa@zytor.com \
--cc=linux-kernel@vger.kernel.org \
--cc=luto@amacapital.net \
--cc=mcgrof@suse.com \
--cc=mingo@elte.hu \
--cc=mst@redhat.com \
--cc=plagnioj@jcrosoft.com \
--cc=syrjala@sci.fi \
--cc=tglx@linutronix.de \
--cc=tomi.valkeinen@ti.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Powered by JetHome