12 Apr, 2011

1 commit


11 Apr, 2011

1 commit


08 Apr, 2011

1 commit


31 Mar, 2011

1 commit


29 Mar, 2011

1 commit


28 Mar, 2011

1 commit


26 Mar, 2011

1 commit

  • Convert to the new irq chip functions and cleanup the name space.

    [ Guennadi reported: irq_data_get_chip_data is undefined. Yes, I screwed up.
    it needs to be irq_data_get_irq_chip_data ]

    Signed-off-by: Thomas Gleixner
    Tested-by: Guennadi Liakhovetski
    Cc: Dan Williams
    LKML-Reference:

    Thomas Gleixner
     

23 Mar, 2011

4 commits

  • The cell's platform_data is now accessed with a helper function;
    change clients to use that, and remove the now-unused data_size.

    Note that the mfd's platform_data is marked __devinitdata. This
    is still correct in all cases except for the timbgpio driver, whose
    remove hook has been changed to no longer reference the pdata.

    Signed-off-by: Andres Salomon
    Signed-off-by: Samuel Ortiz

    Andres Salomon
     
  • * 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/djbw/async_tx: (66 commits)
    avr32: at32ap700x: fix typo in DMA master configuration
    dmaengine/dmatest: Pass timeout via module params
    dma: let IMX_DMA depend on IMX_HAVE_DMA_V1 instead of an explicit list of SoCs
    fsldma: make halt behave nicely on all supported controllers
    fsldma: reduce locking during descriptor cleanup
    fsldma: support async_tx dependencies and automatic unmapping
    fsldma: fix controller lockups
    fsldma: minor codingstyle and consistency fixes
    fsldma: improve link descriptor debugging
    fsldma: use channel name in printk output
    fsldma: move related helper functions near each other
    dmatest: fix automatic buffer unmap type
    drivers, pch_dma: Fix warning when CONFIG_PM=n.
    dmaengine/dw_dmac fix: use readl & writel instead of __raw_readl & __raw_writel
    avr32: at32ap700x: Specify DMA Flow Controller, Src and Dst msize
    dw_dmac: Setting Default Burst length for transfers as 16.
    dw_dmac: Allow src/dst msize & flow controller to be configured at runtime
    dw_dmac: Changing type of src_master and dest_master to u8.
    dw_dmac: Pass Channel Priority from platform_data
    dw_dmac: Pass Channel Allocation Order from platform_data
    ...

    Linus Torvalds
     
  • When we try to test all channels present on our controller together, some
    channels of lower priority may be very slow as compared to others. If number of
    transfers is unlimited, some channels may timeout and will not finish within 3
    seconds. Thus, while doing such regress testing we may need to have higher value
    of timeouts. This patch adds support for passing timeout value via module
    parameters. Default value is 3 msec, a negative value means max timeout
    possible.

    Signed-off-by: Viresh Kumar
    Signed-off-by: Dan Williams

    Viresh Kumar
     
  • As a side effect this makes IMX_DMA selectable on i.MX21 again, because
    the symbol ARCH_MX21 doesn't exist (MACH_MX21 would have been more correct).

    Signed-off-by: Uwe Kleine-König
    Signed-off-by: Dan Williams

    Uwe Kleine-König
     

21 Mar, 2011

1 commit

  • * 'trivial' of git://git.kernel.org/pub/scm/linux/kernel/git/mmarek/kbuild-2.6: (25 commits)
    video: change to new flag variable
    scsi: change to new flag variable
    rtc: change to new flag variable
    rapidio: change to new flag variable
    pps: change to new flag variable
    net: change to new flag variable
    misc: change to new flag variable
    message: change to new flag variable
    memstick: change to new flag variable
    isdn: change to new flag variable
    ieee802154: change to new flag variable
    ide: change to new flag variable
    hwmon: change to new flag variable
    dma: change to new flag variable
    char: change to new flag variable
    fs: change to new flag variable
    xtensa: change to new flag variable
    um: change to new flag variables
    s390: change to new flag variable
    mips: change to new flag variable
    ...

    Fix up trivial conflict in drivers/hwmon/Makefile

    Linus Torvalds
     

19 Mar, 2011

1 commit

  • * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial: (47 commits)
    doc: CONFIG_UNEVICTABLE_LRU doesn't exist anymore
    Update cpuset info & webiste for cgroups
    dcdbas: force SMI to happen when expected
    arch/arm/Kconfig: remove one to many l's in the word.
    asm-generic/user.h: Fix spelling in comment
    drm: fix printk typo 'sracth'
    Remove one to many n's in a word
    Documentation/filesystems/romfs.txt: fixing link to genromfs
    drivers:scsi Change printk typo initate -> initiate
    serial, pch uart: Remove duplicate inclusion of linux/pci.h header
    fs/eventpoll.c: fix spelling
    mm: Fix out-of-date comments which refers non-existent functions
    drm: Fix printk typo 'failled'
    coh901318.c: Change initate to initiate.
    mbox-db5500.c Change initate to initiate.
    edac: correct i82975x error-info reported
    edac: correct i82975x mci initialisation
    edac: correct commented info
    fs: update comments to point correct document
    target: remove duplicate include of target/target_core_device.h from drivers/target/target_core_hba.c
    ...

    Trivial conflict in fs/eventpoll.c (spelling vs addition)

    Linus Torvalds
     

18 Mar, 2011

1 commit

  • * 'defcfg' of master.kernel.org:/home/rmk/linux-2.6-arm:
    ARM: 6647/1: add Versatile Express defconfig
    ARM: 6644/1: mach-ux500: update the U8500 defconfig

    * 'drivers' of master.kernel.org:/home/rmk/linux-2.6-arm:
    ARM: 6764/1: pl011: factor out FIFO to TTY code
    ARM: 6763/1: pl011: add optional RX DMA to PL011 v2
    ARM: 6758/1: amba: support pm ops
    ARM: amba: make amba_driver id_table const
    ARM: amba: make internal ID table handling const
    ARM: amba: make probe() functions take const id tables
    ARM: 6662/1: amba: make amba_bustype non-static
    ARM: mmci: add dmaengine-based DMA support
    ARM: mmci: no need for separate host->data_xfered
    ARM: mmci: avoid unnecessary switch to data available PIO interrupts
    ARM: mmci: no need to call flush_dcache_page() with sg_miter API
    ARM: mmci: avoid reporting too many completed bytes on fifo overrun
    ALSA: AACI: make fifo variables more explanitory
    ALSA: AACI: no need to call snd_pcm_period_elapsed() for each period
    ALSA: AACI: use snd_pcm_lib_period_bytes()
    ALSA: AACI: clean up AACI announcement printk
    ALSA: AACI: fix channel mask selection
    ALSA: AACI: fix number of channels for record
    ALSA: AACI: fix multiple IRQ claiming

    * 'cyberpro-next' of master.kernel.org:/home/rmk/linux-2.6-arm:
    VIDEO: cyberpro: remove unused cyber2000fb_get_fb_var()
    VIDEO: cyberpro: remove useless function extreg pointers
    VIDEO: cyberpro: update handling of device structures
    VIDEO: cyberpro: add support for video capture I2C
    VIDEO: cyberpro: make 'reg_b0_lock' always present
    VIDEO: cyberpro: add I2C support
    VIDEO: cyberpro: select lowest multipler/divisor for PLL

    Linus Torvalds
     

17 Mar, 2011

1 commit


12 Mar, 2011

9 commits

  • The original dma_halt() function set the CA (channel abort) bit on both
    the 83xx and 85xx controllers. This is incorrect on the 83xx, where this
    bit means TEM (transfer error mask) instead. The 83xx doesn't support
    channel abort, so we only do this operation on 85xx.

    Signed-off-by: Ira W. Snyder
    Signed-off-by: Dan Williams

    Ira Snyder
     
  • This merges the fsl_chan_ld_cleanup() function into the dma_do_tasklet()
    function to reduce locking overhead. In the best case, we will be able
    to keep the DMA controller busy while we are freeing used descriptors.
    In all cases, the spinlock is grabbed two times fewer than before on
    each transaction.

    Signed-off-by: Ira W. Snyder
    Signed-off-by: Dan Williams

    Ira Snyder
     
  • Previous to this patch, the dma_run_dependencies() function has been
    called while holding desc_lock. This function can call tx_submit() for
    other descriptors, which may try to re-grab the lock. Avoid this by
    moving the descriptors to be cleaned up to a temporary list, and
    dropping the lock before cleanup.

    At the same time, add support for automatic unmapping of src and dst
    buffers, as offered by the DMAEngine API.

    Signed-off-by: Ira W. Snyder
    Signed-off-by: Dan Williams

    Ira Snyder
     
  • Enabling poisoning in the dmapool API quickly showed that the DMA
    controller was fetching descriptors that should not have been in use.
    This has caused intermittent controller lockups during testing.

    I have been unable to figure out the exact set of conditions which cause
    this to happen. However, I believe it is related to the driver using the
    hardware registers to track whether the controller is busy or not. The
    code can incorrectly decide that the hardware is idle due to lag between
    register writes and the hardware actually becoming busy.

    To fix this, the driver has been reworked to explicitly track the state
    of the hardware, rather than try to guess what it is doing based on the
    register values.

    This has passed dmatest with 10 threads per channel, 100000 iterations
    per thread several times without error. Previously, this would fail
    within a few seconds.

    Signed-off-by: Ira W. Snyder
    Signed-off-by: Dan Williams

    Ira Snyder
     
  • This fixes some minor violations of the coding style. It also changes
    the style of the device_prep_dma_*() function definitions so they are
    identical.

    Signed-off-by: Ira W. Snyder
    Signed-off-by: Dan Williams

    Ira Snyder
     
  • This adds better tracking to link descriptor allocations, callbacks, and
    frees. This makes it much easier to track errors with link descriptors.

    Signed-off-by: Ira W. Snyder
    Signed-off-by: Dan Williams

    Ira Snyder
     
  • This makes debugging the driver much easier when multiple channels are
    running concurrently. In addition, you can see how much descriptor
    memory each channel has allocated via the dmapool API in sysfs.

    Signed-off-by: Ira W. Snyder
    Signed-off-by: Dan Williams

    Ira Snyder
     
  • This is a purely cosmetic cleanup. It is nice to have related functions
    right next to each other in the code.

    Signed-off-by: Ira W. Snyder
    Signed-off-by: Dan Williams

    Ira Snyder
     
  • The dmatest code relies on the DMAEngine API to automatically call
    dma_unmap_single() on src buffers. The flags it passes are incorrect,
    fix them.

    Signed-off-by: Ira W. Snyder
    Signed-off-by: Dan Williams

    Ira Snyder
     

07 Mar, 2011

13 commits


02 Mar, 2011

1 commit

  • This patch adds dma support for Freescale MXS-based SoC i.MX23/28,
    including apbh-dma and apbx-dma.

    * apbh-dma and apbx-dma are supported in the driver as two mxs-dma
    instances.

    * apbh-dma is different between mx23 and mx28, hardware version
    register is used to differentiate.

    * mxs-dma supports pio function besides data transfer. The driver
    uses dma_data_direction DMA_NONE to identify the pio mode, and
    steals sgl and sg_len to get pio words and numbers from clients.

    * mxs dmaengine has some very specific features, like sense function
    and the special NAND support (nand_lock, nand_wait4ready). These
    are too specific to implemented in generic dmaengine driver.

    * The driver refers to imx-sdma and only a single descriptor is
    statically assigned to each channel.

    Signed-off-by: Shawn Guo
    Signed-off-by: Vinod Koul

    Shawn Guo
     

01 Mar, 2011

1 commit


28 Feb, 2011

1 commit