13 May, 2010

6 commits


12 May, 2010

4 commits

  • As of git commit 1844c9bc0b2fed3023551c1affe033ab38e90b9a head64.S/head31.S
    are not included in head.S anymore but build as an extra object. This breaks
    shared kernel support because the .org statement in head64.S/head31.S for
    CONFIG_SHARED_KERNEL=y will have a different effect. The end address of the
    head.text section in head.o will be added to the .org value, to compensate
    for this subtract 0x11000 to get the required value of 0x100000 again.

    Signed-off-by: Martin Schwidefsky

    Martin Schwidefsky
     
  • strace may change the system call number, so regs->gprs[2] must not
    be read before tracehook_report_syscall_entry(). This fixes a bug
    where "strace -f" will hang after a vfork().

    Cc:
    Signed-off-by: Gerald Schaefer
    Signed-off-by: Martin Schwidefsky

    Gerald Schaefer
     
  • Anton Blanchard found that large POWER systems would occasionally
    crash in the exception exit path when profiling with perf_events.
    The symptom was that an interrupt would occur late in the exit path
    when the MSR[RI] (recoverable interrupt) bit was clear. Interrupts
    should be hard-disabled at this point but they were enabled. Because
    the interrupt was not recoverable the system panicked.

    The reason is that the exception exit path was calling
    perf_event_do_pending after hard-disabling interrupts, and
    perf_event_do_pending will re-enable interrupts.

    The simplest and cleanest fix for this is to use the same mechanism
    that 32-bit powerpc does, namely to cause a self-IPI by setting the
    decrementer to 1. This means we can remove the tests in the exception
    exit path and raw_local_irq_restore.

    This also makes sure that the call to perf_event_do_pending from
    timer_interrupt() happens within irq_enter/irq_exit. (Note that
    calling perf_event_do_pending from timer_interrupt does not mean that
    there is a possible 1/HZ latency; setting the decrementer to 1 ensures
    that the timer interrupt will happen immediately, i.e. within one
    timebase tick, which is a few nanoseconds or 10s of nanoseconds.)

    Signed-off-by: Paul Mackerras
    Cc: stable@kernel.org
    Signed-off-by: Benjamin Herrenschmidt

    Paul Mackerras
     
  • …/git/tip/linux-2.6-tip

    * 'perf-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip:
    kprobes/x86: Fix removed int3 checking order
    perf: Fix static strings treated like dynamic ones

    Linus Torvalds
     

11 May, 2010

1 commit

  • Fix kprobe/x86 to check removed int3 when failing to get kprobe
    from hlist. Since we have a time window between checking int3
    exists on probed address and getting kprobe on that address,
    we can have following scenario:

    -------
    CPU1 CPU2
    hit int3
    check int3 exists
    remove int3
    remove kprobe from hlist
    get kprobe from hlist
    no kprobe->OOPS!
    -------

    This patch moves int3 checking if there is no kprobe on that
    address for fixing this problem as follows:

    ------
    CPU1 CPU2
    hit int3
    remove int3
    remove kprobe from hlist
    get kprobe from hlist
    no kprobe->check int3 exists
    ->rollback&retry
    ------

    Signed-off-by: Masami Hiramatsu
    Acked-by: Ananth N Mavinakayanahalli
    Cc: systemtap
    Cc: DLE
    Cc: Dave Anderson
    Cc: Peter Zijlstra
    Cc: Mike Galbraith
    Cc: Paul Mackerras
    Cc: Arnaldo Carvalho de Melo
    Cc: Frederic Weisbecker
    LKML-Reference:
    Signed-off-by: Ingo Molnar

    Masami Hiramatsu
     

08 May, 2010

1 commit

  • * 'v4l_for_2.6.34' of git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-2.6:
    V4L/DVB: pxa_camera: move fifo reset direct before dma start
    V4L/DVB: video: testing unsigned for less than 0
    V4L/DVB: mx1-camera: compile fix
    V4L/DVB: budget: Oops: "BUG: unable to handle kernel NULL pointer dereference"
    V4L/DVB: ngene: Workaround for stuck DiSEqC pin
    V4L/DVB: saa7146: fix regression of the av7110/budget-av driver
    V4L/DVB: v4l: fix config dependencies: mxb and saa7191 are V4L2 drivers, not V4L1
    V4L/DVB: feature-removal: announce videotext.h removal
    V4L/DVB: V4L - vpfe capture - fix for kernel crash
    V4L/DVB: gspca: make usb id 0461:0815 get handled by the right driver
    V4L/DVB: gspca - stv06xx: Remove the 046d:08da from the stv06xx driver
    V4L/DVB: gspca - sn9c20x: Correct onstack wait_queue_head declaration
    V4L/DVB: saa7146: fix up bytesperline if it is an impossible value
    V4L/DVB: V4L: vpfe_capture - free ccdc_lock when memory allocation fails
    V4L/DVB: V4L - Makfile:Removed duplicate entry of davinci
    V4L/DVB: omap24xxcam: potential buffer overflow

    Linus Torvalds
     

07 May, 2010

1 commit

  • This fixes a regression of

    7d58289 (mx1: prefix SOC specific defines with MX1_ and deprecate old names)

    Signed-off-by: Uwe Kleine-König
    Acked-by: Sascha Hauer
    Signed-off-by: Guennadi Liakhovetski
    Signed-off-by: Mauro Carvalho Chehab

    Uwe Kleine-König
     

06 May, 2010

27 commits