15 Jan, 2012

2 commits

  • * 'upstream' of git://git.linux-mips.org/pub/scm/ralf/upstream-linus: (119 commits)
    MIPS: Delete unused function add_temporary_entry.
    MIPS: Set default pci cache line size.
    MIPS: Flush huge TLB
    MIPS: Octeon: Remove SYS_SUPPORTS_HIGHMEM.
    MIPS: Octeon: Add support for OCTEON II PCIe
    MIPS: Octeon: Update PCI Latency timer and enable more error reporting.
    MIPS: Alchemy: Update cpu-feature-overrides
    MIPS: Alchemy: db1200: Improve PB1200 detection.
    MIPS: Alchemy: merge Au1000 and Au1300-style IRQ controller code.
    MIPS: Alchemy: chain IRQ controllers to MIPS IRQ controller
    MIPS: Alchemy: irq: register pm at irq init time
    MIPS: Alchemy: Touchscreen support on DB1100
    MIPS: Alchemy: Hook up IrDA on DB1000/DB1100
    net/irda: convert au1k_ir to platform driver.
    MIPS: Alchemy: remove unused board headers
    MTD: nand: make au1550nd.c a platform_driver
    MIPS: Netlogic: Mark Netlogic chips as SMT capable
    MIPS: Netlogic: Add support for XLP 3XX cores
    MIPS: Netlogic: Merge some of XLR/XLP wakup code
    MIPS: Netlogic: Add default XLP config.
    ...

    Fix up trivial conflicts in arch/mips/kernel/{perf_event_mipsxx.c,
    traps.c} and drivers/tty/serial/Makefile

    Linus Torvalds
     
  • Autogenerated GPG tag for Rusty D1ADB8F1: 15EE 8D6C AB0E 7F0C F999 BFCB D920 0E6C D1AD B8F1

    * tag 'for-linus' of git://github.com/rustyrussell/linux:
    module_param: check that bool parameters really are bool.
    intelfbdrv.c: bailearly is an int module_param
    paride/pcd: fix bool verbose module parameter.
    module_param: make bool parameters really bool (drivers & misc)
    module_param: make bool parameters really bool (arch)
    module_param: make bool parameters really bool (core code)
    kernel/async: remove redundant declaration.
    printk: fix unnecessary module_param_name.
    lirc_parallel: fix module parameter description.
    module_param: avoid bool abuse, add bint for special cases.
    module_param: check type correctness for module_param_array
    modpost: use linker section to generate table.
    modpost: use a table rather than a giant if/else statement.
    modules: sysfs - export: taint, coresize, initsize
    kernel/params: replace DEBUGP with pr_debug
    module: replace DEBUGP with pr_debug
    module: struct module_ref should contains long fields
    module: Fix performance regression on modules with large symbol tables
    module: Add comments describing how the "strmap" logic works

    Fix up conflicts in scripts/mod/file2alias.c due to the new linker-
    generated table approach to adding __mod_*_device_table entries. The
    ARM sa11x0 mcp bus needed to be converted to that too.

    Linus Torvalds
     

14 Jan, 2012

1 commit

  • MMC highlights for 3.3:

    Core:
    * Support for the HS200 high-speed eMMC mode.
    * Support SDIO 3.0 Ultra High Speed cards.
    * Kill pending block requests immediately if card is removed.
    * Enable the eMMC feature for locking boot partitions read-only
    until next power on, exposed via sysfs.

    Drivers:
    * Runtime PM support for Intel Medfield SDIO.
    * Suspend/resume support for sdhci-spear.
    * sh-mmcif now processes requests asynchronously.

    * tag 'mmc-merge-for-3.3-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/cjb/mmc: (58 commits)
    mmc: fix a deadlock between system suspend and MMC block IO
    mmc: sdhci: restore the enabled dma when do reset all
    mmc: dw_mmc: miscaculated the fifo-depth with wrong bit operation
    mmc: host: Adds support for eMMC 4.5 HS200 mode
    mmc: core: HS200 mode support for eMMC 4.5
    mmc: dw_mmc: fixed wrong bit operation for SDMMC_GET_FCNT()
    mmc: core: Separate the timeout value for cache-ctrl
    mmc: sdhci-spear: Fix compilation error
    mmc: sdhci: Deal with failure case in sdhci_suspend_host
    mmc: dw_mmc: Clear the DDR mode for non-DDR
    mmc: sd: Fix SDR12 timing regression
    mmc: sdhci: Fix tuning timer incorrect setting when suspending host
    mmc: core: Add option to prevent eMMC sleep command
    mmc: omap_hsmmc: use threaded irq handler for card-detect.
    mmc: sdhci-pci: enable runtime PM for Medfield SDIO
    mmc: sdhci: Always pass clock request value zero to set_clock host op
    mmc: sdhci-pci: remove SDHCI_QUIRK2_OWN_CARD_DETECTION
    mmc: sdhci-pci: get gpio numbers from platform data
    mmc: sdhci-pci: add platform data
    mmc: sdhci: prevent card detection activity for non-removable cards
    ...

    Linus Torvalds
     

13 Jan, 2012

13 commits

  • module_param(bool) used to counter-intuitively take an int. In
    fddd5201 (mid-2009) we allowed bool or int/unsigned int using a messy
    trick.

    It's time to remove the int/unsigned int option. For this version
    it'll simply give a warning, but it'll break next kernel version.

    Acked-by: Mauro Carvalho Chehab
    Signed-off-by: Rusty Russell

    Rusty Russell
     
  • Performing MMC block IO with simultaneous STR can lead to a deadlock: the
    mmc_pm_notify() function claims the host and then calls bus .remove()
    method, which lands in mmc_blk_remove(), which calls mmc_blk_remove_req()
    then it goes to -> mmc_cleanup_queue() -> kthread_stop(), which waits for
    the mmc-block thread to stop. If the mmc-block thread at that time is
    processing block requests, it will also try to claim the host in
    mmc_blk_issue_rq() and block there. This patch fixes the problem by
    calling .remove() before claiming the host.

    Signed-off-by: Guennadi Liakhovetski
    Acked-by: Arindam Nath
    Signed-off-by: Chris Ball

    Guennadi Liakhovetski
     
  • If dma is enabled, it'll be cleared when reset all is performed, this can
    be observed on some platforms, such as P2041 which has a version 2.3
    controller, but platform like P4080 which has a version 2.2 controller,
    does not suffer this, so we will check if the dma is enabled, we should
    restore it after reset all.

    Signed-off-by: Shaohui Xie
    Signed-off-by: Chris Ball

    Shaohui Xie
     
  • In FIFOTH register, the RX_WMark field (bits[27:16]) defaults to
    FIFO_DEPTH - 1. When reading it, bits[26:16] were being used, so
    fix it to use the mask 0xfff instead of 0x7ff.

    Signed-off-by: Jaehoon Chung
    Reviewed-by: James Hogan
    Signed-off-by: Chris Ball

    Jaehoon Chung
     
  • This patch adds support for the HS200 mode on the host side.
    Also enables the tuning feature required when the HS200 mode
    is selected.

    Signed-off-by: Girish K S
    Signed-off-by: Chris Ball

    Girish K S
     
  • This patch adds the support of the HS200 bus speed for eMMC 4.5 devices.
    The eMMC 4.5 devices have support for 200MHz bus speed. The function
    prototype of the tuning function is modified to handle the tuning
    command number which is different in sd and mmc case.

    Signed-off-by: Girish K S
    Signed-off-by: Philip Rakity
    Signed-off-by: Chris Ball

    Girish K S
     
  • In status register, fifo_count is bit[29:17].
    (0x1FFF is correct)

    Signed-off-by: Jaehoon Chung
    Signed-off-by: Kyungmin Park
    Acked-by: Will Newton
    Signed-off-by: Chris Ball

    Jaehoon Chung
     
  • Turning the cache off implies flushing cache which doesn't define
    maximum timeout unlike cache-on. This patch will apply the generic
    CMD6 timeout only for cache-on. Additionally the kernel message is
    added for checking failure case of cache-on.

    Signed-off-by: Seungwon Jeon
    Signed-off-by: Chris Ball

    Seungwon Jeon
     
  • With the inclusion of following patch (59b5bc3929b37):
    "mmc: sdhci: remove "state" argument from sdhci_suspend_host"

    we get a compilation error for sdhci-spear:
    drivers/mmc/host/sdhci-spear.c:283:2: error: too many arguments to function
    ‘sdhci_suspend_host’

    This patch fixes this error.

    Signed-off-by: Viresh Kumar
    Cc: stable
    Signed-off-by: Chris Ball

    Viresh Kumar
     
  • If there are errors happened in sdhci_suspend_host, handle it so that
    when the function returns with an error, the host's behaviour is the
    same before this function call, e.g. card detection is enabled and
    tuning timer is active, etc.

    Signed-off-by: Philip Rakity
    Signed-off-by: Aaron Lu
    Cc: Adrian Hunter
    Signed-off-by: Chris Ball

    Aaron Lu
     
  • UHS_REG should be cleared for non-DDR mode. But currently there is
    no way to clear DDR mode, if it is already set once. This patch adds
    clearing DDR mode for non-DDR mode.

    Signed-off-by: Seungwon Jeon
    Acked-by: Will Newton
    Signed-off-by: Chris Ball

    Seungwon Jeon
     
  • This patch fixes a failure to recognize SD cards reported on a Dell
    Vostro with O2 Micro SD card reader. Patch 49c468f ("mmc: sd: add
    support for uhs bus speed mode selection") caused the problem, by
    setting the SDHCI_CTRL_HISPD flag even for legacy timings.

    Signed-off-by: Alexander Elbs
    Acked-by: Philip Rakity
    Acked-by: Arindam Nath
    Cc: stable
    Signed-off-by: Chris Ball

    Alexander Elbs
     
  • When suspending host, the tuning timer shoule be deactivated.
    And the HOST_NEEDS_TUNING flag should be set after tuning timer is
    deactivated.

    Signed-off-by: Philip Rakity
    Signed-off-by: Aaron Lu
    Acked-by: Adrian Hunter
    Cc: stable
    Signed-off-by: Chris Ball

    Aaron Lu
     

12 Jan, 2012

24 commits