From: Ingo Molnar <mingo@kernel.org>
To: "Luis R. Rodriguez" <mcgrof@do-not-panic.com>
Cc: bp@suse.de, bhelgaas@google.com, tomi.valkeinen@ti.com,
airlied@linux.ie, linux-fbdev@vger.kernel.org,
luto@amacapital.net, vinod.koul@intel.com,
dan.j.williams@intel.com, toshi.kani@hp.com,
benh@kernel.crashing.org, mst@redhat.com,
akpm@linux-foundation.org, daniel.vetter@ffwll.ch,
konrad.wilk@oracle.com, x86@kernel.org,
linux-kernel@vger.kernel.org, linux-pci@vger.kernel.org,
xen-devel@lists.xensource.com,
"Luis R. Rodriguez" <mcgrof@suse.com>
Subject: Re: [PATCH v4 10/11] dma: rename dma_*_writecombine() to dma_*_wc()
Date: Tue, 25 Aug 2015 07:53:18 +0000 [thread overview]
Message-ID: <20150825075318.GA2735@gmail.com> (raw)
In-Reply-To: <1440443613-13696-11-git-send-email-mcgrof@do-not-panic.com>
* Luis R. Rodriguez <mcgrof@do-not-panic.com> wrote:
> From: "Luis R. Rodriguez" <mcgrof@suse.com>
>
> Rename dma_*_writecombine() to dma_*_wc(), so that the naming
> is coherent across the various write-combining APIs.
>
> The following Coccinelle SmPL patch was used for this simple
> transformation:
>
> @ rename_dma_alloc_writecombine @
> expression dev, size, dma_addr, gfp;
> @@
>
> -dma_alloc_writecombine(dev, size, dma_addr, gfp)
> +dma_alloc_wc(dev, size, dma_addr, gfp)
>
> @ rename_dma_free_writecombine @
> expression dev, size, cpu_addr, dma_addr;
> @@
>
> -dma_free_writecombine(dev, size, cpu_addr, dma_addr)
> +dma_free_wc(dev, size, cpu_addr, dma_addr)
>
> @ rename_dma_mmap_writecombine @
> expression dev, vma, cpu_addr, dma_addr, size;
> @@
>
> -dma_mmap_writecombine(dev, vma, cpu_addr, dma_addr, size)
> +dma_mmap_wc(dev, vma, cpu_addr, dma_addr, size)
>
> Generated-by: Coccinelle SmPL
> Suggested-by: Ingo Molnar <mingo@kernel.org>
> Signed-off-by: Luis R. Rodriguez <mcgrof@suse.com>
> ---
> arch/arm/mach-lpc32xx/phy3250.c | 13 ++++++-------
> arch/arm/mach-netx/fb.c | 14 ++++++--------
> arch/arm/mach-nspire/clcd.c | 13 ++++++-------
> arch/avr32/include/asm/dma-mapping.h | 20 ++++++++++----------
> arch/avr32/mm/dma-coherent.c | 12 ++++++------
> arch/metag/include/asm/dma-mapping.h | 4 ++--
> arch/metag/kernel/dma.c | 6 +++---
> drivers/dma/iop-adma.c | 8 ++++----
> drivers/dma/mv_xor.c | 4 ++--
> drivers/dma/qcom_bam_dma.c | 14 +++++++-------
> drivers/gpu/drm/drm_gem_cma_helper.c | 13 ++++++-------
> drivers/gpu/drm/omapdrm/omap_dmm_tiler.c | 13 ++++++-------
> drivers/gpu/drm/omapdrm/omap_gem.c | 8 ++++----
> drivers/gpu/drm/sti/sti_cursor.c | 13 ++++++-------
> drivers/gpu/drm/sti/sti_gdp.c | 3 +--
> drivers/gpu/drm/sti/sti_hqvdp.c | 6 +++---
> drivers/gpu/drm/tegra/gem.c | 11 +++++------
> drivers/gpu/host1x/cdma.c | 8 ++++----
> drivers/gpu/host1x/job.c | 10 ++++------
> drivers/media/platform/coda/coda-bit.c | 10 +++++-----
> drivers/video/fbdev/acornfb.c | 4 ++--
> drivers/video/fbdev/amba-clcd-versatile.c | 14 ++++++--------
> drivers/video/fbdev/amba-clcd.c | 4 ++--
> drivers/video/fbdev/atmel_lcdfb.c | 9 +++++----
> drivers/video/fbdev/ep93xx-fb.c | 9 +++------
> drivers/video/fbdev/gbefb.c | 8 ++++----
> drivers/video/fbdev/imxfb.c | 12 ++++++------
> drivers/video/fbdev/mx3fb.c | 9 ++++-----
> drivers/video/fbdev/nuc900fb.c | 8 ++++----
> drivers/video/fbdev/omap/lcdc.c | 16 ++++++++--------
> drivers/video/fbdev/pxa168fb.c | 8 ++++----
> drivers/video/fbdev/pxafb.c | 4 ++--
> drivers/video/fbdev/s3c-fb.c | 7 +++----
> drivers/video/fbdev/s3c2410fb.c | 8 ++++----
> drivers/video/fbdev/sa1100fb.c | 8 ++++----
> include/linux/dma-mapping.h | 16 ++++++++--------
> sound/arm/pxa2xx-pcm-lib.c | 20 ++++++++------------
> sound/soc/fsl/imx-pcm-fiq.c | 10 ++++------
> sound/soc/nuc900/nuc900-pcm.c | 6 ++----
> sound/soc/omap/omap-pcm.c | 12 ++++--------
> 40 files changed, 183 insertions(+), 212 deletions(-)
Which kernel is this against? It has conflicts in 3 files with Linus's latest:
v4.2-rc8.
Thanks,
Ingo
next prev parent reply other threads:[~2015-08-25 7:53 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-08-24 19:13 [PATCH v4 00/11] x86/dma: RIP MTRR and dma write-combine API rename Luis R. Rodriguez
2015-08-24 19:13 ` [PATCH v4 01/11] PCI: Add pci_ioremap_wc_bar() Luis R. Rodriguez
2015-08-24 19:13 ` [PATCH v4 02/11] drivers/video/fbdev/i740fb: Use arch_phys_wc_add() and pci_ioremap_wc_bar() Luis R. Rodriguez
2015-08-24 19:13 ` [PATCH v4 03/11] drivers/video/fbdev/kyrofb: " Luis R. Rodriguez
2015-08-24 19:13 ` [PATCH v4 04/11] drivers/video/fbdev/gxt4500: Use pci_ioremap_wc_bar() to map framebuffer Luis R. Rodriguez
2015-08-24 19:13 ` [PATCH v4 05/11] PCI: Add pci_iomap_wc() variants Luis R. Rodriguez
2015-08-24 19:13 ` [PATCH v4 06/11] drivers/video/fbdev/arkfb.c: Use arch_phys_wc_add() and pci_iomap_wc() Luis R. Rodriguez
2015-08-24 19:13 ` [PATCH v4 07/11] drivers/video/fbdev/s3fb: " Luis R. Rodriguez
2015-08-24 19:13 ` [PATCH v4 08/11] drivers/video/fbdev/vt8623fb: " Luis R. Rodriguez
2015-08-24 19:13 ` [PATCH v4 09/11] drivers/dma/iop-adma: Use dma_alloc_writecombine() kernel-style Luis R. Rodriguez
2015-08-24 19:13 ` [PATCH v4 10/11] dma: rename dma_*_writecombine() to dma_*_wc() Luis R. Rodriguez
2015-08-25 7:53 ` Ingo Molnar [this message]
2015-08-25 15:48 ` Luis R. Rodriguez
2015-08-25 20:43 ` Andrew Morton
2015-08-25 23:19 ` Luis R. Rodriguez
2015-08-25 23:25 ` Andrew Morton
2015-08-26 4:21 ` Ingo Molnar
2016-01-15 18:24 ` Luis R. Rodriguez
2016-01-19 11:13 ` Ingo Molnar
2016-01-23 2:34 ` [PATCH v5] " Luis R. Rodriguez
2015-08-25 15:53 ` [PATCH v5 10/11] " Luis R. Rodriguez
2015-08-24 19:13 ` [PATCH v4 11/11] mtrr: bury MTRR - unexport mtrr_add() and mtrr_del() 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=20150825075318.GA2735@gmail.com \
--to=mingo@kernel.org \
--cc=airlied@linux.ie \
--cc=akpm@linux-foundation.org \
--cc=benh@kernel.crashing.org \
--cc=bhelgaas@google.com \
--cc=bp@suse.de \
--cc=dan.j.williams@intel.com \
--cc=daniel.vetter@ffwll.ch \
--cc=konrad.wilk@oracle.com \
--cc=linux-fbdev@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-pci@vger.kernel.org \
--cc=luto@amacapital.net \
--cc=mcgrof@do-not-panic.com \
--cc=mcgrof@suse.com \
--cc=mst@redhat.com \
--cc=tomi.valkeinen@ti.com \
--cc=toshi.kani@hp.com \
--cc=vinod.koul@intel.com \
--cc=x86@kernel.org \
--cc=xen-devel@lists.xensource.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).