1. 03 Nov, 2007 2 commits
    • Linus Torvalds's avatar
      Merge branch 'upstream' of git://ftp.linux-mips.org/pub/scm/upstream-linus · 29dd5a77
      Linus Torvalds authored
      * 'upstream' of git://ftp.linux-mips.org/pub/scm/upstream-linus: (25 commits)
        [MIPS] Jazz: disable PIT; cleanup R4030 clockevent
        [MIPS] Bigsur supports highmem.
        [MIPS] mtx-1: Enable -Werror.
        [MIPS] mtx-1: Remove unused mtx1_sys_btn.
        [MIPS] Pb1200: Enable -Werror.
        [MIPS] Fix and cleanup the MIPS part of the (ab)use of CLOCK_TICK_RATE.
        [MIPS] SNI: register a02r clockevent; don't use PIT timer
        [MIPS] i8253.h: Remove all i8259 related definitions.
        [MIPS] i8253: Cleanup.
        [MIPS] Cobalt: Fix IRQ comment; the Cobalt kernel uses CP0 counter now.
        [MIPS] Pb1200: Fix warning.
        [MIPS] Pb1200: Fix warning.
        [MIPS] IP27: Fix build error.
        [MIPS] Excite: Fix build error.
        [MIPS] Sibyte: Split and move clock code.
        [MIPS] Sibyte: Fixes for oneshot timer mode.
        [MIPS] Sibyte: Remove blank line.
        [MIPS] Swarm: Fix build failure
        [MIPS] time: Code cleanups
        [MIPS] time: Remove now unused local_timer_interrupt.
        ...
      29dd5a77
    • Linus Torvalds's avatar
      Merge git://git.kernel.org/pub/scm/linux/kernel/git/wim/linux-2.6-watchdog · 71527bf8
      Linus Torvalds authored
      * git://git.kernel.org/pub/scm/linux/kernel/git/wim/linux-2.6-watchdog:
        [WATCHDOG] iTCO_wdt.c ICH8 pci-device-id's
        [WATCHDOG] iTCO_wdt.c init & exit fixes
        [WATCHDOG] iTCO_wdt.c pci_device_id table clean-up
        [WATCHDOG] spin_lock_init() fixes
        [WATCHDOG] Unlock in iTCO_wdt_start when reboot is disabled
        [WATCHDOG] Add necessary braces to if (...) \n #if... cases
        [WATCHDOG] trivial fix two returns in void functions
      71527bf8
  2. 02 Nov, 2007 29 commits
  3. 01 Nov, 2007 9 commits
    • Linus Torvalds's avatar
      Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/hid · 434a25d4
      Linus Torvalds authored
      * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/hid:
        HID: Don't access input_dev->private directly
        HID: fix hidinput_connect ignoring retval from input_register_device
        HID: hiddev - fix compiler warning
        HID: Add GoTop tablets to blacklist
      434a25d4
    • Linus Torvalds's avatar
      Merge branch 'upstream-linus' of master.kernel.org:/pub/scm/linux/kernel/git/jgarzik/netdev-2.6 · 3ce4af1d
      Linus Torvalds authored
      * 'upstream-linus' of master.kernel.org:/pub/scm/linux/kernel/git/jgarzik/netdev-2.6:
        Fix myri10ge NAPI oops & warnings
        Fix region size check in mpc5200 FEC driver
        mpc5200: Fix Kconfig dependancies on MPC5200 FEC device driver
      3ce4af1d
    • Andrew Gallatin's avatar
      Fix myri10ge NAPI oops & warnings · c956a240
      Andrew Gallatin authored
      When testing the myri10ge driver with 2.6.24-rc1, I found
      that the machine crashed under heavy load:
      
      Unable to handle kernel paging request at 0000000000100108 RIP:
        [<ffffffff803cc8dd>] net_rx_action+0x11b/0x184
      
      The address corresponds to the list_move_tail() in
      netif_rx_complete():
                           if (unlikely(work == weight))
                                   list_move_tail(&n->poll_list, list);
      
      Eventually, I traced the crashes to calling netif_rx_complete() with
      work_done == budget.  From looking at other drivers, it appears that
      one should only call netif_rx_complete() when work_done < budget.
      
      To fix it, I changed the test in myri10ge_poll() so that it refers
      to to work_done rather than looking at the rx ring status.  If
      work_done is < budget, then that implies we have no more packets to
      process. Any races will be resolved by the NIC when the write to
      irq_claim is made.
      
      In myri10ge_clean_rx_done(), if we ever exceeded our budget, it would
      report a work_done one larger than was acutally done.  This is because
      the increment was done in the conditional, so work_done would be
      incremented regardless of whether or not the test passed or failed.
      This would lead to the WARN_ON_ONCE(work > weight); warning in
      net_rx_action triggering.  I've moved the increment of work_done
      inside the loop.  Note that this would only be a problem when we had
      exceeded our budget.
      
      Signed off by: Andrew Gallatin <gallatin@myri.com>
      
      Andrew Gallatin Myricom Inc
      Signed-off-by: default avatarJeff Garzik <jeff@garzik.org>
      c956a240
    • Grant Likely's avatar
      Fix region size check in mpc5200 FEC driver · 48d58459
      Grant Likely authored
      Driver shouldn't complain if the register range is larger than what
      it expects.  This works around failures with some device trees.
      Signed-off-by: default avatarGrant Likely <grant.likely@secretlab.ca>
      Signed-off-by: default avatarJeff Garzik <jeff@garzik.org>
      48d58459
    • Grant Likely's avatar
      mpc5200: Fix Kconfig dependancies on MPC5200 FEC device driver · 644fdf9b
      Grant Likely authored
      When not building an arch/powerpc kernel, the mpc5200 FEC driver depends
      on some symbols which are not defined (BESTCOMM & BESTCOMM_FEC).
      
      This patch flips around the dependancy logic so that it cannot be
      selected unless BESTCOMM_FEC is selected first.  Kconfig stops
      complaining this way.
      
      Also, the driver only works for arch/powerpc (not arch/ppc) anyway so
      it should depend on PPC_MERGE also.
      Signed-off-by: default avatarGrant Likely <grant.likely@secretlab.ca>
      Signed-off-by: default avatarJeff Garzik <jeff@garzik.org>
      644fdf9b
    • Linus Torvalds's avatar
      Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6 · 54866f03
      Linus Torvalds authored
      * 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6:
        [IRDA] IRNET: Fix build when TCGETS2 is defined.
        [NET]: docbook fixes for netif_ functions
        [NET]: Hide the net_ns kmem cache
        [NET]: Mark the setup_net as __net_init
        [NET]: Hide the dead code in the net_namespace.c
        [NET]: Relax the reference counting of init_net_ns
        [NETNS]: Make the init/exit hooks checks outside the loop
        [NET]: Forget the zero_it argument of sk_alloc()
        [NET]: Remove bogus zero_it argument from sk_alloc
        [NET]: Make the sk_clone() lighter
        [NET]: Move some core sock setup into sk_prot_alloc
        [NET]: Auto-zero the allocated sock object
        [NET]: Cleanup the allocation/freeing of the sock object
        [NET]: Move the get_net() from sock_copy()
        [NET]: Move the sock_copy() from the header
        [TCP]: Another TAGBITS -> SACKED_ACKED|LOST conversion
        [TCP]: Process DSACKs that reside within a SACK block
      54866f03
    • David S. Miller's avatar
      [SPARC64]: Update defconfig. · b4d367fb
      David S. Miller authored
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      b4d367fb
    • David S. Miller's avatar
      49259d34
    • Stephen Hemminger's avatar
      [NET]: docbook fixes for netif_ functions · 3b582cc1
      Stephen Hemminger authored
      Documentation updates for network interfaces.
      
      1. Add doc for netif_napi_add
      2. Remove doc for unused returns from netif_rx
      3. Add doc for netif_receive_skb
      
      [ Incorporated minor mods from Randy Dunlap -DaveM ]
      Signed-off-by: default avatarStephen Hemminger <shemminger@linux-foundation.org>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      3b582cc1