1. 26 8月, 2017 1 次提交
  2. 01 2月, 2017 3 次提交
  3. 09 12月, 2016 1 次提交
  4. 09 11月, 2016 6 次提交
  5. 18 10月, 2016 1 次提交
    • A
      scsi: NCR5380: no longer mark irq probing as __init · 77f18a87
      Arnd Bergmann 提交于
      The g_NCR5380 has been converted to more regular probing, which
      means its probe function can now be invoked after the __init section
      is discarded, as pointed out by this kbuild warning:
      
      WARNING: drivers/scsi/built-in.o(.text+0x3a105): Section mismatch in reference from the function generic_NCR5380_isa_match() to the function .init.text:probe_intr()
      WARNING: drivers/scsi/built-in.o(.text+0x3a145): Section mismatch in reference from the function generic_NCR5380_isa_match() to the variable .init.data:probe_irq
      
      To make sure this works correctly in all cases, let's remove
      the __init and __initdata annotations.
      
      Fixes: a8cfbcae ("scsi: g_NCR5380: Stop using scsi_module.c")
      Signed-off-by: NArnd Bergmann <arnd@arndb.de>
      Acked-by: NFinn Thain <fthain@telegraphics.com.au>
      Signed-off-by: NMartin K. Petersen <martin.petersen@oracle.com>
      77f18a87
  6. 15 9月, 2016 1 次提交
    • F
      scsi: ncr5380: Improve interrupt latency during PIO tranfers · 08348b1c
      Finn Thain 提交于
      Large PIO transfers are broken up into chunks to try to avoid disabling
      local IRQs for long periods. But IRQs are still disabled for too long
      and this causes SCC FIFO overruns during serial port transfers.
      
      This patch reduces the PIO chunk size to reduce interrupt latency to
      something on the order of milliseconds, at the expense of additional CPU
      overhead from extra iterations of the NCR5380_main() loop.
      
      That CPU overhead is a problem for slow machines (e.g. mac_scsi on 25
      MHz 68030) but these machines generally use PDMA not PIO. This patch
      doesn't make the overhead any worse on my Mac LC III (because it only
      gets about 510 accesses per ms).
      
      This patch decreases disk performance by a fraction of one percent for
      dmx3191d on my 333 MHz PowerPC 750. Other affected hardware (such as
      g_NCR5380 on x86) was not tested but 5380 ISA cards generally use PDMA
      and not PIO.
      
      [mkp: fix whitespace]
      Signed-off-by: NFinn Thain <fthain@telegraphics.com.au>
      Reviewed-by: NLaurence Oberman <loberman@redhat.com>
      Signed-off-by: NMartin K. Petersen <martin.petersen@oracle.com>
      08348b1c
  7. 31 8月, 2016 1 次提交
  8. 12 4月, 2016 16 次提交
  9. 01 3月, 2016 6 次提交
  10. 07 1月, 2016 4 次提交