1. 16 Feb, 2012 1 commit
    • Eugeni Dodonov's avatar
      drm/i915: do not enable RC6p on Sandy Bridge · 1c8ecf80
      Eugeni Dodonov authored
      With base on latest findings, RC6p seems to be respondible for RC6-related
      issues on Sandy Bridge platform. To work-around those issues, the previous
      solution was to completely disable RC6 on Sandy Bridge for the past few
      releases, even if plain RC6 was not giving any issues.
      
      What this patch does is preventing RC6p from being enabled on Sandy Bridge
      even if users enable RC6 via a kernel parameter. So it won't change the
      defaults in any way, but will ensure that if users do enable RC6 manually
      it won't break their machines by enabling this extra state.
      
      Proper fix for this (enabling specific RC6 states according to the GPU
      generation) were proposed for the -next kernel, but we are too late in the
      release process now to pick such changes.
      Acked-by: default avatarKeith Packard <keithp@keithp.com>
      Signed-off-by: default avatarEugeni Dodonov <eugeni.dodonov@intel.com>
      Signed-off-by: default avatarJesse Barnes <jbarnes@virtuousgeek.org>
      1c8ecf80
  2. 10 Feb, 2012 4 commits
  3. 06 Feb, 2012 3 commits
    • Linus Torvalds's avatar
      Merge tag 'gpio-for-linus' of git://git.secretlab.ca/git/linux-2.6 · 8597559a
      Linus Torvalds authored
      GPIO fixes for v3.3-rc2
      
      Straight forward bug fixes in this branch.  A couple of x86 gpio drivers
      missing spinlock initialization, an API change fixup for the samsung driver
      and a name typo fix.
      
      * tag 'gpio-for-linus' of git://git.secretlab.ca/git/linux-2.6:
        gpio: Add missing spin_lock_init in gpio-ml-ioh driver
        gpio: Add missing spin_lock_init in gpio-pch driver
        gpio: samsung: adapt to changes in gpio specifier translator function declaration
        Correct bad gpio naming
      8597559a
    • Linus Torvalds's avatar
      Merge tag 'hwmon-fixes-for-3.3-rc3' of... · 105e5180
      Linus Torvalds authored
      Merge tag 'hwmon-fixes-for-3.3-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/groeck/linux-staging
      
      One patch to fix fan detection on NCT6776F.
      
      * tag 'hwmon-fixes-for-3.3-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/groeck/linux-staging:
        hwmon: (w83627ehf) Fix number of fans for NCT6776F
      105e5180
    • Heiko Carstens's avatar
      exec: fix use-after-free bug in setup_new_exec() · 96e02d15
      Heiko Carstens authored
      Setting the task name is done within setup_new_exec() by accessing
      bprm->filename. However this happens after flush_old_exec().
      This may result in a use after free bug, flush_old_exec() may
      "complete" vfork_done, which will wake up the parent which in turn
      may free the passed in filename.
      To fix this add a new tcomm field in struct linux_binprm which
      contains the now early generated task name until it is used.
      
      Fixes this bug on s390:
      
        Unable to handle kernel pointer dereference at virtual kernel address 0000000039768000
        Process kworker/u:3 (pid: 245, task: 000000003a3dc840, ksp: 0000000039453818)
        Krnl PSW : 0704000180000000 0000000000282e94 (setup_new_exec+0xa0/0x374)
        Call Trace:
        ([<0000000000282e2c>] setup_new_exec+0x38/0x374)
         [<00000000002dd12e>] load_elf_binary+0x402/0x1bf4
         [<0000000000280a42>] search_binary_handler+0x38e/0x5bc
         [<0000000000282b6c>] do_execve_common+0x410/0x514
         [<0000000000282cb6>] do_execve+0x46/0x58
         [<00000000005bce58>] kernel_execve+0x28/0x70
         [<000000000014ba2e>] ____call_usermodehelper+0x102/0x140
         [<00000000005bc8da>] kernel_thread_starter+0x6/0xc
         [<00000000005bc8d4>] kernel_thread_starter+0x0/0xc
        Last Breaking-Event-Address:
         [<00000000002830f0>] setup_new_exec+0x2fc/0x374
      
        Kernel panic - not syncing: Fatal exception: panic_on_oops
      Reported-by: default avatarSebastian Ott <sebott@linux.vnet.ibm.com>
      Signed-off-by: default avatarHeiko Carstens <heiko.carstens@de.ibm.com>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      96e02d15
  4. 05 Feb, 2012 1 commit
  5. 04 Feb, 2012 26 commits
  6. 03 Feb, 2012 4 commits
  7. 02 Feb, 2012 1 commit