Skip to content
  1. Feb 16, 2010
  2. Feb 14, 2010
    • Kirill Smelkov's avatar
      perf top: Fix help text alignment · 1a72cfa6
      Kirill Smelkov authored
      
      
      Print this:
      
      Mapped keys:
              [d]     display refresh delay.                  (2)
              [e]     display entries (lines).                (46)
              [f]     profile display filter (count).         (5)
              [F]     annotate display filter (percent).      (5%)
              [s]     annotate symbol.                        (NULL)
              [S]     stop annotation.
              [K]     hide kernel_symbols symbols.            (no)
              [U]     hide user symbols.                      (no)
              [z]     toggle sample zeroing.                  (0)
              [qQ]    quit.
      
      instead of:
      
      Mapped keys:
              [d]     display refresh delay.                  (2)
              [e]     display entries (lines).                (46)
              [f]     profile display filter (count).         (5)
              [F]     annotate display filter (percent).      (5%)
              [s]     annotate symbol.                        (NULL)
              [S]     stop annotation.
              [K]     hide kernel_symbols symbols.                    (no)
              [U]     hide user symbols.                      (no)
              [z]     toggle sample zeroing.                  (0)
              [qQ]    quit.
      
      Signed-off-by: default avatarKirill Smelkov <kirr@landau.phys.spbu.ru>
      Acked-by: default avatarArnaldo Carvalho de Melo <acme@redhat.com>
      Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
      Cc: Mike Galbraith <efault@gmx.de>
      Cc: Paul Mackerras <paulus@samba.org>
      Cc: Frederic Weisbecker <fweisbec@gmail.com>
      LKML-Reference: <20100212162059.GA30041@landau.phys.spbu.ru>
      Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
      1a72cfa6
    • Heiko Carstens's avatar
      tracing/kprobes: Fix probe parsing · a9bb18f3
      Heiko Carstens authored
      
      
      Trying to add a probe like:
      
        echo p:myprobe 0x10000 > /sys/kernel/debug/tracing/kprobe_events
      
      will fail since the wrong pointer is passed to strict_strtoul
      when trying to convert the address to an unsigned long.
      
      Signed-off-by: default avatarHeiko Carstens <heiko.carstens@de.ibm.com>
      Acked-by: default avatarMasami Hiramatsu <mhiramat@redhat.com>
      Cc: Frederic Weisbecker <fweisbec@gmail.com>
      Cc: Steven Rostedt <rostedt@goodmis.org>
      LKML-Reference: <20100210162346.GA6933@osiris.boeblingen.de.ibm.com>
      Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
      a9bb18f3
  3. Feb 13, 2010
  4. Feb 12, 2010
  5. Feb 11, 2010
    • Andy Getzendanner's avatar
      vgaarb: fix incorrect dereference of userspace pointer. · 77c1ff39
      Andy Getzendanner authored
      
      
      This patch corrects a userspace pointer dereference in the VGA arbiter
      in 2.6.32.1.
      
      copy_from_user() is used at line 822 to copy the contents of buf into
      kbuf, but a call to strncmp() on line 964 uses buf rather than kbuf.  This
      problem led to a GPF in strncmp() when X was started on my x86_32 systems.
       X triggered the behavior with a write of "target PCI:0000:01:00.0" to
      /dev/vga_arbiter.
      
      The patch has been tested against 2.6.32.1 and observed to correct the GPF
      observed when starting X or manually writing the string "target
      PCI:0000:01:00.0" to /dev/vga_arbiter.
      
      Signed-off-by: default avatarAndy Getzendanner <james.getzendanner@students.olin.edu>
      Cc: Jesse Barnes <jbarnes@virtuousgeek.org>
      Cc: <stable@kernel.org>
      Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
      77c1ff39
    • Dave Airlie's avatar
      Merge branch 'drm-radeon-linus' of ../drm-next · 0a4583eb
      Dave Airlie authored
      * 'drm-radeon-linus' of ../drm-next:
        drm/radeon/kms: retry auxch on 0x20 timeout value.
        drm/radeon: Skip dma copy test in benchmark if card doesn't have dma engine.
        drm/radeon/kms: fix screen clearing before fbcon.
        drm/radeon/kms: add quirk for VGA without DDC on rv730 XFX card.
        drm/radeon/kms: don't crash if no DDC bus on VGA/DVI connector.
        drm/radeon/kms: change Kconfig text to reflect the new option.
        drm/radeon/kms: suspend and resume audio stuff
      0a4583eb