1. 23 10月, 2008 1 次提交
  2. 11 10月, 2008 1 次提交
  3. 04 10月, 2008 1 次提交
    • L
      e1000e: Fix incorrect debug warning · 95b866d5
      Linus Torvalds 提交于
      Doing 'WARN_ON(preempt_count())' was horribly horribly wrong, and would
      cause tons of warnings at bootup if PREEMPT was enabled because the
      initcalls currently run with the kernel lock, which increments the
      preempt count.
      
      At the same time, the warning was also insufficient, since it didn't
      check that interrupts were enabled.
      
      The proper debug function to use for something that can sleep and wants
      a warning if it's called in the wrong context is 'might_sleep()'.
      Reported-by: NChristian Borntraeger <borntraeger@de.ibm.com>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      95b866d5
  4. 03 10月, 2008 6 次提交
  5. 02 10月, 2008 1 次提交
  6. 25 9月, 2008 1 次提交
    • L
      ath9k: disable MIB interrupts to fix interrupt storm · 92cccc2c
      Luis R. Rodriguez 提交于
      Enabling the MIB interrupts has proven to cause an
      interrupt storm after 7 hours of run. We will make use of the
      MIB interrupt once we have ANI supported added so for now
      to cure this we disable the interrupt.
      
      The interrupt storm can be seen as follows after 7 hours of run
      as reported by  Steven Noonan <steven@uplinklabs.net>:
      
      18:28:38          sum   1106.00
      18:28:39          sum   1037.62
      18:28:40          sum   1069.00
      18:28:41          sum   1167.00
      18:28:42          sum   1155.00
      18:28:43          sum   1339.00
      18:28:44          sum  18355.00
      18:28:45          sum  17845.45
      18:28:46          sum  15285.00
      18:28:47          sum  17511.00
      18:28:48          sum  17568.69
      18:28:49          sum  17704.04
      18:28:50          sum  18566.67
      18:28:51          sum  18913.13
      
      at 18:28:44 the MIB interrupt kicked off and caused huge
      latency which can be seen even on a video he submitted:
      
      http://www.youtube.com/watch?v=4GeCx1gZMpASigned-off-by: NLuis R. Rodriguez <lrodriguez@atheros.com>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      92cccc2c
  7. 23 9月, 2008 3 次提交
  8. 19 9月, 2008 4 次提交
    • R
      e100: Use pci_pme_active to clear PME_Status and disable PME# · e7272403
      Rafael J. Wysocki 提交于
      Currently e100 uses pci_enable_wake() to clear pending wake-up events
      and disable PME# during intitialization, but that function is not
      suitable for this purpose, because it immediately returns error code
      if device_may_wakeup() returns false for given device.
      
      Make e100 use pci_pme_active(), which carries out exactly the
      required operations, instead.
      Signed-off-by: NRafael J. Wysocki <rjw@sisk.pl>
      Signed-off-by: NJeff Garzik <jgarzik@redhat.com>
      e7272403
    • C
      e1000: prevent corruption of EEPROM/NVM · 78566fec
      Christopher Li 提交于
      Andrey reports e1000 corruption, and that a patch in vmware's ESX fixed
      it.
      
      The EEPROM corruption is triggered by concurrent access of the EEPROM
      read/write. Putting a lock around it solve the problem.
      
      [akpm@linux-foundation.org: use DEFINE_SPINLOCK to avoid confusing lockdep]
      Signed-off-by: NChristopher Li <chrisl@vmware.com>
      Reported-by: NAndrey Borzenkov <arvidjaar@mail.ru>
      Cc: Zach Amsden <zach@vmware.com>
      Cc: Pratap Subrahmanyam <pratap@vmware.com>
      Cc: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
      Cc: Jesse Brandeburg <jesse.brandeburg@intel.com>
      Cc: Bruce Allan <bruce.w.allan@intel.com>
      Cc: PJ Waskiewicz <peter.p.waskiewicz.jr@intel.com>
      Cc: John Ronciak <john.ronciak@intel.com>
      Cc: Jeff Garzik <jeff@garzik.org>
      Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NJeff Garzik <jgarzik@redhat.com>
      78566fec
    • Y
      forcedeth: call restore mac addr in nv_shutdown path · f55c21fd
      Yinghai Lu 提交于
      after
      
      | commit f735a2a1
      | Author: Tobias Diedrich <ranma+kernel@tdiedrich.de>
      | Date:   Sun May 18 15:02:37 2008 +0200
      |
      |    [netdrvr] forcedeth: setup wake-on-lan before shutting down
      |
      |    When hibernating in 'shutdown' mode, after saving the image the suspend hook
      |    is not called again.
      |    However, if the device is in promiscous mode, wake-on-lan will not work.
      |    This adds a shutdown hook to setup wake-on-lan before the final shutdown.
      |
      |    Signed-off-by: Tobias Diedrich <ranma+kernel@tdiedrich.de>
      |    Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
      
      my servers with nvidia ck804 and mcp55 will reverse mac address with kexec.
      
      it turns out that we need to restore the mac addr in nv_shutdown().
      
      [akpm@linux-foundation.org: fix typo in printk]
      Signed-off-by: NYinghai Lu <yhlu.kernel@gmail.com>
      Cc: Tobias Diedrich <ranma+kernel@tdiedrich.de>
      Cc: Ayaz Abdulla <aabdulla@nvidia.com>
      Cc: Jeff Garzik <jeff@garzik.org>
      Cc: "Rafael J. Wysocki" <rjw@sisk.pl>
      Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NJeff Garzik <jgarzik@redhat.com>
      f55c21fd
    • B
      bnx2: Promote vector field in bnx2_irq structure from u16 to unsigned int · 27ed9ddf
      Benjamin Li 提交于
      The bnx2 driver stores/uses the irq value from the pci_dev internally.
      But when it stores the irq value, it has been performing an
      integer demotion.  Because of the recent changes made to
      arch/x86/kernel/io_apic.c, the new method in creating the irq value
      (using build_irq_for_pci_dev()) has exposed this bug on x86 systems.
      
      Because of this demotion when calling request_irq() from
      bnx2_request_irq(), the driver would get a return code of -EINVAL.
      This is because the kernel could not find the requested irq descriptor.
      By storing the irq value properly, the kernel can find the correct
      irq descriptor and the bnx2 driver can operate normally.
      Signed-off-by: NBenjamin Li <benli@broadcom.com>
      Signed-off-by: NMichael Chan <mchan@broadcom.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      27ed9ddf
  9. 17 9月, 2008 2 次提交
  10. 16 9月, 2008 1 次提交
  11. 13 9月, 2008 1 次提交
  12. 11 9月, 2008 1 次提交
  13. 06 9月, 2008 1 次提交
  14. 04 9月, 2008 11 次提交
  15. 03 9月, 2008 5 次提交
    • D
      netxen: Remove workaround for chipset quirk · 0b62afb4
      Dhananjay Phadke 提交于
      Remove chipset-specific quirk workaround; the workaround caused
      unrecoverable DMA lockups when the driver was loaded following a
      PXE boot.
      Signed-off-by: NDhananjay Phadke <dhananjay@netxen.com>
      Signed-off-by: NMichael Brown <mbrown@fensystems.co.uk>
      Signed-off-by: NJeff Garzik <jgarzik@redhat.com>
      0b62afb4
    • K
      pcnet-cs, axnet_cs: add new IDs, remove dup ID with less info · 2dcc9ff7
      Komuro 提交于
      pcnet_cs:
          add new ID: "corega Ether PCC-TD".
          remove duplicate ID: "IC-CARD".
      
      axnet_cs:
          add new ID: "IO DATA ETXPCM".
      Signed-off-by: NKomuro <komurojun-mbn@nifty.com>
      Signed-off-by: NJeff Garzik <jgarzik@redhat.com>
      2dcc9ff7
    • A
      ixgbe: initialize interrupt throttle rate · 15e79f24
      Andy Gospodarek 提交于
      This commit dropped the setting of the default interrupt throttle rate.
      
      commit 021230d4
      Author: Ayyappan Veeraiyan <ayyappan.veeraiyan@intel.com>
      Date:   Mon Mar 3 15:03:45 2008 -0800
      
          ixgbe: Introduce MSI-X queue vector code
      
      The following patch adds it back.  Without this the default value of 0
      causes the performance of this card to be awful.  Restoring these to the
      default values yields much better performance.
      
      This regression has been around since 2.6.25.
      Signed-off-by: NAndy Gospodarek <andy@greyhouse.net>
      Acked-by: NJesse Brandeburg <jesse.brandeburg@intel.com>
      Signed-off-by: NJeff Kirsher <jeffrey.t.kirsher@intel.com>
      CC: stable@kernel.org [2.6.25 and later]
      Signed-off-by: NJeff Garzik <jgarzik@redhat.com>
      15e79f24
    • D
      net/usb/pegasus: avoid hundreds of diagnostics · e000ea13
      David Brownell 提交于
      Make the "pegasus" driver scream less loudly in the face of
      problems as it initializes, avoiding hundreds of messages:
      
       - ratelimit some key error messages
       - avoid some spurious diagnostics caused by strange codeflow
      
      And fix one instance of goofy indentation.
      Signed-off-by: NDavid Brownell <dbrownell@users.sourceforge.net>
      Signed-off-by: NJeff Garzik <jgarzik@redhat.com>
      e000ea13
    • S
      ath9: Fix ath_rx_flush_tid() for IRQs disabled kernel warning message. · 773b4e02
      Senthil Balasubramanian 提交于
      This patch addresses an issue with the locking order. ath_rx_flush_tid()
      uses spin_lock/unlock_bh when IRQs are disabled in sta_notify by mac80211.
      
      As node clean up is still pending with ath9k and this problematic portion
      of the code is expected to change anyway, thinking of a proper fix may not
      be worthwhile. So having this interim fix helps the users to get rid of the
      kernel warning message.
      
      Pasted the kernel warning message for reference.
      
      kernel: ath0: No ProbeResp from current AP 00:1b:11:60:7a:3d - assume out of range
      kernel: ------------[ cut here ]------------
      kernel: WARNING: at kernel/softirq.c:136 local_bh_enable+0x3c/0xab()
      kernel: Pid: 1029, comm: ath9k Not tainted 2.6.27-rc4-wt-w1fi-wl
      kernel:
      kernel: Call Trace:
      kernel:  [<ffffffff802278d8>] warn_on_slowpath+0x51/0x77
      kernel:  [<ffffffff80224c51>] check_preempt_wakeup+0xf3/0x123
      kernel:  [<ffffffff80239658>] autoremove_wake_function+0x9/0x2e
      kernel:  [<ffffffff8022c281>] local_bh_enable+0x3c/0xab
      kernel:  [<ffffffffa01ab75a>] ath_rx_node_cleanup+0x38/0x6e [ath9k]
      kernel:  [<ffffffffa01b2280>] ath_node_detach+0x3b/0xb6 [ath9k]
      kernel:  [<ffffffffa01ab09f>] ath9k_sta_notify+0x12b/0x165 [ath9k]
      kernel:  [<ffffffff802366cf>] queue_work+0x1d/0x49
      kernel:  [<ffffffffa018c3fc>] add_todo+0x70/0x99 [mac80211]
      kernel:  [<ffffffffa017de76>] __sta_info_unlink+0x16b/0x19e [mac80211]
      kernel:  [<ffffffffa017e6ed>] sta_info_unlink+0x18/0x43 [mac80211]
      kernel:  [<ffffffffa0182732>] ieee80211_associated+0xaa/0x16d [mac80211]
      kernel:  [<ffffffffa0184a1a>] ieee80211_sta_work+0x4fb/0x6b4 [mac80211]
      kernel:  [<ffffffff80469c58>] thread_return+0x30/0xa9
      kernel:  [<ffffffffa018451f>] ieee80211_sta_work+0x0/0x6b4 [mac80211]
      kernel:  [<ffffffff802362c2>] run_workqueue+0xb1/0x17a
      kernel:  [<ffffffff80236be9>] worker_thread+0xd0/0xdb
      kernel:  [<ffffffff8023964f>] autoremove_wake_function+0x0/0x2e
      kernel:  [<ffffffff80236b19>] worker_thread+0x0/0xdb
      kernel:  [<ffffffff8023954a>] kthread+0x47/0x75
      kernel:  [<ffffffff80223121>] schedule_tail+0x18/0x50
      kernel:  [<ffffffff8020bc49>] child_rip+0xa/0x11
      kernel:  [<ffffffff80239503>] kthread+0x0/0x75
      kernel:  [<ffffffff8020bc3f>] child_rip+0x0/0x11
      kernel:
      kernel: ---[ end trace e9bb5da661055827 ]---
      Signed-off-by: NSenthil Balasubramanian <senthilkumar@atheros.com>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      773b4e02