kernel-ark/drivers/media/platform
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
..
blackfin [media] v4l2: use new V4L2_DV_BT_BLANKING/FRAME defines 2013-08-18 08:19:03 -03:00
davinci [media] davinci: vpif_capture: fix error return code in vpif_probe() 2013-08-26 07:54:47 -03:00
exynos4-is exynos4-is: Use the generic MIPI CSIS PHY driver 2013-10-16 13:48:08 -07:00
exynos-gsc [media] exynos-gsc: Register v4l2 device 2013-09-03 09:24:21 -03:00
marvell-ccic [media] marvell-ccic/mmp-driver.c: simplify use of devm_ioremap_resource 2013-08-22 12:45:23 -03:00
omap
omap3isp DMA-API: media: omap3isp: use dma_coerce_mask_and_coherent() 2013-10-31 14:48:52 +00:00
s3c-camif [media] s3c-camif: forever loop in camif_hw_set_source_format() 2013-08-24 04:53:58 -03:00
s5p-g2d [media] s5p-g2d: Fix registration failure 2013-09-03 09:24:17 -03:00
s5p-jpeg [media] s5p-jpeg: Initialize vfd_decoder->vfl_dir field 2013-09-24 13:41:53 -03:00
s5p-mfc Merge branch 'v4l_for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-media 2013-09-05 11:55:59 -07:00
s5p-tv [media] s5p-tv: Include missing v4l2-dv-timings.h header file 2013-08-24 04:53:37 -03:00
soc_camera [media] mx3-camera: locking cleanup in mx3_videobuf_queue() 2013-09-24 13:33:55 -03:00
vsp1 [media] v4l: vsp1: Fix mutex double lock at streamon time 2013-08-28 05:40:07 -03:00
arv.c
coda.c drivers/media/platform/coda.c: use gen_pool_dma_alloc() to allocate iram buffer 2013-11-13 12:09:23 +09:00
coda.h [media] coda: add CODA7541 decoding support 2013-07-31 15:56:44 -03:00
fsl-viu.c drivers: clean-up prom.h implicit includes 2013-10-09 20:04:04 -05:00
indycam.c
indycam.h
Kconfig s3c-camif: Use CONFIG_ARCH_S3C64XX to check for S3C64XX support 2013-10-06 09:01:56 +09:00
m2m-deinterlace.c
Makefile [media] v4l: Renesas R-Car VSP1 driver 2013-08-18 07:30:16 -03:00
mem2mem_testdev.c
mx2_emmaprp.c
omap24xxcam-dma.c
omap24xxcam.c
omap24xxcam.h
sh_veu.c sh_veu: Replace PTR_RET with PTR_ERR_OR_ZERO 2013-07-16 16:06:01 +09:30
sh_vou.c [media] sh_vou: almost forever loop in sh_vou_try_fmt_vid_out() 2013-09-24 13:33:06 -03:00
timblogiw.c
via-camera.c
via-camera.h
vino.c
vino.h
vivi.c