From: Ingo Molnar <mingo@kernel.org>
To: "Luis R. Rodriguez" <mcgrof@do-not-panic.com>
Cc: Andy Lutomirski <luto@amacapital.net>,
Andy Walls <awalls@md.metrocast.net>,
Andy Walls <andy@silverblocksystems.net>,
Toshi Kani <toshi.kani@hp.com>, Hyong-Youb Kim <hkim@cspi.com>,
Benjamin Herrenschmidt <benh@kernel.crashing.org>,
Borislav Petkov <bp@suse.de>,
Mauro Carvalho Chehab <mchehab@osg.samsung.com>,
Doug Ledford <dledford@redhat.com>,
Fengguang Wu <fengguang.wu@intel.com>,
linux-media@vger.kernel.org, linux-rdma@vger.kernel.org,
"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH v2 2/2] x86/mm/pat, drivers/media/ivtv: move pat warn and replace WARN() with pr_warn()
Date: Tue, 7 Jul 2015 09:03:06 +0200 [thread overview]
Message-ID: <20150707070306.GB9784@gmail.com> (raw)
In-Reply-To: <CAB=NE6WzpSLREPkLt0k1_42V5DGKYQx3cqMnGeOFwv1-wkxVhg@mail.gmail.com>
* Luis R. Rodriguez <mcgrof@do-not-panic.com> wrote:
> On Mon, Jul 6, 2015 at 5:44 PM, Luis R. Rodriguez <mcgrof@suse.com> wrote:
> > If we really wanted to we could consider arch_phys_wc_add()
>
> I mean adding a __arch_phys_wc_add() which does not check for pat_enabled().
>
> > and
> > deal with that this will not check for pat_enabled() and forces MTRR...
> > I think Andy Luto won't like that very much though ? I at least don't
> > like it since we did all this work to finally leave only 1 piece of
> > code with direct MTRR access... Seems a bit sad. Since ipath will
> > be removed we'd have only ivtv driver using this API, I am not sure if
> > its worth it.
>
> Since ipath is going away soon we'd just have one driver with the icky
> #ifdef code. I'd rather see that and then require semantics / grammer
> rules to require ioremap_wc() when used with arch_phys_wc_add(). I don't think
> ivtv is worth to consider breaking the semantics and requirements.
Ok, let's keep your original approach with the warning then.
Thanks,
Ingo
prev parent reply other threads:[~2015-07-07 7:03 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-06-24 17:23 [PATCH v2 0/2] x86/mm/pat: modify nopat requirement warning Luis R. Rodriguez
2015-06-24 17:23 ` [PATCH v2 1/2] x86/mm/pat, drivers/infiniband/ipath: replace WARN() with pr_warn() Luis R. Rodriguez
2015-06-25 6:49 ` Ingo Molnar
2015-06-25 17:15 ` Luis R. Rodriguez
2015-06-26 8:44 ` Ingo Molnar
2015-06-24 17:23 ` [PATCH v2 2/2] x86/mm/pat, drivers/media/ivtv: move pat warn and " Luis R. Rodriguez
2015-06-25 6:51 ` Ingo Molnar
2015-06-25 17:38 ` Luis R. Rodriguez
2015-06-26 8:45 ` Ingo Molnar
2015-06-26 12:36 ` Andy Walls
2015-06-29 6:55 ` Ingo Molnar
[not found] ` <57337D5A-7486-4D01-8316-DFAF4CAF3DA7@md.metrocast.net>
2015-07-07 0:44 ` Luis R. Rodriguez
2015-07-07 6:53 ` Luis R. Rodriguez
2015-07-07 7:03 ` Ingo Molnar [this message]
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=20150707070306.GB9784@gmail.com \
--to=mingo@kernel.org \
--cc=andy@silverblocksystems.net \
--cc=awalls@md.metrocast.net \
--cc=benh@kernel.crashing.org \
--cc=bp@suse.de \
--cc=dledford@redhat.com \
--cc=fengguang.wu@intel.com \
--cc=hkim@cspi.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-media@vger.kernel.org \
--cc=linux-rdma@vger.kernel.org \
--cc=luto@amacapital.net \
--cc=mcgrof@do-not-panic.com \
--cc=mchehab@osg.samsung.com \
--cc=toshi.kani@hp.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;
as well as URLs for NNTP newsgroup(s).