• Andrew Vasquez's avatar
    [PATCH] PATCH [10/15] qla2xxx: Use readX_relaxed · 04b4e461
    Andrew Vasquez authored
      Jeremy Higdon <jeremy () sgi ! com>:
    
      	For those to whom this is new (it was discussed on linux-kernel
      	and linux-ia64 I believe), normal PCI register reads imply that
      	PCI DMA writes that occured prior to the PCI MMR (memory mapped
      	register) read (on the PCI bus) will be reflected in system
      	memory once the MMR read is complete.
    
      	On our platforms, we can speed up the MMR read significantly if
      	that ordering requirement is "relaxed".
    
      	So I attempted to find the common register reads that don't
      	have a need for this ordering so that I could make them use
      	this faster read.
    
     drivers/scsi/qla2xxx/qla_def.h  |    3 +++
     drivers/scsi/qla2xxx/qla_iocb.c |    6 +++---
     drivers/scsi/qla2xxx/qla_isr.c  |    2 +-
     3 files changed, 7 insertions(+), 4 deletions(-)
    04b4e461
qla_def.h 68.2 KB