Skip to content
  1. Mar 07, 2012
    • Linus Torvalds's avatar
      Merge git://git.samba.org/sfrench/cifs-2.6 · 71fece95
      Linus Torvalds authored
      Pull CIFS fixes from Steve French
      
      * git://git.samba.org/sfrench/cifs-2.6:
        cifs: fix dentry refcount leak when opening a FIFO on lookup
        CIFS: Fix mkdir/rmdir bug for the non-POSIX case
      71fece95
    • Mikulas Patocka's avatar
      mm: fix find_vma_prev · 83cd904d
      Mikulas Patocka authored
      Commit 6bd4837d
      
       ("mm: simplify find_vma_prev()") broke memory
      management on PA-RISC.
      
      After application of the patch, programs that allocate big arrays on the
      stack crash with segfault, for example, this will crash if compiled
      without optimization:
      
        int main()
        {
      	char array[200000];
      	array[199999] = 0;
      	return 0;
        }
      
      The reason is that PA-RISC has up-growing stack and the stack is usually
      the last memory area.  In the above example, a page fault happens above
      the stack.
      
      Previously, if we passed too high address to find_vma_prev, it returned
      NULL and stored the last VMA in *pprev.  After "simplify find_vma_prev"
      change, it stores NULL in *pprev.  Consequently, the stack area is not
      found and it is not expanded, as it used to be before the change.
      
      This patch restores the old behavior and makes it return the last VMA in
      *pprev if the requested address is higher than address of any other VMA.
      
      Signed-off-by: default avatarMikulas Patocka <mpatocka@redhat.com>
      Acked-by: default avatarKOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      83cd904d
    • Thomas Gleixner's avatar
      genirq: Clear action->thread_mask if IRQ_ONESHOT is not set · 52abb700
      Thomas Gleixner authored
      Xommit ac563761
      
      (genirq: Unmask oneshot irqs when thread was not woken)
      fails to unmask when a !IRQ_ONESHOT threaded handler is handled by
      handle_level_irq.
      
      This happens because thread_mask is or'ed unconditionally in
      irq_wake_thread(), but for !IRQ_ONESHOT interrupts never cleared.  So
      the check for !desc->thread_active fails and keeps the interrupt
      disabled.
      
      Keep the thread_mask zero for !IRQ_ONESHOT interrupts.
      
      Document the thread_mask magic while at it.
      
      Reported-and-tested-by: default avatarSven Joachim <svenjoac@gmx.de>
      Reported-and-tested-by: default avatarStefan Lippers-Hollmann <s.l-h@gmx.de>
      Cc: stable@vger.kernel.org
      Signed-off-by: default avatarThomas Gleixner <tglx@linutronix.de>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      52abb700
    • Hugh Dickins's avatar
      mmap: EINVAL not ENOMEM when rejecting VM_GROWS · ce8fea7a
      Hugh Dickins authored
      
      
      Currently error is -ENOMEM when rejecting VM_GROWSDOWN|VM_GROWSUP
      from shared anonymous: hoist the file case's -EINVAL up for both.
      
      Signed-off-by: default avatarHugh Dickins <hughd@google.com>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      ce8fea7a
    • Linus Torvalds's avatar
      Merge tag 'fixes-3.3-rc7' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc · 917ec63b
      Linus Torvalds authored
      
      
      Pull arm-soc bug fixes from Arnd Bergmann:
       "Here are all the fixes I got after sending the last pull request.
        These fix mostly regressions on exynos, at91, pxa and ep93xx.
      
      Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de&gt;">
      
      * tag 'fixes-3.3-rc7' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc:
        ARM: ep93xx: convert vision_ep9307 to MULTI_IRQ_HANDLER
        ARM: EXYNOS: fix touchscreen IRQ setup on Universal C210 board
        ARM: pxa: fix invalid mfp pin issue
        ARM: pxa: remove duplicated registeration on pxa-gpio
        ARM: pxa: add dummy clock for pxa25x and pxa27x
        ARM: S3C24XX: DMA resume regression fix
        ARM: S3C24XX: Fix restart on S3C2442
        ARM: SAMSUNG: Fix memory size for hsotg
        ARM: at91/dma: DMA controller registering with DT support
        ARM: at91/dma: remove platform data from DMA controller
      917ec63b
    • Linus Torvalds's avatar
      Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/s390/linux · 4704fe65
      Linus Torvalds authored
      Pull s390 regression fix from Martin Schwidefsky:
       "It is a fix for a regression that has been introduced with git commit
        25f269f1 - "[S390] qdio: EQBS retry after CCQ 96" - and if possible
        we would like to have working code for the fcp data router in 3.3."
      
      * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/s390/linux:
        [S390] qdio: fix handler function arguments for zfcp data router
      4704fe65
    • Linus Torvalds's avatar
      Merge tag 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator · 1de9d143
      Linus Torvalds authored
      Pull regulator updates from Mark Brown:
       "A simple fix that's obvious from inspection.  There's no mainline
        users of this driver yet (there's some i.MX platforms which will use
        it)."
      
      * tag 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator:
        regulator: Fix mask parameter in da9052_reg_update calls
      1de9d143
    • Jan Beulich's avatar
      vsprintf: make %pV handling compatible with kasprintf() · 5756b76e
      Jan Beulich authored
      
      
      kasprintf() (and potentially other functions that I didn't run across so
      far) want to evaluate argument lists twice.  Caring to do so for the
      primary list is obviously their job, but they can't reasonably be
      expected to check the format string for instances of %pV, which however
      need special handling too: On architectures like x86-64 (as opposed to
      e.g.  ix86), using the same argument list twice doesn't produce the
      expected results, as an internally managed cursor gets updated during
      the first run.
      
      Fix the problem by always acting on a copy of the original list when
      handling %pV.
      
      Signed-off-by: default avatarJan Beulich <jbeulich@suse.com>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      5756b76e
    • Hugh Dickins's avatar
      page_cgroup: fix horrid swap accounting regression · c09ff089
      Hugh Dickins authored
      Why is memcg's swap accounting so broken? Insane counts, wrong
      ownership, unfreeable structures, which later get freed and then
      accessed after free.
      
      Turns out to be a tiny a little 3.3-rc1 regression in 9fb4b7cc
      
      
      "page_cgroup: add helper function to get swap_cgroup": the helper
      function (actually named lookup_swap_cgroup()) returns an address using
      void* arithmetic, but the structure in question is a short.
      
      Signed-off-by: default avatarHugh Dickins <hughd@google.com>
      Reviewed-by: default avatarBob Liu <lliubbo@gmail.com>
      Cc: Michal Hocko <mhocko@suse.cz>
      Cc: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>
      Cc: Johannes Weiner <jweiner@redhat.com>
      Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      c09ff089
    • Arnd Bergmann's avatar
      Merge branch 'fixes' of git://github.com/hzhuang1/linux into fixes · 6b608055
      Arnd Bergmann authored
      * 'fixes' of git://github.com/hzhuang1/linux: (3 commits)
        ARM: pxa: fix invalid mfp pin issue
        ARM: pxa: remove duplicated registeration on pxa-gpio
        ARM: pxa: add dummy clock for pxa25x and pxa27x
      
      Includes an update to v3.3-rc6
      6b608055
    • Arnd Bergmann's avatar
      Merge branch 'v3.3-samsung-fixes-4' of... · 4c75aab6
      Arnd Bergmann authored
      Merge branch 'v3.3-samsung-fixes-4' of git://git.kernel.org/pub/scm/linux/kernel/git/kgene/linux-samsung into fixes
      
      * 'v3.3-samsung-fixes-4' of git://git.kernel.org/pub/scm/linux/kernel/git/kgene/linux-samsung:
        ARM: EXYNOS: fix touchscreen IRQ setup on Universal C210 board
        ARM: S3C24XX: DMA resume regression fix
        ARM: S3C24XX: Fix restart on S3C2442
        ARM: SAMSUNG: Fix memory size for hsotg
      4c75aab6
  2. Mar 06, 2012