1. 13 Mar, 2008 7 commits
    • Harvey Harrison's avatar
      iop-adma.c: replace remaining __FUNCTION__ occurrences · 3d9b525b
      Harvey Harrison authored
      __FUNCTION__ is gcc-specific, use __func__
      Signed-off-by: default avatarHarvey Harrison <harvey.harrison@gmail.com>
      Signed-off-by: default avatarDan Williams <dan.j.williams@intel.com>
      3d9b525b
    • Zhang Wei's avatar
      fsldma: Add a completed cookie updated action in DMA finish interrupt. · 9c98718e
      Zhang Wei authored
      The patch 'fsldma: do not cleanup descriptors in hardirq context'
      (commit 222ccf9a) removed descriptors
      cleanup function to tasklet but the completed cookie do not updated.
      Thus, the DMA controller will get lots of duplicated transfer
      interrupts. Just make a completed cookie update in interrupt handler.
      And keep other cleanup jobs in tasklet function.
      Tested-by: default avatarSebastian Siewior <bigeasy@linutronix.de>
      Signed-off-by: default avatarZhang Wei <wei.zhang@freescale.com>
      Signed-off-by: default avatarDan Williams <dan.j.williams@intel.com>
      9c98718e
    • Zhang Wei's avatar
      fsldma: Add device_prep_dma_interrupt support to fsldma.c · 2187c269
      Zhang Wei authored
      This is a bug that I assigned DMA_INTERRUPT capability to fsldma
      but missing device_prep_dma_interrupt function. For a bug in
      dmaengine.c the driver passed BUG_ON() checking. The patch fixes it.
      Signed-off-by: default avatarZhang Wei <wei.zhang@freescale.com>
      Signed-off-by: default avatarDan Williams <dan.j.williams@intel.com>
      2187c269
    • Zhang Wei's avatar
      dmaengine: Fix a bug about BUG_ON() on DMA engine capability DMA_INTERRUPT. · 9b941c66
      Zhang Wei authored
      The device->device_prep_dma_interrupt function is used by
      DMA_INTERRUPT capability, not DMA_ZERO_SUM.
      Signed-off-by: default avatarZhang Wei <wei.zhang@freescale.com>
      Acked-by: default avatarMaciej Sosnowski <maciej.sosnowski@intel.com>
      Signed-off-by: default avatarDan Williams <dan.j.williams@intel.com>
      9b941c66
    • Zhang Wei's avatar
      fsldma: Fix fsldma.c warning messages when it's compiled under PPC64. · 56822843
      Zhang Wei authored
      There are warning messages reported by Stephen Rothwell with
      ARCH=powerpc allmodconfig build:
      
      drivers/dma/fsldma.c: In function 'fsl_dma_prep_memcpy':
      drivers/dma/fsldma.c:439: warning: comparison of distinct pointer types
      lacks a cast
      drivers/dma/fsldma.c: In function 'fsl_chan_xfer_ld_queue':
      drivers/dma/fsldma.c:584: warning: format '%016llx' expects type 'long long
      unsigned int', but argument 4 has type 'dma_addr_t'
      drivers/dma/fsldma.c: In function 'fsl_dma_chan_do_interrupt':
      drivers/dma/fsldma.c:668: warning: format '%x' expects type 'unsigned int',
      but argument 5 has type 'dma_addr_t'
      drivers/dma/fsldma.c:684: warning: format '%016llx' expects type 'long long
      unsigned int', but argument 4 has type 'dma_addr_t'
      drivers/dma/fsldma.c:684: warning: format '%016llx' expects type 'long long
      unsigned int', but argument 5 has type 'dma_addr_t'
      drivers/dma/fsldma.c:701: warning: format '%02x' expects type 'unsigned
      int', but argument 4 has type 'dma_addr_t'
      drivers/dma/fsldma.c: In function 'fsl_dma_self_test':
      drivers/dma/fsldma.c:840: warning: format '%d' expects type 'int', but
      argument 5 has type 'size_t'
      drivers/dma/fsldma.c: In function 'of_fsl_dma_probe':
      drivers/dma/fsldma.c:1010: warning: format '%08x' expects type 'unsigned
      int', but argument 5 has type 'resource_size_t'
      
      This patch fixed the above warning messages.
      Signed-off-by: default avatarZhang Wei <wei.zhang@freescale.com>
      Signed-off-by: default avatarDan Williams <dan.j.williams@intel.com>
      56822843
    • Linus Torvalds's avatar
      Merge master.kernel.org:/home/rmk/linux-2.6-arm · 93d74463
      Linus Torvalds authored
      * master.kernel.org:/home/rmk/linux-2.6-arm: (26 commits)
        [ARM] 4856/1: Orion: initialise the sixth PCIe MBUS mapping window as well
        [ARM] 4855/1: Orion: use correct ethernet unit address range
        [ARM] 4853/1: include uImage target in make help
        [ARM] 4851/1: ns9xxx: fix size of gpiores
        [ARM] AT91: correct at91sam9263ek LCD power gpio pin
        [ARM] replace remaining __FUNCTION__ occurrences
        [ARM] 4850/1: include generic pgtable.h for !CONFIG_MMU case
        [ARM] 4849/1: move ATAGS asm definitions
        [ARM] 4848/1: at91: remove false lockdep warnings
        [ARM] 4847/1: kprobes: fix compilation with CONFIG_DEBUG_FS=y
        [ARM] include/asm-arm - use angle brackets for includes
        [ARM] 4845/1: Orion: Ignore memory tags with invalid data
        ARM: OMAP2: Register the L4 io bus to boot OMAP2
        ARM: OMAP1: Compile in other 16xx boards to OSK defconfig
        ARM: OMAP1: Refresh H2 defconfig
        ARM: OMAP1: Refresh OSK defconfig
        ARM: OMAP: gpio lockdep updates
        ARM: OMAP1: omap1/pm.c build fix
        ARM: OMAP1: omap h2 regression fix
        ARM: OMAP1: Fix compile for boards depending on old gpio expander
        ...
      93d74463
    • Linus Torvalds's avatar
      Merge branch 'merge' of git://git.kernel.org/pub/scm/linux/kernel/git/paulus/powerpc · c463be35
      Linus Torvalds authored
      * 'merge' of git://git.kernel.org/pub/scm/linux/kernel/git/paulus/powerpc: (22 commits)
        [POWERPC] Fix large hash table allocation on Cell blades
        [POWERPC] Export empty_zero_page
        [POWERPC] Fix viodasd driver with scatterlist debug
        [POWERPC] Fix arch/powerpc/platforms/powermac/pic.c when !CONFIG_ADB_PMU
        [POWERPC] Fix drivers/macintosh/mediabay.c when !CONFIG_ADB_PMU
        [POWERPC] Fix undefined pmu_sys_suspended compilation error
        [POWERPC] Fix build of modular drivers/macintosh/apm_emu.c
        [POWERPC] Fix sleep on some powerbooks
        [POWERPC] Fix bogus test for unassigned PCI resources
        [POWERPC] Fix zImage-dtb.initrd build error
        [POWERPC] Add __ucmpdi2 for 64-bit comparisons in 32-bit kernels
        [POWERPC] spufs: fix rescheduling of non-runnable contexts
        [POWERPC] spufs: don't (ab)use SCHED_IDLE
        [POWERPC] QE: Make qe_get_firmware_info reentrant
        [POWERPC] 83xx: Make 83xx perfmon support selectable
        [PPC] 8xx: swap bug-fix
        [POWERPC] 85xx: sbc8548 - Fix incorrect PCI-X and PCI interrupt map
        [POWERPC] QE: Fix QE firmware uploading limit
        [POWERPC] 8xx: Fix wrapper platform for adder875, and combine defconfigs.
        [POWERPC] 8xx: fix swap
        ...
      c463be35
  2. 12 Mar, 2008 33 commits