1. 15 5月, 2007 2 次提交
    • A
      IB/ipath: Shadow the gpio_mask register · 8f140b40
      Arthur Jones 提交于
      Once upon a time, GPIO interrupts were rare.  But then a chip bug in
      the waldo series forced the use of a GPIO interrupt to signal packet
      reception.  This greatly increased the frequency of GPIO interrupts
      which have the gpio_mask bits set on the waldo chips.  Other bits in
      the gpio_status register are used for I2C clock and data lines, these
      bits are usually on.  An "unlikely" annotation leftover from the old
      days was improperly applied to these bits, and an unnecessary chip
      mmio read was being accessed in the interrupt fast path on waldo.
      
      Remove the stagnant unlikely annotation in the interrupt handler and
      keep a shadow copy of the gpio_mask register to avoid the slow mmio
      read when testing for interruptable GPIO bits.
      Signed-off-by: NArthur Jones <arthur.jones@qlogic.com>
      Signed-off-by: NRoland Dreier <rolandd@cisco.com>
      8f140b40
    • J
      IB/mlx4: Fix uninitialized spinlock for 32-bit archs · 26c6bc7b
      Jack Morgenstein 提交于
      uar_lock spinlock was used in mlx4_ib_cq_arm without being initialized
      (this only affects 32-bit archs, because uar_lock is not used on
      64-bit archs and MLX4_INIT_DOORBELL_LOCK() is a NOP).
      Signed-off-by: NJack Morgenstein <jackm@dev.mellanox.co.il>
      Signed-off-by: NRoland Dreier <rolandd@cisco.com>
      26c6bc7b
  2. 13 5月, 2007 2 次提交
  3. 10 5月, 2007 36 次提交