1. 18 3月, 2013 1 次提交
  2. 30 1月, 2013 2 次提交
  3. 29 1月, 2013 1 次提交
    • V
      [SCSI] qla4xxx: Fix MBOX intr switching from polling to intr mode for ISP83XX · 5c19b92a
      Vikas Chaudhary 提交于
      Issue:
      Mailbox command timed out after switching from polling mode to interrupt mode.
      
      Events:-
       1. Mailbox interrupts are disabled
       2. FW generates AEN and at same time driver enables Mailbox Interrupt
       3. Driver issues new mailbox to Firmware
      
      In above case driver will not get AEN interrupts generated by FW in step #2 as
      FW generated this AEN when interrupts are disabled. During the same time
      driver enabled the mailbox interrupt, so driver will not poll for interrupt.
      Driver will never process AENs generated in step #2 and issues new mailbox to
      FW, but now FW is not able to post mailbox completion as AENs generated before
      are not processed by driver.
      
      Fix:
      Enable Mailbox / AEN interrupts before initializing FW in case of ISP83XX.
      This will make sure we process all Mailbox and AENs in interrupt mode.
      Signed-off-by: NVikas Chaudhary <vikas.chaudhary@qlogic.com>
      Signed-off-by: NJames Bottomley <JBottomley@Parallels.com>
      5c19b92a
  4. 24 9月, 2012 12 次提交
  5. 15 9月, 2012 1 次提交
  6. 24 8月, 2012 1 次提交
  7. 20 7月, 2012 1 次提交
  8. 30 5月, 2012 1 次提交
  9. 22 2月, 2012 1 次提交
    • H
      asm-generic: architecture independent readq/writeq for 32bit environment · 797a796a
      Hitoshi Mitake 提交于
      This provides unified readq()/writeq() helper functions for 32-bit
      drivers.
      
      For some cases, readq/writeq without atomicity is harmful, and order of
      io access has to be specified explicitly.  So in this patch, new two
      header files which contain non-atomic readq/writeq are added.
      
       - <asm-generic/io-64-nonatomic-lo-hi.h> provides non-atomic readq/
         writeq with the order of lower address -> higher address
      
       - <asm-generic/io-64-nonatomic-hi-lo.h> provides non-atomic readq/
         writeq with reversed order
      
      This allows us to remove some readq()s that were added drivers when the
      default non-atomic ones were removed in commit dbee8a0a ("x86:
      remove 32-bit versions of readq()/writeq()")
      
      The drivers which need readq/writeq but can do with the non-atomic ones
      must add the line:
      
        #include <asm-generic/io-64-nonatomic-lo-hi.h> /* or hi-lo.h */
      
      But this will be nop in 64-bit environments, and no other #ifdefs are
      required.  So I believe that this patch can solve the problem of
       1. driver-specific readq/writeq
       2. atomicity and order of io access
      
      This patch is tested with building allyesconfig and allmodconfig as
      ARCH=x86 and ARCH=i386 on top of tip/master.
      
      Cc: Kashyap Desai <Kashyap.Desai@lsi.com>
      Cc: Len Brown <lenb@kernel.org>
      Cc: Ravi Anand <ravi.anand@qlogic.com>
      Cc: Vikas Chaudhary <vikas.chaudhary@qlogic.com>
      Cc: Matthew Garrett <mjg@redhat.com>
      Cc: Jason Uhlenkott <juhlenko@akamai.com>
      Cc: James Bottomley <James.Bottomley@parallels.com>
      Cc: Thomas Gleixner <tglx@linutronix.de>
      Cc: "H. Peter Anvin" <hpa@zytor.com>
      Cc: Roland Dreier <roland@purestorage.com>
      Cc: James Bottomley <jbottomley@parallels.com>
      Cc: Alan Cox <alan@lxorguk.ukuu.org.uk>
      Cc: Matthew Wilcox <matthew.r.wilcox@intel.com>
      Cc: Andrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NHitoshi Mitake <h.mitake@gmail.com>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      797a796a
  10. 19 2月, 2012 2 次提交
  11. 16 1月, 2012 1 次提交
  12. 15 12月, 2011 2 次提交
  13. 17 10月, 2011 2 次提交
  14. 27 8月, 2011 2 次提交
  15. 25 5月, 2011 2 次提交
  16. 24 3月, 2011 1 次提交
  17. 22 12月, 2010 3 次提交
  18. 26 10月, 2010 3 次提交
  19. 08 10月, 2010 1 次提交