Re: [PATCH v4 3/17] video: fbdev: gbefb: use arch_phys_wc_add() and devm_ioremap_wc()

From: Ingo Molnar
Date: Mon Jun 01 2015 - 04:53:51 EST



* Luis R. Rodriguez <mcgrof@xxxxxxxx> wrote:

> On Fri, May 29, 2015 at 08:41:44AM +0200, Ingo Molnar wrote:
> >
> > * Luis R. Rodriguez <mcgrof@xxxxxxxxxxxxxxxx> wrote:
> >
> > > + gbe_mem = devm_ioremap_wc(&p_dev->dev, gbe_mem_phys,
> > > + gbe_mem_size);
> >
> > > + gbe_mem = dma_alloc_writecombine(NULL, gbe_mem_size,
> > > + &gbe_dma_addr, GFP_KERNEL);
> >
> > > + par->wc_cookie = arch_phys_wc_add(gbe_mem_phys, gbe_mem_size);
> >
> > > + arch_phys_wc_del(par->wc_cookie);
> >
> > > + arch_phys_wc_del(par->wc_cookie);
> >
> > Could we _please_ rename dma_*_writecombine() to dma_*_wc(), so that the naming is
> > coherent across the various APIs?
>
> Sure, OK done. Will send once this series is merged and visible on linux-next.
> But who's tree should this go through? Since it depends on this series which
> goes through Tomi's tree should it go through there?

So we could do the rename near the end of the merge window, when all the patches
have drained from maintainer trees into Linus's tree. Mind keeping it in your tree
until then?

Thanks,

Ingo
--
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/