1. 19 Mar, 2009 2 commits
  2. 13 Mar, 2009 1 commit
  3. 09 Mar, 2009 1 commit
  4. 04 Mar, 2009 3 commits
    • David S. Miller's avatar
      sparc64: Fix lost interrupts on sun4u. · d0cac39e
      David S. Miller authored
      Based upon a report by Meelis Roos.
      
      Sparc64 SBUS and PCI controllers use a combination of IMAP and ICLR
      registers to manage device interrupts.
      
      The IMAP register contains the "valid" enable bit as well as CPU
      targetting information.  Whereas the ICLR register is written with
      zero at the end of handling an interrupt to reset the state machine
      for that interrupt to IDLE so it can be sent again.
      
      For PCI slot and SBUS slot devices we can have multiple interrupts
      sharing the same IMAP register.  There are individual ICLR registers
      but only one IMAP register for managing those.
      
      We represent each shared case with individual virtual IRQs so the
      generic IRQ layer thinks there is only one user of the IRQ instance.
      
      In such shared IMAP cases this is wrong, so if there are multiple
      active users then a free_irq() call will prematurely turn off the
      interrupt by clearing the Valid bit in the IMAP register even though
      there are other active users.
      
      Fix this by simply doing nothing in sun4u_disable_irq() and checking
      IRQF_DISABLED during IRQ dispatch.
      
      This situation doesn't exist in the hypervisor sun4v cases, so I left
      those alone.
      Tested-by: default avatarMeelis Roos <mroos@linux.ee>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      d0cac39e
    • Roel Kluin's avatar
      sparc64: wait_event_interruptible_timeout may return -ERESTARTSYS · f4c13638
      Roel Kluin authored
      wait_event_interruptible_timeout may return -ERESTARTSYS.
      Signed-off-by: default avatarRoel Kluin <roel.kluin@gmail.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      f4c13638
    • Christoph Hellwig's avatar
      jsflash: stop defining MAJOR_NR · c21986a7
      Christoph Hellwig authored
      Ever since early 2.5 kernels block drivers don't need to define MAJOR_NR
      anymore, so use the JSFD_MAJOR defined directly and kill it.
      Signed-off-by: default avatarChristoph Hellwig <hch@lst.de>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      c21986a7
  5. 11 Feb, 2009 1 commit
  6. 10 Feb, 2009 11 commits
  7. 09 Feb, 2009 21 commits