linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v4 00/11] x86/dma: RIP MTRR and dma write-combine API rename
@ 2015-08-24 19:13 Luis R. Rodriguez
  2015-08-24 19:13 ` [PATCH v4 01/11] PCI: Add pci_ioremap_wc_bar() Luis R. Rodriguez
                   ` (10 more replies)
  0 siblings, 11 replies; 33+ messages in thread
From: Luis R. Rodriguez @ 2015-08-24 19:13 UTC (permalink / raw)
  To: mingo
  Cc: bp, bhelgaas, tomi.valkeinen, airlied, linux-fbdev, luto,
	vinod.koul, dan.j.williams, toshi.kani, benh, mst, akpm,
	daniel.vetter, konrad.wilk, x86, linux-kernel, linux-pci,
	xen-devel, Luis R. Rodriguez

From: "Luis R. Rodriguez" <mcgrof@suse.com>

Ingo,

This is my pending series of patches for both write-combining and moving
Linux' use of MTRR into the grave. It combines three set of straggler patch
series which have been pending integration for a while now. The rename patches
do not depend in any way with the MTRR patches but I've combined them here as
they are all pending and relating to write-combining. I explain why integration
of such patches has been delayed but also provide reasoning for why I believe
its time to merge them.

1) The DMA API rename for write-combining goes with the old naming convention
   defines added as suggested by you for any possible stragglers which may come
   up as this goes through and gets merged. We can remove the old define
   mappings after a release once this gets sucked in and things settle. These
   patches have been in Boris tree for a while but I keep having to refresh
   them as the kernel moves on, the addition of the old mapping should allow
   us to merge this without any collateral.

2) The PCI driver changes go with Tomi Valkeinen's Acks as well as
   Arnd Bergmann's own Acks for the PCI and asm-generic changes. This series
   was technically acknowledged by Bjorn to be correct and acceptable but his
   preference was for this to not use EXPORT_SYMBOL_GPL() as not *all*
   write-combine APIs are using EXPORT_SYMBOL_GPL(). Our goal on x86 though
   is to not deal with bug reports for new PAT APIs [0] and since its now clear
   through documentation that its up to the maintainers / developers if they
   decide to use EXPORT_SYMBOL_GPL() for new *features* [1] I keep that
   practice in alignment with our own x86 goals to avoid bug reports and
   issues with proprietary drivers on new PAT interfaces. Bjorn was happy for
   this to go through someone else's tree, in particular Arnd's. Arnd Acked
   the series [2] but is unable to take these patches in at this time as he's
   out on paternal leave so sending these through you with the respective Acks.
   Boris has been hugely instrumental on helping review all MTRR related 
   series, these were sitting on his queue for a while, but he's also
   unavailable now as he's on vacation.

3) Unexporting direct MTRR access. This is last patch, I had posted this first
   on March 2015 when [3] I originally had meshed up all the MTRR work into one
   giant series. I ending up splitting up all the work into *over* 12 series.
   Now that all the work is merged except these few patches I've combined that
   patch as the last part of this series. I've amended an obituary note for
   MTRR regarding platform firmware access to MTRR based on recent discussions
   [4] and updated the documentation to reflect the status quo for Linux.

All of these patches have been tested by the 0-day bot machine. The only thing
*new* here is just my obituary amended documentation note for platform firmware
access to MTRRs on the last patch based hugely on review with Toshi.

[0] http://lkml.kernel.org/r/1424961893.17007.139.camel@misato.fc.hp.com
[1] https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=582ed8d51e2b6cb8a168c94852bca482685c2509
[2] http://lkml.kernel.org/r/2962702.QXZzP3RbKY@wuerfel
[3] http://lkml.kernel.org/r/1426893517-2511-48-git-send-email-mcgrof@do-not-panic.com
[4] http://lkml.kernel.org/r/1438991330.3109.196.camel@hp.com

Luis R. Rodriguez (11):
  PCI: Add pci_ioremap_wc_bar()
  drivers/video/fbdev/i740fb: Use arch_phys_wc_add() and
    pci_ioremap_wc_bar()
  drivers/video/fbdev/kyrofb: Use arch_phys_wc_add() and
    pci_ioremap_wc_bar()
  drivers/video/fbdev/gxt4500: Use pci_ioremap_wc_bar() to map
    framebuffer
  PCI: Add pci_iomap_wc() variants
  drivers/video/fbdev/arkfb.c: Use arch_phys_wc_add() and pci_iomap_wc()
  drivers/video/fbdev/s3fb: Use arch_phys_wc_add() and pci_iomap_wc()
  drivers/video/fbdev/vt8623fb: Use arch_phys_wc_add() and
    pci_iomap_wc()
  drivers/dma/iop-adma: Use dma_alloc_writecombine() kernel-style
  dma: rename dma_*_writecombine() to dma_*_wc()
  mtrr: bury MTRR - unexport mtrr_add() and mtrr_del()

 Documentation/x86/mtrr.txt                | 20 ++++++++--
 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 +--
 arch/x86/kernel/cpu/mtrr/main.c           |  2 -
 drivers/dma/iop-adma.c                    |  9 +++--
 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/pci/pci.c                         | 14 +++++++
 drivers/video/fbdev/acornfb.c             |  4 +-
 drivers/video/fbdev/amba-clcd-versatile.c | 14 +++----
 drivers/video/fbdev/amba-clcd.c           |  4 +-
 drivers/video/fbdev/arkfb.c               | 36 +++--------------
 drivers/video/fbdev/atmel_lcdfb.c         |  9 +++--
 drivers/video/fbdev/ep93xx-fb.c           |  9 ++---
 drivers/video/fbdev/gbefb.c               |  8 ++--
 drivers/video/fbdev/gxt4500.c             |  2 +-
 drivers/video/fbdev/i740fb.c              | 35 +++-------------
 drivers/video/fbdev/imxfb.c               | 12 +++---
 drivers/video/fbdev/kyro/fbdev.c          | 33 ++++++----------
 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/s3fb.c                | 35 +++-------------
 drivers/video/fbdev/sa1100fb.c            |  8 ++--
 drivers/video/fbdev/vt8623fb.c            | 31 +++------------
 include/asm-generic/pci_iomap.h           | 14 +++++++
 include/linux/dma-mapping.h               | 16 ++++----
 include/linux/pci.h                       |  1 +
 include/video/kyro.h                      |  4 +-
 lib/pci_iomap.c                           | 66 +++++++++++++++++++++++++++++++
 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 ++----
 53 files changed, 331 insertions(+), 358 deletions(-)

-- 
2.4.3


^ permalink raw reply	[flat|nested] 33+ messages in thread

end of thread, other threads:[~2016-03-09 14:23 UTC | newest]

Thread overview: 33+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
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-25  8:22   ` [tip:x86/mm] " tip-bot for 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-25  8:23   ` [tip:x86/mm] " tip-bot for Luis R. Rodriguez
2015-08-24 19:13 ` [PATCH v4 03/11] drivers/video/fbdev/kyrofb: " Luis R. Rodriguez
2015-08-25  8:23   ` [tip:x86/mm] " tip-bot for 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-25  8:24   ` [tip:x86/mm] drivers/video/fbdev/gxt4500: Use pci_ioremap_wc_bar( ) " tip-bot for Luis R. Rodriguez
2015-08-24 19:13 ` [PATCH v4 05/11] PCI: Add pci_iomap_wc() variants Luis R. Rodriguez
2015-08-25  8:24   ` [tip:x86/mm] " tip-bot for 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-25  8:24   ` [tip:x86/mm] " tip-bot for Luis R. Rodriguez
2015-08-24 19:13 ` [PATCH v4 07/11] drivers/video/fbdev/s3fb: " Luis R. Rodriguez
2015-08-25  8:25   ` [tip:x86/mm] " tip-bot for Luis R. Rodriguez
2015-08-24 19:13 ` [PATCH v4 08/11] drivers/video/fbdev/vt8623fb: " Luis R. Rodriguez
2015-08-25  8:25   ` [tip:x86/mm] " tip-bot for 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-25  8:25   ` [tip:x86/mm] " tip-bot for 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
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
2016-03-09 14:21                     ` [tip:mm/pat] dma, mm/pat: Rename " tip-bot for Luis R. Rodriguez
2015-08-25 15:53   ` [PATCH v5 10/11] dma: rename " Luis R. Rodriguez
2015-08-24 19:13 ` [PATCH v4 11/11] mtrr: bury MTRR - unexport mtrr_add() and mtrr_del() Luis R. Rodriguez
2015-08-28  8:12   ` [tip:x86/mm] x86/mm/mtrr: Remove kernel internal MTRR interfaces: " tip-bot for Luis R. Rodriguez

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).