1. 08 Jul, 2010 2 commits
    • Matt Evans's avatar
      powerpc/perf_event: Fix for power_pmu_disable() · 219a92a4
      Matt Evans authored
      When power_pmu_disable() removes the given event from a particular index into
      cpuhw->event[], it shuffles down higher event[] entries.  But, this array is
      paired with cpuhw->events[] and cpuhw->flags[] so should shuffle them
      similarly.
      
      If these arrays get out of sync, code such as power_check_constraints() will
      fail.  This caused a bug where events were temporarily disabled and then failed
      to be re-enabled; subsequent code tried to write_pmc() with its (disabled) idx
      of 0, causing a message "oops trying to write PMC0".  This triggers this bug on
      POWER7, running a miss-heavy test:
      
        perf record -e L1-dcache-load-misses -e L1-dcache-store-misses ./misstest
      Signed-off-by: default avatarMatt Evans <matt@ozlabs.org>
      Acked-by: default avatarPaul Mackerras <paulus@samba.org>
      Signed-off-by: default avatarBenjamin Herrenschmidt <benh@kernel.crashing.org>
      219a92a4
    • Linus Torvalds's avatar
      Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-2.6 · 2aa72f61
      Linus Torvalds authored
      * git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-2.6: (35 commits)
        NET: SB1250: Initialize .owner
        vxge: show startup message with KERN_INFO
        ll_temac: Fix missing iounmaps
        bridge: Clear IPCB before possible entry into IP stack
        bridge br_multicast: BUG: unable to handle kernel NULL pointer dereference
        net: Fix definition of netif_vdbg() when VERBOSE_DEBUG is defined
        net/ne: fix memory leak in ne_drv_probe()
        xfrm: fix xfrm by MARK logic
        virtio_net: fix oom handling on tx
        virtio_net: do not reschedule rx refill forever
        s2io: resolve statistics issues
        linux/net.h: fix kernel-doc warnings
        net: decreasing real_num_tx_queues needs to flush qdisc
        sched: qdisc_reset_all_tx is calling qdisc_reset without qdisc_lock
        qlge: fix a eeh handler to not add a pending timer
        qlge: Replacing add_timer() to mod_timer()
        usbnet: Set parent device early for netdev_printk()
        net: Revert "rndis_host: Poll status channel before control channel"
        netfilter: ip6t_REJECT: fix a dst leak in ipv6 REJECT
        drivers: bluetooth: bluecard_cs.c: Fixed include error, changed to linux/io.h
        ...
      2aa72f61
  2. 07 Jul, 2010 14 commits
  3. 06 Jul, 2010 3 commits
  4. 05 Jul, 2010 21 commits