16 Nov, 2012

2 commits

  • The memory device can be removed by 2 ways:
    1. send eject request by SCI
    2. echo 1 >/sys/bus/pci/devices/PNP0C80:XX/eject

    We handle the 1st case in the module acpi_memhotplug, and handle
    the 2nd case in ACPI eject notification. This 2 events may happen
    at the same time, so we may touch acpi_memory_device.res_list at
    the same time. This patch reimplements memory-hotremove support
    through an ACPI eject notification. Now the memory device is
    offlined and hotremoved only in the function acpi_memory_device_remove()
    which is protected by device_lock().

    Signed-off-by: Wen Congyang
    Reviewed-by: Yasuaki Ishimatsu
    Reviewed-by: Toshi Kani
    Signed-off-by: Rafael J. Wysocki

    Wen Congyang
     
  • The memory device can be removed by 2 ways:
    1. send eject request by SCI
    2. echo 1 >/sys/bus/pci/devices/PNP0C80:XX/eject

    In the 1st case, acpi_memory_disable_device() will be called.
    In the 2nd case, acpi_memory_device_remove() will be called.
    acpi_memory_device_remove() will also be called when we unbind the
    memory device from the driver acpi_memhotplug or a driver initialization
    fails.

    acpi_memory_disable_device() has already implemented a code which
    offlines memory and releases acpi_memory_info struct. But
    acpi_memory_device_remove() has not implemented it yet.

    So the patch move offlining memory and releasing acpi_memory_info struct
    codes to a new function acpi_memory_remove_memory(). And it is used by both
    acpi_memory_device_remove() and acpi_memory_disable_device().

    Signed-off-by: Yasuaki Ishimatsu
    Signed-off-by: Wen Congyang
    Acked-by: David Rientjes
    Signed-off-by: Rafael J. Wysocki

    Yasuaki Ishimatsu
     

15 Nov, 2012

19 commits

  • The memory device has been ejected and powoffed, so we can call
    acpi_bus_trim() to remove the memory device from acpi bus.

    Signed-off-by: Wen Congyang
    Signed-off-by: Rafael J. Wysocki

    Wen Congyang
     
  • Add newline to printk so that the message is on a line
    by itself and not merged with something unrelated to it.

    Reported-by: Toralf Förster
    Signed-off-by: Randy Dunlap
    Signed-off-by: Rafael J. Wysocki

    Randy Dunlap
     
  • There is a seemingly useless check in drivers/acpi/osl.c added by
    commit bc73675 (ACPI: fixes a false alarm from lockdep), which really
    is necessary to avoid false positive lockdep complaints. Document
    this and rearrange the code related to it so that it makes fewer
    checks.

    Signed-off-by: Rafael J. Wysocki
    Acked-by: Yinghai Lu

    Rafael J. Wysocki
     
  • Added support of CPU hot-remove via an ACPI eject notification.
    It calls acpi_bus_hot_remove_device(), which shares the same code
    path with the sysfs eject operation. acpi_os_hotplug_execute()
    runs the hot-remove operation in kacpi_hotplug_wq and serializes
    it between ACPI hot-remove and sysfs eject requests.

    Signed-off-by: Toshi Kani
    Reviewed-by: Yasuaki Ishimatsu
    Tested-by: IgorMammedov
    Tested-by: Vijay Mohan Pandarathil
    Tested-by: Prarit Bhargava
    Signed-off-by: Rafael J. Wysocki

    Toshi Kani
     
  • Exported acpi_os_hotplug_execute() and acpi_bus_hot_remove_device()
    so that they can be called from modules for hot-remove operations.

    Signed-off-by: Toshi Kani
    Signed-off-by: Rafael J. Wysocki

    Toshi Kani
     
  • ACPI devices are glued with physical devices through _ADR object, ACPI
    enumerated devices are identified with _UID object. Currently we can
    observe _HID/_CID through sysfs interfaces (hid/modalias), but there's
    no way for us to check _ADR/_UID from user space. This patch closes
    this gap for ACPI developers and users.

    [rjw: Modified the subject and changelog slightly.]
    Signed-off-by: Lv Zheng
    Signed-off-by: Rafael J. Wysocki

    Lv Zheng
     
  • The _UID object is optional, but is required when the device has no
    other way to report a persistent unique device ID.
    This patch is required for ACPI 5.0 ACPI enumerated IP cores.

    Signed-off-by: Lv Zheng
    Signed-off-by: Rui Zhang
    Signed-off-by: Rafael J. Wysocki

    Lv Zheng
     
  • acpi_no_s4_hw_signature is defined in #ifdef CONFIG_HIBERNATION block,
    but the current code put the declaration in #ifdef CONFIG_PM_SLEEP block.

    I happened to meet this issue when I turned off PM_SLEEP config manually:
    arch/x86/kernel/acpi/sleep.c:100:4: error: implicit declaration of function ‘acpi_no_s4_hw_signature’ [-Werror=implicit-function-declaration]

    Signed-off-by: Yuanhan Liu
    Reviewed-by: Fengguang Wu
    Signed-off-by: Rafael J. Wysocki

    Yuanhan Liu
     
  • The ACPI specificiation would like us to save NVS at hibernation time,
    but makes no mention of saving NVS over S3. Not all versions of
    Windows do this either, and it is clear that not all machines need NVS
    saved/restored over S3. Allow the user to improve their suspend/resume
    time by disabling the NVS save/restore at S3 time, but continue to do
    the NVS save/restore for S4 as specified.

    Signed-off-by: Kristen Carlson Accardi
    Signed-off-by: Rafael J. Wysocki

    Kristen Carlson Accardi
     
  • Removed lockable in struct acpi_device_flags since it is no
    longer used by any code. acpi_bus_hot_remove_device() cannot
    use this flag because acpi_bus_trim() frees up its acpi_device
    object. Furthermore, the dock driver calls _LCK method without
    using this lockable flag.

    Signed-off-by: Toshi Kani
    Reviewed-by: Yasuaki Ishimatsu
    Signed-off-by: Rafael J. Wysocki

    Toshi Kani
     
  • During hot-remove, acpi_bus_hot_remove_device() calls ACPI _LCK
    method when device->flags.lockable is set. However, this device
    pointer is stale since the target acpi_device object has been
    already kfree'd by acpi_bus_trim().

    The flags.lockable indicates whether or not this ACPI object
    implements _LCK method. Fix the stable pointer access by replacing
    it with acpi_get_handle() to check if _LCK is implemented.

    Signed-off-by: Toshi Kani
    Reviewed-by: Yasuaki Ishimatsu
    Signed-off-by: Rafael J. Wysocki

    Toshi Kani
     
  • "ACPI0004","PNP0A05" and "PNP0A06" are all defined in array
    container_device_ids[], so use it, but not the hard coding style.

    Also, introduce a new API is_container_device() to determine if a
    device is a container device.

    Signed-off-by: Tang Chen
    Signed-off-by: Yasuaki Ishimatsu
    Reviewed-by: Bjorn Helgaas
    Signed-off-by: Rafael J. Wysocki

    Tang Chen
     
  • This is to fix a regression https://bugzilla.kernel.org/show_bug.cgi?id=47981

    The CheckPoint P-20-00 works ok before new machines (2008 and later) are
    forced to use the bridge _CRS info by default in 2.6.34. Add this quirk
    to restore its old way of working: not using bridge _CRS info.

    Signed-off-by: Feng Tang
    Signed-off-by: Rafael J. Wysocki

    Feng Tang
     
  • Even if acpi_processor_handle_eject() offlines cpu, there is a chance
    to online the cpu after that. So the patch closes the window by using
    get/put_online_cpus().

    Why does the patch change _cpu_up() logic?

    The patch cares the race of hot-remove cpu and _cpu_up(). If the patch
    does not change it, there is the following race.

    hot-remove cpu | _cpu_up()
    ------------------------------------- ------------------------------------
    call acpi_processor_handle_eject() |
    call cpu_down() |
    call get_online_cpus() |
    | call cpu_hotplug_begin() and stop here
    call arch_unregister_cpu() |
    call acpi_unmap_lsapic() |
    call put_online_cpus() |
    | start and continue _cpu_up()
    return acpi_processor_remove() |
    continue hot-remove the cpu |

    So _cpu_up() can continue to itself. And hot-remove cpu can also continue
    itself. If the patch changes _cpu_up() logic, the race disappears as below:

    hot-remove cpu | _cpu_up()
    -----------------------------------------------------------------------
    call acpi_processor_handle_eject() |
    call cpu_down() |
    call get_online_cpus() |
    | call cpu_hotplug_begin() and stop here
    call arch_unregister_cpu() |
    call acpi_unmap_lsapic() |
    cpu's cpu_present is set |
    to false by set_cpu_present()|
    call put_online_cpus() |
    | start _cpu_up()
    | check cpu_present() and return -EINVAL
    return acpi_processor_remove() |
    continue hot-remove the cpu |

    Signed-off-by: Yasuaki Ishimatsu
    Reviewed-by: Srivatsa S. Bhat
    Reviewed-by: Toshi Kani
    Signed-off-by: Rafael J. Wysocki

    Yasuaki Ishimatsu
     
  • Replace a few calls to strict_strtoul() in acpi_pad.c with kstrtoul()
    and use pr_warn() instead of printk() in the same file.

    [rjw: Modified the subject and changelog.]
    Signed-off-by: Josh Taylor
    Signed-off-by: Rafael J. Wysocki

    Josh
     
  • Combined two ACPI namespace walks, which look for dock stations
    and then bays separately, into a single walk.

    Signed-off-by: Toshi Kani
    Reviewed-by: Yasuaki Ishimatsu
    Signed-off-by: Rafael J. Wysocki

    Toshi Kani
     
  • Currently when advance_transaction() is called in EC interrupt handler,
    if there is nothing driver can do with the interrupt, it will be taken
    as a false one.

    But this is not always true, as there may be a SCI EC interrupt fired
    during normal read/write operation, which should not be counted as a
    false one. This patch fixes the problem.

    Signed-off-by: Feng Tang
    Signed-off-by: Rafael J. Wysocki

    Feng Tang
     
  • Add more debug info for EC transaction debugging, like the interrupt
    status register value, the detail info of a EC transaction.

    Signed-off-by: Feng Tang
    Signed-off-by: Rafael J. Wysocki

    Feng Tang
     
  • Current member names for mutex/spinlock are a little confusing.

    Change the
    {
    struct mutex lock;
    spinlock_t curr_lock;
    }
    to
    {
    struct mutex mutex;
    spinlock_t lock;
    }

    So that the code is cleaner and easier to read.

    Signed-off-by: Feng Tang
    Signed-off-by: Rafael J. Wysocki

    Feng Tang
     

11 Nov, 2012

3 commits

  • Linus Torvalds
     
  • Pull networking fixes from David Miller:
    "Bug fixes galore, mostly in drivers as is often the case:

    1) USB gadget and cdc_eem drivers need adjustments to their frame size
    lengths in order to handle VLANs correctly. From Ian Coolidge.

    2) TIPC and several network drivers erroneously call tasklet_disable
    before tasklet_kill, fix from Xiaotian Feng.

    3) r8169 driver needs to apply the WOL suspend quirk to more chipsets,
    fix from Cyril Brulebois.

    4) Fix multicast filters on RTL_GIGA_MAC_VER_35 r8169 chips, from
    Nathan Walp.

    5) FDB netlink dumps should use RTM_NEWNEIGH as the message type, not
    zero. From John Fastabend.

    6) Fix smsc95xx tx checksum offload on big-endian, from Steve
    Glendinning.

    7) __inet_diag_dump() needs to repsect and report the error value
    returned from inet_diag_lock_handler() rather than ignore it.
    Otherwise if an inet diag handler is not available for a particular
    protocol, we essentially report success instead of giving an error
    indication. Fix from Cyrill Gorcunov.

    8) When the QFQ packet scheduler sees TSO/GSO packets it does not
    handle things properly, and in fact ends up corrupting it's
    datastructures as well as mis-schedule packets. Fix from Paolo
    Valente.

    9) Fix oopser in skb_loop_sk(), from Eric Leblond.

    10) CXGB4 passes partially uninitialized datastructures in to FW
    commands, fix from Vipul Pandya.

    11) When we send unsolicited ipv6 neighbour advertisements, we should
    send them to the link-local allnodes multicast address, as per
    RFC4861. Fix from Hannes Frederic Sowa.

    12) There is some kind of bug in the usbnet's kevent deferral
    mechanism, but more immediately when it triggers an uncontrolled
    stream of kernel messages spam the log. Rate limit the error log
    message triggered when this problem occurs, as sending thousands
    of error messages into the kernel log doesn't help matters at all,
    and in fact makes further diagnosis more difficult.

    From Steve Glendinning.

    13) Fix gianfar restore from hibernation, from Wang Dongsheng.

    14) The netlink message attribute sizes are wrong in the ipv6 GRE
    driver, it was using the size of ipv4 addresses instead of ipv6
    ones :-) Fix from Nicolas Dichtel."

    * git://git.kernel.org/pub/scm/linux/kernel/git/davem/net:
    gre6: fix rtnl dump messages
    gianfar: ethernet vanishes after restoring from hibernation
    usbnet: ratelimit kevent may have been dropped warnings
    ipv6: send unsolicited neighbour advertisements to all-nodes
    net: usb: cdc_eem: Fix rx skb allocation for 802.1Q VLANs
    usb: gadget: g_ether: fix frame size check for 802.1Q
    cxgb4: Fix initialization of SGE_CONTROL register
    isdn: Make CONFIG_ISDN depend on CONFIG_NETDEVICES
    cxgb4: Initialize data structures before using.
    af-packet: fix oops when socket is not present
    pkt_sched: enable QFQ to support TSO/GSO
    net: inet_diag -- Return error code if protocol handler is missed
    net: bnx2x: Fix typo in bnx2x driver
    smsc95xx: fix tx checksum offload for big endian
    rtnetlink: Use nlmsg type RTM_NEWNEIGH from dflt fdb dump
    ptp: update adjfreq callback description
    r8169: allow multicast packets on sub-8168f chipset.
    r8169: Fix WoL on RTL8168d/8111d.
    drivers/net: use tasklet_kill in device remove/close process
    tipc: do not use tasklet_disable before tasklet_kill

    Linus Torvalds
     
  • Pull sparc fixes from David Miller:
    "Several build/bug fixes for sparc, including:

    1) Configuring a mix of static vs. modular sparc64 crypto modules
    didn't work, remove an ill-conceived attempt to only have to build
    the device match table for these drivers once to fix the problem.

    Reported by Meelis Roos.

    2) Make the montgomery multiple/square and mpmul instructions actually
    usable in 32-bit tasks. Essentially this involves providing 32-bit
    userspace with a way to use a 64-bit stack when it needs to.

    3) Our sparc64 atomic backoffs don't yield cpu strands properly on
    Niagara chips. Use pause instruction when available to achieve
    this, otherwise use a benign instruction we know blocks the strand
    for some time.

    4) Wire up kcmp

    5) Fix the build of various drivers by removing the unnecessary
    blocking of OF_GPIO when SPARC.

    6) Fix unintended regression wherein of_address_to_resource stopped
    being provided. Fix from Andreas Larsson.

    7) Fix NULL dereference in leon_handle_ext_irq(), also from Andreas
    Larsson."

    * git://git.kernel.org/pub/scm/linux/kernel/git/davem/sparc:
    sparc64: Fix build with mix of modular vs. non-modular crypto drivers.
    sparc: Support atomic64_dec_if_positive properly.
    of/address: sparc: Declare of_address_to_resource() as an extern function for sparc again
    sparc32, leon: Check for existent irq_map entry in leon_handle_ext_irq
    sparc: Add sparc support for platform_get_irq()
    sparc: Allow OF_GPIO on sparc.
    qlogicpti: Fix build warning.
    sparc: Wire up sys_kcmp.
    sparc64: Improvde documentation and readability of atomic backoff code.
    sparc64: Use pause instruction when available.
    sparc64: Fix cpu strand yielding.
    sparc64: Make montmul/montsqr/mpmul usable in 32-bit threads.

    Linus Torvalds
     

10 Nov, 2012

16 commits

  • Pull cifs fixes from Jeff Layton.

    * 'for-linus' of git://git.samba.org/sfrench/cifs-2.6:
    cifs: Do not lookup hashed negative dentry in cifs_atomic_open
    cifs: fix potential buffer overrun in cifs.idmap handling code

    Linus Torvalds
     
  • Pull arm64 fixes from Catalin Marinas:
    - correct argument type (pgprot_t) when calling __ioremap()
    - PCI_IOBASE virtual address change
    - use architected event for CPU cycle counter
    - fix ELF core dumping
    - select CONFIG_ARCH_WANT_COMPAT_IPC_PARSE_VERSION
    - missing completion for secondary CPU boot
    - booting on systems with all memory beyond 4GB

    * tag 'arm64-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/cmarinas/linux-aarch64:
    arm64: mm: fix booting on systems with no memory below 4GB
    arm64: smp: add missing completion for secondary boot
    arm64: compat: select CONFIG_ARCH_WANT_COMPAT_IPC_PARSE_VERSION
    arm64: elf: fix core dumping definitions for GP and FP registers
    arm64: perf: use architected event for CPU cycle counter
    arm64: Move PCI_IOBASE closer to MODULES_VADDR
    arm64: Use pgprot_t as the last argument when invoking __ioremap()

    Linus Torvalds
     
  • Pull Xen fixes from Konrad Rzeszutek Wilk:
    "There are three ARM compile fixes (we forgot to export certain
    functions and if the drivers are built as an module - we go belly-up).

    There is also an mismatch of irq_enter() / exit_idle() calls sequence
    which were fixed some time ago in other piece of codes, but failed to
    appear in the Xen code.

    Lastly a fix for to help in the field with troubleshooting in case we
    cannot get the appropriate parameter and also fallback code when
    working with very old hypervisors."

    Bug-fixes:
    - Fix compile issues on ARM.
    - Fix hypercall fallback code for old hypervisors.
    - Print out which HVM parameter failed if it fails.
    - Fix idle notifier call after irq_enter.

    * tag 'stable/for-linus-3.7-rc5-tag' of git://git.kernel.org/pub/scm/linux/kernel/git/konrad/xen:
    xen/arm: Fix compile errors when drivers are compiled as modules (export more).
    xen/arm: Fix compile errors when drivers are compiled as modules.
    xen/generic: Disable fallback build on ARM.
    xen/events: fix RCU warning, or Call idle notifier after irq_enter()
    xen/hvm: If we fail to fetch an HVM parameter print out which flag it is.
    xen/hypercall: fix hypercall fallback code for very old hypervisors

    Linus Torvalds
     
  • We tried linking in a single built object to hold the device table,
    but only works if all of the sparc64 crypto modules get built the same
    way (modular vs. non-modular).

    Just include the device ID stub into each driver source file so that
    the table gets compiled into the correct result in all cases.

    Reported-by: Meelis Roos
    Signed-off-by: David S. Miller

    David S. Miller
     
  • Sparc32 already supported it, as a consequence of using the
    generic atomic64 implementation. And the sparc64 implementation
    is rather trivial.

    This allows us to set ARCH_HAS_ATOMIC64_DEC_IF_POSITIVE for all
    of sparc, and avoid the annoying warning from lib/atomic64_test.c

    Signed-off-by: David S. Miller

    David S. Miller
     
  • This bug-fix makes sure that of_address_to_resource is defined extern for sparc
    so that the sparc-specific implementation of of_address_to_resource() is once
    again used when including include/linux/of_address.h in a sparc context. A
    number of drivers in mainline relies on this function working for sparc.

    The bug was introduced in a850a7554442f08d3e910c6eeb4ee216868dda1e, "of/address:
    add empty static inlines for !CONFIG_OF". Contrary to that commit title, the
    static inlines are added for !CONFIG_OF_ADDRESS, and CONFIG_OF_ADDRESS is never
    defined for sparc. This is good behavior for the other functions in
    include/linux/of_address.h, as the extern functions defined in
    drivers/of/address.c only gets linked when OF_ADDRESS is configured. However,
    for of_address_to_resource there exists a sparc-specific implementation in
    arch/sparc/arch/sparc/kernel/of_device_common.c

    Solution suggested by: Sam Ravnborg

    Signed-off-by: Andreas Larsson
    Acked-by: Rob Herring
    Signed-off-by: David S. Miller

    Andreas Larsson
     
  • If an irq is being unlinked concurrently with leon_handle_ext_irq,
    irq_map[eirq] might be null in leon_handle_ext_irq. Make sure that
    this is not dereferenced.

    Signed-off-by: Andreas Larsson
    Acked-by: Sam Ravnborg
    Signed-off-by: David S. Miller

    Andreas Larsson
     
  • This adds sparc support for platform_get_irq that in the normal case use
    platform_get_resource() to get an irq. This standard approach fails for sparc as
    there are no resources of type IORESOURCE_IRQ for irqs for sparc.

    Cross platform drivers can then use this standard platform function and work on
    sparc instead of having to have a special case for sparc.

    Signed-off-by: Andreas Larsson
    Signed-off-by: David S. Miller

    Andreas Larsson
     
  • Spotted after a code review.
    Introduced by c12b395a46646bab69089ce7016ac78177f6001f (gre: Support GRE over
    IPv6).

    Signed-off-by: Nicolas Dichtel
    Acked-by: Eric Dumazet
    Signed-off-by: David S. Miller

    Nicolas Dichtel
     
  • If a gianfar ethernet device is down prior to hibernating a
    system, it will no longer be present upon system restore.

    For example:

    ~# ifconfig eth0 down
    ~# echo disk > /sys/power/state

    ~# ifconfig eth0 up
    SIOCSIFFLAGS: No such device

    This happens because the restore function bails out early upon
    finding devices that were not up at hibernation. In doing so,
    it never gets to the netif_device_attach call at the end of
    the restore function. Adding the netif_device_attach as done
    here also makes the gfar_restore code consistent with what is
    done in the gfar_resume code.

    Cc: Claudiu Manoil
    Signed-off-by: Wang Dongsheng
    Signed-off-by: Paul Gortmaker
    Acked-by: Claudiu Manoil
    Signed-off-by: David S. Miller

    Wang Dongsheng
     
  • when something goes wrong, a flood of these messages can be
    generated by usbnet (thousands per second). This doesn't
    generally *help* the condition so this patch ratelimits the
    rate of their generation.

    There's an underlying problem in usbnet's kevent deferral
    mechanism which needs fixing, specifically that events *can*
    get dropped and not handled. This patch doesn't address this,
    but just mitigates fallout caused by the current implemention.

    Signed-off-by: Steve Glendinning
    Signed-off-by: David S. Miller

    Steve Glendinning
     
  • As documented in RFC4861 (Neighbor Discovery for IP version 6) 7.2.6.,
    unsolicited neighbour advertisements should be sent to the all-nodes
    multicast address.

    Signed-off-by: Hannes Frederic Sowa
    Signed-off-by: David S. Miller

    Hannes Frederic Sowa
     
  • Pull drm fixes (again) from Dave Airlie:
    "dropped the ball on a vmware patch, so two more fixes for vmwgfx are
    here, one for hibernate issue, one for a BUG trigger."

    * 'drm-fixes' of git://people.freedesktop.org/~airlied/linux:
    drm/vmwgfx: Fix a case where the code would BUG when trying to pin GMR memory
    drm/vmwgfx: Fix hibernation device reset

    Linus Torvalds
     
  • Pull PCI fixes from Bjorn Helgaas:
    "Power management:
    - PCI/PM: Fix proc config reg access for D3cold and bridge
    suspending
    - PCI/PM: Resume device before shutdown
    - PCI/PM: Fix deadlock when unbinding device if parent in D3cold
    Hotplug:
    - PCI/portdrv: Don't create hotplug slots unless port supports
    hotplug"

    * tag '3.7-pci-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/helgaas/pci:
    PCI/portdrv: Don't create hotplug slots unless port supports hotplug
    PCI/PM: Fix proc config reg access for D3cold and bridge suspending
    PCI/PM: Resume device before shutdown
    PCI/PM: Fix deadlock when unbinding device if parent in D3cold

    Linus Torvalds
     
  • Pull MMC fixes from Chris Ball:
    - sdhci: fix a NULL dereference at resume-time, seen on OLPC XO-4
    - sdhci: fix against 3.7-rc1 for UHS modes without a vqmmc regulator
    - sdhci-of-esdhc: disable CMD23 on boards where it's broken
    - sdhci-s3c: fix against 3.7-rc1 for card detection with runtime PM
    - dw_mmc, omap_hsmmc: fix potential NULL derefs, compiler warnings

    * tag 'mmc-fixes-for-3.7-rc5' of git://git.kernel.org/pub/scm/linux/kernel/git/cjb/mmc:
    mmc: sdhci-s3c: fix the card detection in runtime-pm
    mmc: sdhci-s3c: use clk_prepare_enable and clk_disable_unprepare
    mmc: dw_mmc: constify dw_mci_idmac_ops in exynos back-end
    mmc: dw_mmc: fix modular build for exynos back-end
    mmc: sdhci: fix NULL dereference in sdhci_request() tuning
    mmc: sdhci: fix IS_ERR() checking of regulator_get()
    mmc: fix sdhci-dove probe/removal
    mmc: sh_mmcif: fix use after free
    mmc: sdhci-pci: fix 'Invalid iomem size' error message condition
    mmc: mxcmmc: Fix MODULE_ALIAS
    mmc: omap_hsmmc: fix NULL pointer dereference for dt boot
    mmc: omap_hsmmc: fix host reference after mmc_free_host
    mmc: dw_mmc: fix multiple drv_data NULL dereferences
    mmc: dw_mmc: enable controller interrupt before calling mmc_start_host
    mmc: sdhci-of-esdhc: disable CMD23 for some Freescale SoCs
    mmc: dw_mmc: remove _dev_info compile warning
    mmc: dw_mmc: convert the variable type of irq

    Linus Torvalds
     
  • Pull crypto fix from Herbert Xu:
    "This push fixes a potential panic in cryptd which may occur with
    crypto drivers such as aesni-intel."

    * git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6:
    crypto: cryptd - disable softirqs in cryptd_queue_worker to prevent data corruption

    Linus Torvalds