1. 10 Aug, 2009 17 commits
  2. 09 Aug, 2009 15 commits
  3. 08 Aug, 2009 8 commits
    • Stanislaw Gruszka's avatar
      posix_cpu_timers_exit_group(): Do not use thread_group_cputimer() · 17d42c1c
      Stanislaw Gruszka authored
      When the process exits we don't have to run new cputimer nor
      use running one (as it not accounts when tsk->exit_state != 0)
      to get process CPU times.  As there is only one thread we can
      just use CPU times fields from task and signal structs.
      Signed-off-by: default avatarStanislaw Gruszka <sgruszka@redhat.com>
      Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
      Cc: Roland McGrath <roland@redhat.com>
      Cc: Vitaly Mayatskikh <vmayatsk@redhat.com>
      Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
      17d42c1c
    • Tom Zanussi's avatar
      tracing/filters: Always free pred on filter_add_subsystem_pred() failure · 26528e77
      Tom Zanussi authored
      If filter_add_subsystem_pred() fails due to ENOSPC or ENOMEM,
      the pred doesn't get freed, while as a side effect it does for
      other errors. Make it so the caller always frees the pred for
      any error.
      Signed-off-by: default avatarTom Zanussi <tzanussi@gmail.com>
      Cc: Steven Rostedt <rostedt@goodmis.org>
      Cc: Frederic Weisbecker <fweisbec@gmail.com>
      Cc: Li Zefan <lizf@cn.fujitsu.com>
      LKML-Reference: <1249746593.6453.32.camel@tropicana>
      Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
      26528e77
    • Tom Zanussi's avatar
      tracing/filters: Don't use pred on alloc failure · 96b2de31
      Tom Zanussi authored
      Dan Carpenter sent me a fix to prevent pred from being used if
      it couldn't be allocated.  I noticed the same problem also
      existed for the create_pred() case and added a fix for that.
      Reported-by: default avatarDan Carpenter <error27@gmail.com>
      Signed-off-by: default avatarTom Zanussi <tzanussi@gmail.com>
      Cc: Steven Rostedt <rostedt@goodmis.org>
      Cc: Frederic Weisbecker <fweisbec@gmail.com>
      Cc: Li Zefan <lizf@cn.fujitsu.com>
      LKML-Reference: <1249746549.6453.29.camel@tropicana>
      Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
      96b2de31
    • Ozan Çağlayan's avatar
      x86: Add quirk to make Apple MacBookPro5,1 use reboot=pci · 498cdbfb
      Ozan Çağlayan authored
      MacBookPro5,1 is not able to reboot unless reboot=pci is set.
      This patch forces it through a DMI quirk specific to this
      device.
      Signed-off-by: default avatarOzan Çağlayan <ozan@pardus.org.tr>
      LKML-Reference: <1249403971-6543-1-git-send-email-ozan@pardus.org.tr>
      Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
      498cdbfb
    • Yinghai Lu's avatar
      x86: Fix MSI-X initialization by using online_mask for x2apic target_cpus · 087d7e56
      Yinghai Lu authored
      found a system where x2apic reports an MSI-X irq initialization
      failure:
      
      [  302.859446] igbvf 0000:81:10.4: enabling device (0000 -> 0002)
      [  302.874369] igbvf 0000:81:10.4: using 64bit DMA mask
      [  302.879023] igbvf 0000:81:10.4: using 64bit consistent DMA mask
      [  302.894386] igbvf 0000:81:10.4: enabling bus mastering
      [  302.898171] igbvf 0000:81:10.4: setting latency timer to 64
      [  302.914050] reserve_memtype added 0xefb08000-0xefb0c000, track uncached-minus, req uncached-minus, ret uncached-minus
      [  302.933839] reserve_memtype added 0xefb28000-0xefb29000, track uncached-minus, req uncached-minus, ret uncached-minus
      [  302.940367]   alloc irq_desc for 265 on node 4
      [  302.956874]   alloc kstat_irqs on node 4
      [  302.959452] alloc irq_2_iommu on node 0
      [  302.974328] igbvf 0000:81:10.4: irq 265 for MSI/MSI-X
      [  302.977778]   alloc irq_desc for 266 on node 4
      [  302.980347]   alloc kstat_irqs on node 4
      [  302.995312] free_memtype request 0xefb28000-0xefb29000
      [  302.998816] igbvf 0000:81:10.4: Failed to initialize MSI-X interrupts.
      
      ... it turns out that when trying to enable MSI-X,
      __assign_irq_vector(new, cfg_new, apic->target_cpus()) can not
      get vector because for x2apic target-cpus returns cpumask_of(0)
      
      Update that to online_mask like xapic.
      Signed-off-by: default avatarYinghai Lu <yinghai@kernel.org>
      Acked-by: default avatarSuresh Siddha <suresh.b.siddha@intel.com>
      LKML-Reference: <4A785AFF.3050902@kernel.org>
      Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
      087d7e56
    • Linus Torvalds's avatar
      Merge git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb-2.6 · 7b2aa037
      Linus Torvalds authored
      * git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb-2.6:
        USB: fix oops on disconnect in cdc-acm
        USB: storage: include Prolific Technology USB drive in unusual_devs list
        USB: ftdi_sio: add product_id for Marvell OpenRD Base, Client
        USB: ftdi_sio: add vendor and product id for Bayer glucose meter serial converter cable
        USB: EHCI: fix counting of transaction error retries
        USB: EHCI: fix two new bugs related to Clear-TT-Buffer
        USB: usbfs: fix -ENOENT error code to be -ENODEV
        USB: musb: fix the nop registration for OMAP3EVM
        USB: devio: Properly do access_ok() checks
        USB: pl2303: New vendor and product id
      7b2aa037
    • Linus Torvalds's avatar
      Merge git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging-2.6 · 710ad849
      Linus Torvalds authored
      * git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging-2.6:
        Staging: rspiusb: Fix buffer overflow
        staging: add dependencies on PCI for drivers that require it
        Staging: rtl8192su: fix build error
        Staging: rt2870: Revert d44ca7 Removal of kernel_thread() API
        Staging: rt2870: Add USB ID for Linksys, Planex Communications, Belkin
      710ad849
    • Linus Torvalds's avatar
      Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/anholt/drm-intel · b32b8e64
      Linus Torvalds authored
      * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/anholt/drm-intel: (22 commits)
        drm/i915: Fix read outside array bounds in restoring the SWF10 range.
        drm/i915: Use our own workqueue to avoid wedging the system along with the GPU.
        drm/i915: Add support for dual-channel LVDS on 8xx.
        drm/i915: Return disconnected for SDVO DVI when there's no digital EDID.
        drm/i915: Choose real sdvo output according to result from detection
        drm/i915: Set preferred mode for integrated TV according to TV format
        drm/i915: fix 845G FIFO size & burst length
        drm/i915: fix VGA detect on IGDNG
        drm/i915: Add eDP support on IGDNG mobile chip
        drm/i915: enable DisplayPort support on IGDNG
        drm/i915: Fix channel ending action for DP aux transaction
        drm/i915: fix issue in display pipe setup on IGDNG
        drm/i915: disable VGA plane reliably
        drm/I915: Fix offset to DVO timings in LVDS data
        drm/i915: hdmi detection according by reading edid
        drm/i915: correct self-refresh calculation in "everything off" case
        drm/i915: handle FIFO oversubsription correctly
        drm/i915: FIFO watermark calculation fixes
        drm/i915: ignore lvds on AOpen Mini PC MP-915
        drm/i915: Allow frame buffers up to 4096x4096 on 915/945 class hardware
        ...
      b32b8e64