1. 25 Mar, 2013 2 commits
  2. 23 Mar, 2013 28 commits
  3. 19 Mar, 2013 3 commits
  4. 18 Mar, 2013 2 commits
  5. 17 Mar, 2013 5 commits
    • Linus Torvalds's avatar
      Linux 3.9-rc3 · a937536b
      Linus Torvalds authored
      a937536b
    • David Rientjes's avatar
      perf,x86: fix link failure for non-Intel configs · 6c4d3bc9
      David Rientjes authored
      Commit 1d9d8639 ("perf,x86: fix kernel crash with PEBS/BTS after
      suspend/resume") introduces a link failure since
      perf_restore_debug_store() is only defined for CONFIG_CPU_SUP_INTEL:
      
      	arch/x86/power/built-in.o: In function `restore_processor_state':
      	(.text+0x45c): undefined reference to `perf_restore_debug_store'
      
      Fix it by defining the dummy function appropriately.
      Signed-off-by: default avatarDavid Rientjes <rientjes@google.com>
      Cc: stable@vger.kernel.org
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      6c4d3bc9
    • Linus Torvalds's avatar
      perf,x86: fix wrmsr_on_cpu() warning on suspend/resume · 2a6e06b2
      Linus Torvalds authored
      Commit 1d9d8639 ("perf,x86: fix kernel crash with PEBS/BTS after
      suspend/resume") fixed a crash when doing PEBS performance profiling
      after resuming, but in using init_debug_store_on_cpu() to restore the
      DS_AREA mtrr it also resulted in a new WARN_ON() triggering.
      
      init_debug_store_on_cpu() uses "wrmsr_on_cpu()", which in turn uses CPU
      cross-calls to do the MSR update.  Which is not really valid at the
      early resume stage, and the warning is quite reasonable.  Now, it all
      happens to _work_, for the simple reason that smp_call_function_single()
      ends up just doing the call directly on the CPU when the CPU number
      matches, but we really should just do the wrmsr() directly instead.
      
      This duplicates the wrmsr() logic, but hopefully we can just remove the
      wrmsr_on_cpu() version eventually.
      Reported-and-tested-by: default avatarParag Warudkar <parag.lkml@gmail.com>
      Cc: stable@vger.kernel.org
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      2a6e06b2
    • Chris Wilson's avatar
      drm/i915: Resurrect ring kicking for semaphores, selectively · a24a11e6
      Chris Wilson authored
      Once we thought we got semaphores working, we disabled kicking the ring
      if hangcheck fired whilst waiting upon a ring as it was doing more harm
      than good:
      
      commit 4e0e90dc
      Author: Daniel Vetter <daniel.vetter@ffwll.ch>
      Date:   Wed Dec 14 13:56:58 2011 +0100
      
          drm/i915: kicking rings stuck on semaphores considered harmful
      
      However, life is never that easy and semaphores are still causing
      problems whereby the value written by one ring (bcs) is not being
      propagated to the waiter (rcs). Thus the waiter never wakes up and we
      declare the GPU hung, which often has unfortunate consequences, even if
      we successfully reset the GPU.
      
      But the GPU is idle as it has completed the work, just didn't notify its
      clients. So we can detect the incomplete wait during hang check and
      probe the target ring to see if has indeed emitted the breadcrumb seqno
      following the work and then and only then kick the waiter.
      
      Based on a suggestion by Ben Widawsky.
      
      v2: cross-check wait with iphdr. fix signaller calculation.
      
      References: https://bugs.freedesktop.org/show_bug.cgi?id=54226Signed-off-by: default avatarChris Wilson <chris@chris-wilson.co.uk>
      Signed-off-by: default avatarMika Kuoppala <mika.kuoppala@intel.com>
      Cc: Daniel Vetter <daniel.vetter@ffwll.ch>
      Cc: Ben Widawsky <ben@bwidawsk.net>
      Acked-by: default avatarBen Widawsky <ben@bwidawsk.net>
      Signed-off-by: default avatarDaniel Vetter <daniel.vetter@ffwll.ch>
      a24a11e6
    • Paulo Zanoni's avatar
      drm/i915: add missing space in error message · 5d83d294
      Paulo Zanoni authored
      To avoid this:
      [  256.798060] [drm] capturing error event; look for more information
      in/sys/kernel/debug/dri/0/i915_error_state
      
      Ben Widawsky identified that this regression has been introduced in
      
      commit 2f86f191
      Author: Ben Widawsky <ben@bwidawsk.net>
      Date:   Mon Jan 28 15:32:15 2013 -0800
      
          drm/i915: Error state should print /sys/kernel/debug
              ...
          [danvet: split up long line.] <----- he did it
      Signed-off-by: default avatarDaniel Vetter <daniel.vetter@ffwll.ch>
      Signed-off-by: default avatarPaulo Zanoni <paulo.r.zanoni@intel.com>
      Reviewed-by: default avatarBen Widawsky <ben@bwidawsk.net>
      [danvet: Pimp commit message with the regression note. Also, order
      more brown paper bags, I've run out.]
      Signed-off-by: default avatarDaniel Vetter <daniel.vetter@ffwll.ch>
      5d83d294