OpenCloudOS-Kernel/sound/soc/omap
Linus Torvalds 8ceafbfa91 Merge branch 'for-linus-dma-masks' of git://git.linaro.org/people/rmk/linux-arm
Pull DMA mask updates from Russell King:
 "This series cleans up the handling of DMA masks in a lot of drivers,
  fixing some bugs as we go.

  Some of the more serious errors include:
   - drivers which only set their coherent DMA mask if the attempt to
     set the streaming mask fails.
   - drivers which test for a NULL dma mask pointer, and then set the
     dma mask pointer to a location in their module .data section -
     which will cause problems if the module is reloaded.

  To counter these, I have introduced two helper functions:
   - dma_set_mask_and_coherent() takes care of setting both the
     streaming and coherent masks at the same time, with the correct
     error handling as specified by the API.
   - dma_coerce_mask_and_coherent() which resolves the problem of
     drivers forcefully setting DMA masks.  This is more a marker for
     future work to further clean these locations up - the code which
     creates the devices really should be initialising these, but to fix
     that in one go along with this change could potentially be very
     disruptive.

  The last thing this series does is prise away some of Linux's addition
  to "DMA addresses are physical addresses and RAM always starts at
  zero".  We have ARM LPAE systems where all system memory is above 4GB
  physical, hence having DMA masks interpreted by (eg) the block layers
  as describing physical addresses in the range 0..DMAMASK fails on
  these platforms.  Santosh Shilimkar addresses this in this series; the
  patches were copied to the appropriate people multiple times but were
  ignored.

  Fixing this also gets rid of some ARM weirdness in the setup of the
  max*pfn variables, and brings ARM into line with every other Linux
  architecture as far as those go"

* 'for-linus-dma-masks' of git://git.linaro.org/people/rmk/linux-arm: (52 commits)
  ARM: 7805/1: mm: change max*pfn to include the physical offset of memory
  ARM: 7797/1: mmc: Use dma_max_pfn(dev) helper for bounce_limit calculations
  ARM: 7796/1: scsi: Use dma_max_pfn(dev) helper for bounce_limit calculations
  ARM: 7795/1: mm: dma-mapping: Add dma_max_pfn(dev) helper function
  ARM: 7794/1: block: Rename parameter dma_mask to max_addr for blk_queue_bounce_limit()
  ARM: DMA-API: better handing of DMA masks for coherent allocations
  ARM: 7857/1: dma: imx-sdma: setup dma mask
  DMA-API: firmware/google/gsmi.c: avoid direct access to DMA masks
  DMA-API: dcdbas: update DMA mask handing
  DMA-API: dma: edma.c: no need to explicitly initialize DMA masks
  DMA-API: usb: musb: use platform_device_register_full() to avoid directly messing with dma masks
  DMA-API: crypto: remove last references to 'static struct device *dev'
  DMA-API: crypto: fix ixp4xx crypto platform device support
  DMA-API: others: use dma_set_coherent_mask()
  DMA-API: staging: use dma_set_coherent_mask()
  DMA-API: usb: use new dma_coerce_mask_and_coherent()
  DMA-API: usb: use dma_set_coherent_mask()
  DMA-API: parport: parport_pc.c: use dma_coerce_mask_and_coherent()
  DMA-API: net: octeon: use dma_coerce_mask_and_coherent()
  DMA-API: net: nxp/lpc_eth: use dma_coerce_mask_and_coherent()
  ...
2013-11-14 07:55:21 +09:00
..
Kconfig ASoC: omap: Fix incorrect ARM dependency 2013-10-03 17:01:05 +01:00
Makefile ASoC: OMAP: Remove obsolete Makefile line 2013-05-30 11:49:24 +01:00
am3517evm.c ASoC: omap: Use common DAI DMA data 2013-04-03 18:12:58 +01:00
ams-delta.c ASoC: omap: Use common DAI DMA data 2013-04-03 18:12:58 +01:00
mcbsp.c ASoC: Updates for v3.12 2013-08-23 14:12:22 +02:00
mcbsp.h ASoC: omap: Use common DAI DMA data 2013-04-03 18:12:58 +01:00
n810.c ASoC: omap: Use WARN_ON() instead of BUG_ON() 2013-11-07 19:55:15 +00:00
omap-abe-twl6040.c ASoC: omap-abe-twl6040: Remove support for pdata (legacy boot) 2013-07-31 20:03:00 +01:00
omap-dmic.c ASoC: omap: simplify platform_get_resource_byname/devm_ioremap_resource 2013-08-20 11:50:58 +01:00
omap-dmic.h ASoC: OMAP4: omap-dmic: Initial support for OMAP DMIC 2011-11-28 17:21:44 +00:00
omap-hdmi-card.c ASoC: omap-hdmi-codec: make the driver common for other SoCs 2013-06-05 16:54:55 +01:00
omap-hdmi.c Merge remote-tracking branch 'asoc/topic/dma' into asoc-next 2013-04-12 13:57:04 +01:00
omap-hdmi.h ASoC: OMAP: HDMI: Expand capabilities of the HDMI DAI 2012-05-22 17:33:23 +01:00
omap-mcbsp.c ASoC: omap-mcbsp: Support SND_SOC_DAIFMT_CBM_CFS for omap3/4 2013-07-22 00:57:36 +01:00
omap-mcbsp.h ASoC: omap-mcbsp: Remove unused defines 2012-08-22 20:17:11 +01:00
omap-mcpdm.c ASoC: omap-mcpdm: Use devm_snd_soc_register_component 2013-09-19 14:57:38 +01:00
omap-mcpdm.h ASoC: omap-mcpdm: API to configure offset cancellation 2011-09-26 22:23:32 +01:00
omap-pcm.c DMA-API: sound: fix dma mask handling in a lot of drivers 2013-10-31 14:48:47 +00:00
omap-twl4030.c ASoC: omap-twl4030: Use devm_snd_soc_register_card 2013-09-19 14:57:37 +01:00
omap3pandora.c ASoC: omap: Use common DAI DMA data 2013-04-03 18:12:58 +01:00
osk5912.c ASoC: omap: Use common DAI DMA data 2013-04-03 18:12:58 +01:00
rx51.c ARM: OMAP2+: N900: enable N900-specific drivers even if device tree is enabled 2013-07-04 05:11:16 -07:00