[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20150422152821.GC5622@wotan.suse.de>
Date: Wed, 22 Apr 2015 17:28:21 +0200
From: "Luis R. Rodriguez" <mcgrof@...e.com>
To: Doug Ledford <dledford@...hat.com>
Cc: "Luis R. Rodriguez" <mcgrof@...not-panic.com>,
infinipath@...el.com, roland@...nel.org, sean.hefty@...el.com,
hal.rosenstock@...il.com, linux-rdma@...r.kernel.org,
luto@...capital.net, mst@...hat.com, linux-kernel@...r.kernel.org,
cocci@...teme.lip6.fr, Toshi Kani <toshi.kani@...com>,
Suresh Siddha <sbsiddha@...il.com>,
Ingo Molnar <mingo@...e.hu>,
Thomas Gleixner <tglx@...utronix.de>,
Juergen Gross <jgross@...e.com>,
Daniel Vetter <daniel.vetter@...ll.ch>,
Dave Airlie <airlied@...hat.com>,
Antonino Daplas <adaplas@...il.com>,
Jean-Christophe Plagniol-Villard <plagnioj@...osoft.com>,
Tomi Valkeinen <tomi.valkeinen@...com>,
linux-fbdev@...r.kernel.org
Subject: Re: [PATCH v4 1/2] IB/qib: add acounting for MTRR
On Wed, Apr 22, 2015 at 09:44:52AM -0400, Doug Ledford wrote:
> On Tue, 2015-04-21 at 14:50 -0700, Luis R. Rodriguez wrote:
> > From: "Luis R. Rodriguez" <mcgrof@...e.com>
> >
> > There is no good reason not to, we eventually delete it as well.
> >
> > Cc: Toshi Kani <toshi.kani@...com>
> > Cc: Suresh Siddha <sbsiddha@...il.com>
> > Cc: Ingo Molnar <mingo@...e.hu>
> > Cc: Thomas Gleixner <tglx@...utronix.de>
> > Cc: Juergen Gross <jgross@...e.com>
> > Cc: Daniel Vetter <daniel.vetter@...ll.ch>
> > Cc: Andy Lutomirski <luto@...capital.net>
> > Cc: Dave Airlie <airlied@...hat.com>
> > Cc: Antonino Daplas <adaplas@...il.com>
> > Cc: Jean-Christophe Plagniol-Villard <plagnioj@...osoft.com>
> > Cc: Tomi Valkeinen <tomi.valkeinen@...com>
> > Cc: Mike Marciniszyn <infinipath@...el.com>
> > Cc: Roland Dreier <roland@...nel.org>
> > Cc: Sean Hefty <sean.hefty@...el.com>
> > Cc: Hal Rosenstock <hal.rosenstock@...il.com>
> > Cc: linux-rdma@...r.kernel.org
> > Cc: linux-fbdev@...r.kernel.org
> > Cc: linux-kernel@...r.kernel.org
> > Signed-off-by: Luis R. Rodriguez <mcgrof@...e.com>
> > ---
> > drivers/infiniband/hw/qib/qib_wc_x86_64.c | 2 +-
> > 1 file changed, 1 insertion(+), 1 deletion(-)
> >
> > diff --git a/drivers/infiniband/hw/qib/qib_wc_x86_64.c b/drivers/infiniband/hw/qib/qib_wc_x86_64.c
> > index 81b225f..fe0850a 100644
> > --- a/drivers/infiniband/hw/qib/qib_wc_x86_64.c
> > +++ b/drivers/infiniband/hw/qib/qib_wc_x86_64.c
> > @@ -118,7 +118,7 @@ int qib_enable_wc(struct qib_devdata *dd)
> > if (!ret) {
> > int cookie;
> >
> > - cookie = mtrr_add(pioaddr, piolen, MTRR_TYPE_WRCOMB, 0);
> > + cookie = mtrr_add(pioaddr, piolen, MTRR_TYPE_WRCOMB, 1);
> > if (cookie < 0) {
> > {
> > qib_devinfo(dd->pcidev,
>
> Skip this patch please. You remove this line entirely in your next
> patch, so this becomes a single kernel out of all possible bisectable
> kernels with this accounting enabled, and then the very next kernel does
> away with it.
No, the next patch uses accounting enabled as well, it also makes somse
other changes. This change is done in order to add accounting to match
the grammar used by arch_phys_wc_add() so it is in fact an atomic
comittiable and highly recommmended bisectable commit to be present.
> It makes no sense to have a single outlying bisectable
> kernel like that.
This is an atomic difference worth keeping record of.
Luis
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists