Permalink
Commits on May 12, 2012
  1. Update arch/xtensa/Kconfig

    testusr2 committed May 12, 2012
Commits on May 11, 2012
  1. Merge tag 'gpio-for-linus' of git://git.secretlab.ca/git/linux-2.6

    Pull GPIO omap bug fix from Grant Likely.
    
    * tag 'gpio-for-linus' of git://git.secretlab.ca/git/linux-2.6:
      gpio/omap: fix incorrect initialization of omap_gpio_mod_init
    torvalds committed May 11, 2012
  2. Merge branch 'merge' of git://git.kernel.org/pub/scm/linux/kernel/git…

    …/benh/powerpc
    
    Pull another powerpc irq fix from Benjamin Herrenschmidt:
     "It looks like my previous fix for the lazy irq masking problem wasn't
      quite enough.  There was another problem related to performance
      monitor interrupts acting as NMIs leaving the flags in an incorrect
      state.  Here's a fix that finally seems to make perf solid again."
    
    * 'merge' of git://git.kernel.org/pub/scm/linux/kernel/git/benh/powerpc:
      powerpc/irq: Fix another case of lazy IRQ state getting out of sync
    torvalds committed May 11, 2012
  3. Merge branch '3.4-urgent' of git://git.kernel.org/pub/scm/linux/kerne…

    …l/git/nab/target-pending
    
    Pull target fix from Nicholas Bellinger:
     "This patch removes some incorrect legacy code to free se_lun_acl
      memory in the NodeACL release path that could potentially trigger an
      OOPS during shutdown once dynamic -> explicit initiator NodeACL
      conversion has occurred.
    
      That said, we've been able to trigger an OOPS in v4.0 code for this
      special case when the associated MappedLUNs had not also been made
      explicit based on active TPG LUN layout during the conversion, so it
      really makes senses to go ahead and drop this extra cruft to avoid any
      possible issues here.
    
      This ends up only effecting iscsi-target module code (it's the only
      user) and is CC'ed to stable."
    
    * '3.4-urgent' of git://git.kernel.org/pub/scm/linux/kernel/git/nab/target-pending:
      target: Drop incorrect se_lun_acl release for dynamic -> explict ACL conversion
    torvalds committed May 11, 2012
  4. powerpc/irq: Fix another case of lazy IRQ state getting out of sync

    So we have another case of paca->irq_happened getting out of
    sync with the HW irq state. This can happen when a perfmon
    interrupt occurs while soft disabled, as it will return to a
    soft disabled but hard enabled context while leaving a stale
    PACA_IRQ_HARD_DIS flag set.
    
    This patch fixes it, and also adds a test for the condition
    of those flags being out of sync in arch_local_irq_restore()
    when CONFIG_TRACE_IRQFLAGS is enabled.
    
    This helps catching those gremlins faster (and so far I
    can't seem see any anymore, so that's good news).
    
    Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
    ozbenh committed May 10, 2012
  5. target: Drop incorrect se_lun_acl release for dynamic -> explict ACL …

    …conversion
    
    This patch removes some potentially problematic legacy code within
    core_clear_initiator_node_from_tpg() that was originally intended to
    release left over se_lun_acl setup during dynamic NodeACL+MappedLUN
    generate when running with TPG demo-mode operation.
    
    Since we now only ever expect to allocate and release se_lun_acl from
    within target_core_fabric_configfs.c:target_fabric_make_mappedlun() and
    target_fabric_drop_mappedlun() context respectively, this code for
    demo-mode release is incorrect and needs to be removed.
    
    Cc: Christoph Hellwig <hch@lst.de>
    Cc: Andy Grover <agrover@redhat.com>
    Cc: <stable@vger.kernel.org>
    Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
    nablio3000 committed May 11, 2012
  6. Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel…

    …/git/gerg/m68knommu
    
    Pull a m68knommu fix from Greg Ungerer:
     "It contains a single fix for including the ColdFire QSPI interface
      setup code when enabled as a module.  This was broken in the
      consolidation of the ColdFire SoC device tables in the 3.4 merge
      window."
    
    * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/gerg/m68knommu:
      m68knommu: enable qspi support when SPI_COLDFIRE_QSPI = m
    torvalds committed May 11, 2012
  7. mm: raise MemFree by reverting percpu_pagelist_fraction to 0

    Why is there less MemFree than there used to be?  It perturbed a test,
    so I've just been bisecting linux-next, and now find the offender went
    upstream yesterday.
    
    Commit 9327881 "mm: fix division by 0 in percpu_pagelist_fraction()"
    mistakenly initialized percpu_pagelist_fraction to the sysctl's minimum 8,
    which leaves 1/8th of memory on percpu lists (on each cpu??); but most of
    us expect it to be left unset at 0 (and it's not then used as a divisor).
    
      MemTotal: 8061476kB  8061476kB  8061476kB  8061476kB  8061476kB  8061476kB
      Repetitive test with percpu_pagelist_fraction 8:
      MemFree:  6948420kB  6237172kB  6949696kB  6840692kB  6949048kB  6862984kB
      Same test with percpu_pagelist_fraction back to 0:
      MemFree:  7945000kB  7944908kB  7948568kB  7949060kB  7948796kB  7948812kB
    
    Signed-off-by: Hugh Dickins <hughd@google.com>
    [ We really should fix the crazy sysctl interface too, but that's a
      separate thing - Linus ]
    Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
    Hugh Dickins committed with torvalds May 11, 2012
Commits on May 10, 2012
  1. Merge branch 'parisc' (PA-RISC compile fixes)

    Merge PA-RISC compile fixes from Rolf Eike Beer:
     "Since commit d66acc3 ("bitops: Optimise get_order()") getorder.h
      includes log2.h which leads to an include loop on PA-RISC, bringing a
      bunch of other breakage to light.  This patchset fixes the compilation
      of the current state of 3.4 on HPPA.
    
      Unchanged against the first version, just added an Ack by Grant."
    
    * emailed from Rolf Eike Beer <eike-kernel@sf-tec.de>: (5 patches)
      parisc: move definition of PAGE0 to asm/page.h
      parisc: add missing include of asm/page.h to asm/pgtable.h
      parisc: drop include of asm/pdc.h from asm/hardware.h
      parisc: add missing forward declarations in asm/hardware.h
      parisc: add missing includes in asm/spinlock.h
    torvalds committed May 10, 2012
  2. Merge branch 'akpm' (Andrew's patch-bomb)

    Merge misc fixes from Andrew Morton.
    
    * emailed from Andrew Morton <akpm@linux-foundation.org>: (8 patches)
      MAINTAINERS: add maintainer for LED subsystem
      mm: nobootmem: fix sign extend problem in __free_pages_memory()
      drivers/leds: correct __devexit annotations
      memcg: free spare array to avoid memory leak
      namespaces, pid_ns: fix leakage on fork() failure
      hugetlb: prevent BUG_ON in hugetlb_fault() -> hugetlb_cow()
      mm: fix division by 0 in percpu_pagelist_fraction()
      proc/pid/pagemap: correctly report non-present ptes and holes between vmas
    torvalds committed May 10, 2012
  3. parisc: move definition of PAGE0 to asm/page.h

    This was defined in asm/pdc.h which needs to include asm/page.h for
    __PAGE_OFFSET. This leads to an include loop so that page.h eventually will
    include pdc.h again. While this is no problem because of header guards, it is
    a problem because some symbols may be undefined. Such an error is this:
    
    In file included from include/linux/bitops.h:35:0,
                     from include/asm-generic/getorder.h:7,
                     from arch/parisc/include/asm/page.h:162,
                     from arch/parisc/include/asm/pdc.h:346,
                     from arch/parisc/include/asm/processor.h:16,
                     from arch/parisc/include/asm/spinlock.h:6,
                     from arch/parisc/include/asm/atomic.h:20,
                     from include/linux/atomic.h:4,
                     from include/linux/sysfs.h:20,
                     from include/linux/kobject.h:21,
                     from include/linux/device.h:17,
                     from include/linux/eisa.h:5,
                     from arch/parisc/kernel/pci.c:11:
    arch/parisc/include/asm/bitops.h: In function ‘set_bit’:
    arch/parisc/include/asm/bitops.h:82:2: error: implicit declaration of function ‘_atomic_spin_lock_irqsave’ [-Werror=implicit-function-declaration]
    arch/parisc/include/asm/bitops.h:84:2: error: implicit declaration of function ‘_atomic_spin_unlock_irqrestore’ [-Werror=implicit-function-declaration]
    
    Signed-off-by: Rolf Eike Beer <eike-kernel@sf-tec.de>
    Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
    DerDakon committed with torvalds May 10, 2012
  4. parisc: add missing include of asm/page.h to asm/pgtable.h

    Fixes these errors:
    
    In file included from arch/parisc/include/asm/io.h:5:0,
                     from include/linux/io.h:22,
                     from include/linux/pci.h:54,
                     from arch/parisc/kernel/setup.c:35:
    arch/parisc/include/asm/pgtable.h:92:6: warning: "PAGE_SHIFT" is not defined [-Wundef]
    arch/parisc/include/asm/pgtable.h:92:6: warning: "PAGE_SHIFT" is not defined [-Wundef]
    arch/parisc/include/asm/pgtable.h:92:6: warning: "BITS_PER_PTE_ENTRY" is not defined [-Wundef]
    
    Signed-off-by: Rolf Eike Beer <eike-kernel@sf-tec.de>
    Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
    DerDakon committed with torvalds May 10, 2012
  5. parisc: drop include of asm/pdc.h from asm/hardware.h

    It seems none of the symbols defined by pdc.h is needed, but it introduces an
    include loop causing compile errors:
    
    In file included from arch/parisc/include/asm/spinlock.h:4:0,
                     from arch/parisc/include/asm/atomic.h:20,
                     from include/linux/atomic.h:4,
                     from arch/parisc/include/asm/bitops.h:56,
                     from include/linux/bitops.h:35,
                     from include/asm-generic/getorder.h:7,
                     from arch/parisc/include/asm/page.h:162,
                     from arch/parisc/include/asm/pdc.h:346,
                     from arch/parisc/include/asm/hardware.h:5,
                     from arch/parisc/kernel/hardware.c:30:
    arch/parisc/include/asm/processor.h:74:16: error: field ‘cpu_type’ has incomplete type
    arch/parisc/include/asm/processor.h:77:20: error: field ‘model’ has incomplete type
    arch/parisc/include/asm/processor.h: In function ‘parisc_requires_coherency’:
    arch/parisc/include/asm/processor.h:349:36: error: ‘mako’ undeclared (first use in this function)
    arch/parisc/include/asm/processor.h:349:36: note: each undeclared identifier is reported only once for each function it appears in
    arch/parisc/include/asm/processor.h:350:30: error: ‘mako2’ undeclared (first use in this function)
    
    Signed-off-by: Rolf Eike Beer <eike-kernel@sf-tec.de>
    Acked-by: Grant Grundler <grantgrundler@gmail.com>
    Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
    DerDakon committed with torvalds May 10, 2012
  6. parisc: add missing forward declarations in asm/hardware.h

    Fixes this warnings:
    
    In file included from arch/parisc/include/asm/processor.h:15:0,
                     from arch/parisc/include/asm/spinlock.h:4,
                     from arch/parisc/include/asm/atomic.h:20,
                     from include/linux/atomic.h:4,
                     from arch/parisc/include/asm/bitops.h:11,
                     from include/linux/bitops.h:22,
                     from include/linux/kernel.h:19,
                     from include/linux/sched.h:55,
                     from arch/parisc/kernel/asm-offsets.c:31:
    arch/parisc/include/asm/hardware.h:106:10: warning: ‘struct hardware_path’ declared inside parameter list [enabled by default]
    arch/parisc/include/asm/hardware.h:106:10: warning: its scope is only this definition or declaration, which is probably not what you want [enabled by default]
    arch/parisc/include/asm/hardware.h:116:59: warning: ‘struct hardware_path’ declared inside parameter list [enabled by default]
    arch/parisc/include/asm/hardware.h:118:47: warning: ‘struct hardware_path’ declared inside parameter list [enabled by default]
    arch/parisc/include/asm/hardware.h:119:57: warning: ‘struct hardware_path’ declared inside parameter list [enabled by default]
    
    Signed-off-by: Rolf Eike Beer <eike-kernel@sf-tec.de>
    Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
    DerDakon committed with torvalds May 10, 2012
  7. parisc: add missing includes in asm/spinlock.h

    This leads to this errors:
    
    In file included from arch/parisc/include/asm/atomic.h:20:0,
                     from include/linux/atomic.h:4,
                     from arch/parisc/include/asm/bitops.h:56,
                     from include/linux/bitops.h:22,
                     from include/linux/kernel.h:19,
                     from include/linux/sched.h:55,
                     from arch/parisc/kernel/asm-offsets.c:31:
    arch/parisc/include/asm/spinlock.h: In function ‘arch_spin_is_locked’:
    arch/parisc/include/asm/spinlock.h:9:2: error: implicit declaration of function ‘__ldcw_align’ [-Werror=implicit-function-declaration]
    arch/parisc/include/asm/spinlock.h:9:29: warning: initialization makes pointer from integer without a cast [enabled by default]
    arch/parisc/include/asm/spinlock.h: In function ‘arch_spin_lock_flags’:
    arch/parisc/include/asm/spinlock.h:22:2: error: implicit declaration of function ‘mb’ [-Werror=implicit-function-declaration]
    arch/parisc/include/asm/spinlock.h:23:4: warning: assignment makes pointer from integer without a cast [enabled by default]
    arch/parisc/include/asm/spinlock.h:24:2: error: implicit declaration of function ‘__ldcw’ [-Werror=implicit-function-declaration]
    
    Signed-off-by: Rolf Eike Beer <eike-kernel@sf-tec.de>
    Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
    DerDakon committed with torvalds May 10, 2012
  8. Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/sparc

    Pull a sparc fix from David Miller.
    
    * git://git.kernel.org/pub/scm/linux/kernel/git/davem/sparc:
      sparc64: Do not clobber %g2 in xcall_fetch_glob_regs().
    torvalds committed May 10, 2012
  9. MAINTAINERS: add maintainer for LED subsystem

    Add Bryan Wu as the primary maintainer for drivers/leds
    
    Signed-off-by: Bryan Wu <bryan.wu@canonical.com>
    Acked-by: Richard Purdie <richard.purdie@linuxfoundation.org>
    Acked-by: Arnd Bergmann <arnd@arndb.de>
    Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
    Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
    Bryan Wu committed with torvalds May 10, 2012
  10. mm: nobootmem: fix sign extend problem in __free_pages_memory()

    Systems with 8 TBytes of memory or greater can hit a problem where only
    the the first 8 TB of memory shows up.  This is due to "int i" being
    smaller than "unsigned long start_aligned", causing the high bits to be
    dropped.
    
    The fix is to change `i' to unsigned long to match start_aligned
    and end_aligned.
    
    Thanks to Jack Steiner for assistance tracking this down.
    
    Signed-off-by: Russ Anderson <rja@sgi.com>
    Cc: Jack Steiner <steiner@sgi.com>
    Cc: Johannes Weiner <hannes@cmpxchg.org>
    Cc: Tejun Heo <tj@kernel.org>
    Cc: David S. Miller <davem@davemloft.net>
    Cc: Yinghai Lu <yinghai@kernel.org>
    Cc: Gavin Shan <shangw@linux.vnet.ibm.com>
    Cc: <stable@vger.kernel.org>
    Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
    Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
    Russ Anderson committed with torvalds May 10, 2012
  11. drivers/leds: correct __devexit annotations

    __devexit functions are discarded without CONFIG_HOTPLUG, so they need
    to be referenced carefully.  A __devexit function may also not be called
    from a __devinit function.
    
    Signed-off-by: Arnd Bergmann <arnd@arndb.de>
    Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org>
    Cc: Bryan Wu <bryan.wu@canonical.com>
    Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
    Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
    arndb committed with torvalds May 10, 2012
  12. memcg: free spare array to avoid memory leak

    When the last event is unregistered, there is no need to keep the spare
    array anymore.  So free it to avoid memory leak.
    
    Signed-off-by: Sha Zhengju <handai.szj@taobao.com>
    Acked-by: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>
    Reviewed-by: Kirill A. Shutemov <kirill@shutemov.name>
    Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
    Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
    Sha Zhengju committed with torvalds May 10, 2012
  13. namespaces, pid_ns: fix leakage on fork() failure

    Fork() failure post namespace creation for a child cloned with
    CLONE_NEWPID leaks pid_namespace/mnt_cache due to proc being mounted
    during creation, but not unmounted during cleanup.  Call
    pid_ns_release_proc() during cleanup.
    
    Signed-off-by: Mike Galbraith <efault@gmx.de>
    Acked-by: Oleg Nesterov <oleg@redhat.com>
    Reviewed-by: "Eric W. Biederman" <ebiederm@xmission.com>
    Cc: Pavel Emelyanov <xemul@parallels.com>
    Cc: Cyrill Gorcunov <gorcunov@openvz.org>
    Cc: Louis Rilling <louis.rilling@kerlabs.com>
    Cc: <stable@vger.kernel.org>
    Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
    Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
    Mike Galbraith committed with torvalds May 10, 2012
  14. hugetlb: prevent BUG_ON in hugetlb_fault() -> hugetlb_cow()

    Commit 66aebce ("hugetlb: fix race condition in hugetlb_fault()")
    added code to avoid a race condition by elevating the page refcount in
    hugetlb_fault() while calling hugetlb_cow().
    
    However, one code path in hugetlb_cow() includes an assertion that the
    page count is 1, whereas it may now also have the value 2 in this path.
    
    The consensus is that this BUG_ON has served its purpose, so rather than
    extending it to cover both cases, we just remove it.
    
    Signed-off-by: Chris Metcalf <cmetcalf@tilera.com>
    Acked-by: Mel Gorman <mel@csn.ul.ie>
    Acked-by: Hillf Danton <dhillf@gmail.com>
    Acked-by: Hugh Dickins <hughd@google.com>
    Cc: Michal Hocko <mhocko@suse.cz>
    Cc: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>
    Cc: <stable@vger.kernel.org>	[3.0.29+, 3.2.16+, 3.3.3+]
    Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
    Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
    cmetcalf-tilera committed with torvalds May 10, 2012
  15. mm: fix division by 0 in percpu_pagelist_fraction()

    percpu_pagelist_fraction_sysctl_handler() has only considered -EINVAL as
    a possible error from proc_dointvec_minmax().
    
    If any other error is returned, it would proceed to divide by zero since
    percpu_pagelist_fraction wasn't getting initialized at any point.  For
    example, writing 0 bytes into the proc file would trigger the issue.
    
    Signed-off-by: Sasha Levin <levinsasha928@gmail.com>
    Reviewed-by: Minchan Kim <minchan@kernel.org>
    Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
    Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
    sashalevin committed with torvalds May 10, 2012
  16. proc/pid/pagemap: correctly report non-present ptes and holes between…

    … vmas
    
    Reset the current pagemap-entry if the current pte isn't present, or if
    current vma is over.  Otherwise pagemap reports last entry again and
    again.
    
    Non-present pte reporting was broken in commit 092b50b ("pagemap:
    introduce data structure for pagemap entry")
    
    Reporting for holes was broken in commit 5aaabe8 ("pagemap: avoid
    splitting thp when reading /proc/pid/pagemap")
    
    Signed-off-by: Konstantin Khlebnikov <khlebnikov@openvz.org>
    Reported-by: Pavel Emelyanov <xemul@parallels.com>
    Cc: Naoya Horiguchi <n-horiguchi@ah.jp.nec.com>
    Cc: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>
    Cc: Andi Kleen <ak@linux.intel.com>
    Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
    Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
    koct9i committed with torvalds May 10, 2012
  17. Merge branch 'for-3.4-fixes' of git://git.kernel.org/pub/scm/linux/ke…

    …rnel/git/tj/percpu
    
    Pull percpu fixes from Tejun Heo:
     "This pull request contains two patches.  One is kmemleak annotation
      fix which isn't critical.  The other is kinda serious.
    
      Depending on NUMA topology, percpu allocator may end up assigning
      overlapping regions for the static percpu areas for different CPUs.
      While critical, the bug has been there for a very long time and only
      few configurations seem to be affected (NUMA configurations w/ no
      memory nodes for example) - so, while it's critical, it isn't exactly
      urgent."
    
    * 'for-3.4-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/tj/percpu:
      kmemleak: Fix the kmemleak tracking of the percpu areas with !SMP
      percpu: pcpu_embed_first_chunk() should free unused parts after all allocs are complete
    torvalds committed May 10, 2012
  18. Merge git://git.samba.org/sfrench/cifs-2.6

    Pull cifs fix from Steve French.
    
    * git://git.samba.org/sfrench/cifs-2.6:
      cifs: fix revalidation test in cifs_llseek()
    torvalds committed May 10, 2012
  19. sparc64: Do not clobber %g2 in xcall_fetch_glob_regs().

    %g2 is meant to hold the CPUID number throughout this routine, since
    at the very beginning, and at the very end, we use %g2 to calculate
    indexes into per-cpu arrays.
    
    However we erroneously clobber it in order to hold the %cwp register
    value mid-stream.
    
    Fix this code to use %g3 for the %cwp read and related calulcations
    instead.
    
    Reported-by: Meelis Roos <mroos@linux.ee>
    Signed-off-by: David S. Miller <davem@davemloft.net>
    davem330 committed May 10, 2012
  20. Merge tag 'nfs-for-3.4-5' of git://git.linux-nfs.org/projects/trondmy…

    …/linux-nfs
    
    Pull a NFS client bugfix from Trond Myklebust:
     "Fix for the NFSv4 security negotiation: ensure that the security
      negotiation tries all registered security flavours"
    
    * tag 'nfs-for-3.4-5' of git://git.linux-nfs.org/projects/trondmy/linux-nfs:
      auth_gss: the list of pseudoflavors not being parsed correctly
    torvalds committed May 10, 2012
  21. Merge tag 'sound-3.4' of git://git.kernel.org/pub/scm/linux/kernel/gi…

    …t/tiwai/sound
    
    Pull sound fixes from Takashi Iwai:
     "Slightly more than expected as rc7, but all are reasonablly small
      fixes.  A few additions of HD-audio fixup entries, a couple of other
      regression fixes including a revert, and a few other trivial
      oneliners."
    
    * tag 'sound-3.4' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound:
      ASoC: sh: fix migor.c compilation
      ALSA: HDA: Lessen CPU usage when waiting for chip to respond
      Revert "ALSA: hda - Set codec to D3 forcibly even if not used"
      ALSA: hda/realtek - Call alc_auto_parse_customize_define() always after fixup
      ALSA: hdsp - Provide ioctl_compat
      ALSA: hda/realtek - Add missing CD-input pin for MSI-7350 mobo
      ALSA: hda/realtek - Add a fixup for Acer Aspire 5739G
      ALSA: echoaudio: Remove incorrect part of assertion
    torvalds committed May 10, 2012
  22. compat: Fix RT signal mask corruption via sigprocmask

    compat_sys_sigprocmask reads a smaller signal mask from userspace than
    sigprogmask accepts for setting.  So the high word of blocked.sig[0]
    will be cleared, releasing any potentially blocked RT signal.
    
    This was discovered via userspace code that relies on get/setcontext.
    glibc's i386 versions of those functions use sigprogmask instead of
    rt_sigprogmask to save/restore signal mask and caused RT signal
    unblocking this way.
    
    As suggested by Linus, this replaces the sys_sigprocmask based compat
    version with one that open-codes the required logic, including the merge
    of the existing blocked set with the new one provided on SIG_SETMASK.
    
    Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
    Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
    jan-kiszka committed with torvalds May 10, 2012
  23. gpio/omap: fix incorrect initialization of omap_gpio_mod_init

    Initialization of irqenable, irqstatus registers is the common
    operation done in this function for all OMAP platforms, viz. OMAP1,
    OMAP2+. The latter _gpio_rmw()'s which supposedly got introduced
    wrongly to take care of OMAP2+ platforms were overwriting initially
    programmed OMAP1 value breaking functionality on OMAP1.
    Somehow incorrect assumption was made that each _gpio_rmw()'s were
    mutually exclusive. On close observation it is found that the first
    _gpio_rmw() which is supposedly done to take care of OMAP1 platform
    is generic enough and takes care of OMAP2+ platform as well.
    Therefore remove the latter _gpio_rmw() to irqenable as they are
    redundant now.
    
    Writing to ctrl and debounce_en registers for OMAP2+ platforms are
    modified to match the original(pre-cleanup) code where the registers
    are initialized with 0. In the cleanup series since we are using
    _gpio_rmw(reg, 0, 1), instead of __raw_writel(), we are just reading
    and writing the same values to ctrl and debounce_en. This is not an
    issue for debounce_en register because it has 0x0 as the default value.
    But in the case of ctrl register the default value is 0x2 (GATINGRATIO
     = 0x1) so that we end up writing 0x2 instead of intended 0 value.
    Therefore changing back to __raw_writel() as this is sufficient for
    this case besides simpler to understand.
    
    Also, change irqstatus initalization logic that avoids comparison
    with bool, besides making it fit in a single line.
    
    Cc: stable@vger.kernel.org
    Cc: Tony Lindgren <tony@atomide.com>
    Cc: Kevin Hilman <khilman@ti.com>
    Cc: Santosh Shilimkar <santosh.shilimkar@ti.com>
    Cc: Grant Likely <grant.likely@secretlab.ca>
    Reported-by: Janusz Krzysztofik <jkrzyszt@tis.icnet.pl>
    Tested-by: Janusz Krzysztofik <jkrzyszt@tis.icnet.pl>
    Signed-off-by: Tarun Kanti DebBarma <tarun.kanti@ti.com>
    Signed-off-by: Kevin Hilman <khilman@ti.com>
    Tarun Kanti DebBarma committed with Kevin Hilman Apr 30, 2012
Commits on May 9, 2012
  1. cifs: fix revalidation test in cifs_llseek()

    This test is always true so it means we revalidate the length every
    time, which generates more network traffic.  When it is SEEK_SET or
    SEEK_CUR, then we don't need to revalidate.
    
    Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
    Reviewed-by: Jeff Layton <jlayton@redhat.com>
    Signed-off-by: Steve French <sfrench@us.ibm.com>
    Dan Carpenter committed with Steve French Apr 30, 2012
  2. Merge tag 'fixes-for-linus' of git://git.kernel.org/pub/scm/linux/ker…

    …nel/git/arm/arm-soc
    
    Pull ARM: SoC fixes from Olof Johansson:
     "Things have slowed down a lot for us, but we have five more fixes for
      omap and kirkwood below.  Three are for boards setup issues, two are
      SoC-level fixes."
    
    * tag 'fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc:
      ARM: OMAP: igep0020: fix smsc911x dummy regulator id
      ARM: orion5x: Fix GPIO enable bits for MPP9
      ARM: kirkwood: add missing kexec.h include
      ARM: OMAP: Revert "ARM: OMAP: ctrl: Fix CONTROL_DSIPHY register fields"
      ARM: OMAP1: Amstrad Delta: Fix wrong IRQ base in FIQ handler
    torvalds committed May 9, 2012
  3. Merge tag 'regmap-3.4' of git://git.kernel.org/pub/scm/linux/kernel/g…

    …it/broonie/regmap
    
    Pull last minute regman bug fix from Mark Brown:
     "This is a last minute bug fix that was only just noticed since the
      code path that's being exercised here is one that is fairly rarely
      used.  The changelog for the change itself is extremely clear and the
      code itself is obvious to inspection so should be pretty safe."
    
    * tag 'regmap-3.4' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/regmap:
      regmap: fix possible memory corruption in regmap_bulk_read()
    torvalds committed May 9, 2012
  4. Merge git://git.kernel.org/pub/scm/virt/kvm/kvm

    Pull KVM fixes from Avi Kivity:
     "Two asynchronous page fault fixes (one guest, one host), a powerpc
      page refcount fix, and an ia64 build fix."
    
    * git://git.kernel.org/pub/scm/virt/kvm/kvm:
      KVM: ia64: fix build due to typo
      KVM: PPC: Book3S HV: Fix refcounting of hugepages
      KVM: Do not take reference to mm during async #PF
      KVM: ensure async PF event wakes up vcpu from halt
    torvalds committed May 9, 2012