24 May, 2010

1 commit

  • * git://git.kernel.org/pub/scm/linux/kernel/git/lethal/sh-2.6: (25 commits)
    sh: fix up sh7785lcr_32bit_defconfig.
    arch/sh/lib/strlen.S: Checkpatch cleanup
    sh: fix up sh7786 dmaengine build.
    sh: guard cookie consistency across termination in the DMA driver
    sh: prevent the DMA driver from unloading, while in use
    sh: fix Oops in the serial SCI driver
    sh: allow platforms to specify SD-card supported voltages
    mmc: let MFD's provide supported Vdd card voltages to tmio_mmc
    sh: disable SD-card write-protection detection on kfr2r09
    mfd: pass platform flags down to the tmio_mmc driver
    tmio: add a platform flag to disable card write-protection detection
    sh: Add SDHI DMA support to migor
    sh: Add SDHI DMA support to kfr2r09
    sh: Add SDHI DMA support to ms7724se
    sh: Add SDHI DMA support to ecovec
    mmc: add DMA support to tmio_mmc driver, when used on SuperH
    sh: prepare the SDHI MFD driver to pass DMA configuration to tmio_mmc.c
    mmc: prepare tmio_mmc for passing of DMA configuration from the MFD cell
    sh: add DMA slave definitions to sh7724
    sh: add DMA slaves for two SDHI controllers to sh7722
    ...

    Linus Torvalds
     

22 May, 2010

7 commits

  • Signed-off-by: Guennadi Liakhovetski
    Acked-by: Ian Molton
    Signed-off-by: Paul Mundt

    Guennadi Liakhovetski
     
  • Write-protection status is not always available, e.g., micro-SD cards do not
    have a write-protection switch at all. This patch adds a flag to let platforms
    force tmio_mmc to consider the card writable.

    Signed-off-by: Guennadi Liakhovetski
    Acked-by: Ian Molton
    Signed-off-by: Paul Mundt

    Guennadi Liakhovetski
     
  • SDHI controllers on SuperH, served by the tmio_mmc driver, can use slave DMA
    for data transfer. This patch adds support for the dmaengine API to the
    tmio_mmc driver.

    Signed-off-by: Guennadi Liakhovetski
    Acked-by: Ian Molton
    Signed-off-by: Paul Mundt

    Guennadi Liakhovetski
     
  • Merging in current state of Linus' tree to deal with merge conflicts and
    build failures in vio.c after merge.

    Conflicts:
    drivers/i2c/busses/i2c-cpm.c
    drivers/i2c/busses/i2c-mpc.c
    drivers/net/gianfar.c

    Also fixed up one line in arch/powerpc/kernel/vio.c to use the
    correct node pointer.

    Signed-off-by: Grant Likely

    Grant Likely
     
  • .name, .match_table and .owner are duplicated in both of_platform_driver
    and device_driver. This patch is a removes the extra copies from struct
    of_platform_driver and converts all users to the device_driver members.

    This patch is a pretty mechanical change. The usage model doesn't change
    and if any drivers have been missed, or if anything has been fixed up
    incorrectly, then it will fail with a compile time error, and the fixup
    will be trivial. This patch looks big and scary because it touches so
    many files, but it should be pretty safe.

    Signed-off-by: Grant Likely
    Acked-by: Sean MacLennan

    Grant Likely
     
  • * 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/djbw/async_tx:
    DMAENGINE: extend the control command to include an arg
    async_tx: trim dma_async_tx_descriptor in 'no channel switch' case
    DMAENGINE: DMA40 fix for allocation of logical channel 0
    DMAENGINE: DMA40 support paused channel status
    dmaengine: mpc512x: Use resource_size
    DMA ENGINE: Do not reset 'private' of channel
    ioat: Remove duplicated devm_kzalloc() calls for ioatdma_device
    ioat3: disable cacheline-unaligned transfers for raid operations
    ioat2,3: convert to producer/consumer locking
    ioat: convert to circ_buf
    DMAENGINE: Support for ST-Ericssons DMA40 block v3
    async_tx: use of kzalloc/kfree requires the include of slab.h
    dmaengine: provide helper for setting txstate
    DMAENGINE: generic channel status v2
    DMAENGINE: generic slave control v2
    dma: timb-dma: Update comment and fix compiler warning
    dma: Add timb-dma
    DMAENGINE: COH 901 318 fix bytesleft
    DMAENGINE: COH 901 318 rename confusing vars

    Linus Torvalds
     
  • * 'msm-mmc_sdcc' of git://codeaurora.org/quic/kernel/dwalker/linux-msm:
    drivers: mmc: msm_sdcc: Add EMBEDDED_SDIO support
    mmc: msm_sdcc: Fix issue where clocks could be disabled mid transaction
    mmc: msm_sdcc: Fix the dma exec function to use the proper delays
    mmc: msm_sdcc: Don't set host->curr.mrq until after we're sure the busclk timer won't fire
    mmc: msm_sdcc: Enable busclk idle timer for power savings
    mmc: msm_sdcc: Don't disable interrupts while suspending
    mmc: msm_sdcc: Fix issue where we might not end a sucessfull request
    mmc: msm_sdcc: Featurize busclock power save and disable it by default
    mmc: msm_sdcc: Fix bug where busclk expiry timer was not properly disabled
    mmc: msm_sdcc: Reduce command timeouts and improve reliability.
    mmc: msm_sdcc: Schedule clock disable after probe
    mmc: msm_sdcc: Wrap readl/writel calls with appropriate clk delays
    mmc: msm_sdcc: Driver clocking/irq improvements
    msm: Add 'execute' datamover callback
    mmc: msm_sdcc: Snoop SDIO_CCCR_ABORT register
    mmc: msm_sdcc: Clean up clock management and add a 10us delay after enabling clocks

    Linus Torvalds
     

20 May, 2010

1 commit

  • * 'devel' of master.kernel.org:/home/rmk/linux-2.6-arm: (224 commits)
    ARM: remove 'select GENERIC_TIME'
    ARM: 6136/1: ARCH_REQUIRE_GPIOLIB selects GENERIC_GPIO
    ARM: 6074/1: oprofile: convert from sysdev to platform device
    ARM: 6073/1: oprofile: remove old files and update KConfig
    ARM: 6072/1: oprofile: use perf-events framework as backend
    ARM: 6071/1: perf-events: allow modules to query the number of hardware counters
    ARM: 6070/1: perf-events: add support for xscale PMUs
    ARM: 6069/1: perf-events: use numeric ID to identify PMU
    ARM: 6064/1: pmu: register IRQs at runtime
    ARM: Optionally allow ARMv6 to use 'normal, bufferable' memory for DMA
    ARM: 6134/1: Handle instruction cache maintenance fault properly
    ARM: nwfpe: allow debugging output to be configured at runtime
    ARM: rename mach_cpu_disable() to platform_cpu_disable()
    ARM: 6132/1: PL330: Add common core driver
    ARM: 6094/1: Extend cache-l2x0 to support the 16-way PL310
    ARM: Move memory mapping into mmu.c
    ARM: Ensure meminfo is sorted prior to sanity_check_meminfo
    ARM: Remove useless linux/bootmem.h includes
    ARM: convert /proc/cpu/aligment to seq_file
    arm: use asm-generic/scatterlist.h
    ...

    Linus Torvalds
     

19 May, 2010

1 commit


18 May, 2010

3 commits


16 May, 2010

1 commit

  • As we were using an internal dma flushing routine, this patch changes to
    the DMA API flush_kernel_dcache_page(). Driver is able to compile now.

    [akpm@linux-foundation.org: flush_kernel_dcache_page() comes before kunmap_atomic()]
    Signed-off-by: Nicolas Ferre
    Cc: James Bottomley
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Nicolas Ferre
     

12 May, 2010

4 commits


11 May, 2010

1 commit

  • delay_detect in HZ is confusing, convert it to be millisecond based. And
    thus remove those unnecessary call to msecs_to_jiffies() at runtime for
    this field. Other constants are converted assuming HZ == 100, which are
    basically true for those platforms.

    The assignment in csb726.c was incorrect, and is fixed in this patch as
    a result.

    Signed-off-by: Eric Miao
    Acked-by: Robert Jarzmik
    Acked-by: Marc Zyngier
    Acked-by: Marek Vasut
    Acked-by: Mike Rapoport
    Acked-by: Daniel Mack

    Eric Miao
     

14 Apr, 2010

2 commits

  • This introduce the field f_max into the mmci_platform_data,
    making it possible to pass in a desired block clocking frequency
    from a board configuration. This is often more desirable than
    using a module parameter. We keep the module parameter as a
    fallback as well as the default frequency specified for this
    parameter if a parameter is not provided.

    This also adds some kerneldoc style documentation to the
    platform data struct in mmci.h.

    Signed-off-by: Linus Walleij
    Signed-off-by: Russell King

    Linus Walleij
     
  • This adds support for an 8bit wide bus to the card (data lines
    MCIDAT0 through 7 exist) on the ST Micro version and alters the
    U300 platform to support this. Also add some ST_ prefix to the
    ST-specific registers.

    Signed-off-by: Linus Walleij
    Signed-off-by: Russell King

    Linus Walleij
     

07 Apr, 2010

1 commit

  • The reset of data lines when the card is removed from the cage results in
    a failure.The failure is seen if the card is removed from the cage when TC
    is pending after a CMD with data received CC.The reset logic leaves the
    controller in a state where niether a TC is received nor DTO.

    The rest code can be safely removed here since it is taken care in the IRQ
    handler.

    Signed-off-by: Madhusudhan Chikkature
    Cc: Adrian Hunter
    Cc:
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Madhusudhan Chikkature
     

30 Mar, 2010

1 commit

  • …it slab.h inclusion from percpu.h

    percpu.h is included by sched.h and module.h and thus ends up being
    included when building most .c files. percpu.h includes slab.h which
    in turn includes gfp.h making everything defined by the two files
    universally available and complicating inclusion dependencies.

    percpu.h -> slab.h dependency is about to be removed. Prepare for
    this change by updating users of gfp and slab facilities include those
    headers directly instead of assuming availability. As this conversion
    needs to touch large number of source files, the following script is
    used as the basis of conversion.

    http://userweb.kernel.org/~tj/misc/slabh-sweep.py

    The script does the followings.

    * Scan files for gfp and slab usages and update includes such that
    only the necessary includes are there. ie. if only gfp is used,
    gfp.h, if slab is used, slab.h.

    * When the script inserts a new include, it looks at the include
    blocks and try to put the new include such that its order conforms
    to its surrounding. It's put in the include block which contains
    core kernel includes, in the same order that the rest are ordered -
    alphabetical, Christmas tree, rev-Xmas-tree or at the end if there
    doesn't seem to be any matching order.

    * If the script can't find a place to put a new include (mostly
    because the file doesn't have fitting include block), it prints out
    an error message indicating which .h file needs to be added to the
    file.

    The conversion was done in the following steps.

    1. The initial automatic conversion of all .c files updated slightly
    over 4000 files, deleting around 700 includes and adding ~480 gfp.h
    and ~3000 slab.h inclusions. The script emitted errors for ~400
    files.

    2. Each error was manually checked. Some didn't need the inclusion,
    some needed manual addition while adding it to implementation .h or
    embedding .c file was more appropriate for others. This step added
    inclusions to around 150 files.

    3. The script was run again and the output was compared to the edits
    from #2 to make sure no file was left behind.

    4. Several build tests were done and a couple of problems were fixed.
    e.g. lib/decompress_*.c used malloc/free() wrappers around slab
    APIs requiring slab.h to be added manually.

    5. The script was run on all .h files but without automatically
    editing them as sprinkling gfp.h and slab.h inclusions around .h
    files could easily lead to inclusion dependency hell. Most gfp.h
    inclusion directives were ignored as stuff from gfp.h was usually
    wildly available and often used in preprocessor macros. Each
    slab.h inclusion directive was examined and added manually as
    necessary.

    6. percpu.h was updated not to include slab.h.

    7. Build test were done on the following configurations and failures
    were fixed. CONFIG_GCOV_KERNEL was turned off for all tests (as my
    distributed build env didn't work with gcov compiles) and a few
    more options had to be turned off depending on archs to make things
    build (like ipr on powerpc/64 which failed due to missing writeq).

    * x86 and x86_64 UP and SMP allmodconfig and a custom test config.
    * powerpc and powerpc64 SMP allmodconfig
    * sparc and sparc64 SMP allmodconfig
    * ia64 SMP allmodconfig
    * s390 SMP allmodconfig
    * alpha SMP allmodconfig
    * um on x86_64 SMP allmodconfig

    8. percpu.h modifications were reverted so that it could be applied as
    a separate patch and serve as bisection point.

    Given the fact that I had only a couple of failures from tests on step
    6, I'm fairly confident about the coverage of this conversion patch.
    If there is a breakage, it's likely to be something in one of the arch
    headers which should be easily discoverable easily on most builds of
    the specific arch.

    Signed-off-by: Tejun Heo <tj@kernel.org>
    Guess-its-ok-by: Christoph Lameter <cl@linux-foundation.org>
    Cc: Ingo Molnar <mingo@redhat.com>
    Cc: Lee Schermerhorn <Lee.Schermerhorn@hp.com>

    Tejun Heo
     

27 Mar, 2010

1 commit

  • Convert the device_terminate_all() operation on the
    DMA engine to a generic device_control() operation
    which can now optionally support also pausing and
    resuming DMA on a certain channel. Implemented for the
    COH 901 318 DMAC as an example.

    [dan.j.williams@intel.com: update for timberdale]
    Signed-off-by: Linus Walleij
    Acked-by: Mark Brown
    Cc: Maciej Sosnowski
    Cc: Nicolas Ferre
    Cc: Pavel Machek
    Cc: Li Yang
    Cc: Guennadi Liakhovetski
    Cc: Paul Mundt
    Cc: Ralf Baechle
    Cc: Haavard Skinnemoen
    Cc: Magnus Damm
    Cc: Liam Girdwood
    Cc: Joe Perches
    Cc: Roland Dreier
    Signed-off-by: Dan Williams

    Linus Walleij
     

25 Mar, 2010

1 commit

  • In the extended CSD register the CARD_TYPE is an 8-bit value of which the
    upper 6 bits were reserved in JEDEC specifications prior to version 4.4.
    In version 4.4 two of the reserved bits were designated for identifying
    support for the newly added High-Speed Dual Data Rate. Unfortunately the
    mmc_read_ext_csd() function required that the reserved bits be zero
    instead of ignoring them as it should.

    This patch makes mmc_read_ext_csd() ignore the CARD_TYPE bits that are
    reserved or not yet supported. It also stops the function jumping to the
    end as though an error occurred, when it is only warns that the CARD_TYPE
    bits (that it does interpret) are invalid.

    Signed-off-by: Adrian Hunter
    Cc:
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Adrian Hunter
     

19 Mar, 2010

15 commits