summaryrefslogtreecommitdiff
path: root/drivers/message
diff options
context:
space:
mode:
authorBrian King <brking@linux.vnet.ibm.com>2012-03-15 02:20:09 (GMT)
committerJames Bottomley <JBottomley@Parallels.com>2012-03-28 14:02:48 (GMT)
commita5fb407eed819e950e369060a822640582a1e538 (patch)
tree755ae0e1e76a56247f3e329d8a9b35e4fcbfe85d /drivers/message
parent7dd21308b17e2b657d167adc7e20b41b7c6bbe5c (diff)
downloadlinux-fsl-qoriq-a5fb407eed819e950e369060a822640582a1e538.tar.xz
[SCSI] ipr: Remove unnecessary memory barriers
The ipr driver added some memory barriers in order to ensure a PowerPC sync instruction was executed prior to sending a command to the adapter to ensure the command block was coherent with respect to the PCI bus's view of memory. However, some time ago, the powerpc architecture writel macros were changed to include the sync since most drivers don't properly handle this. So remove these memory barriers since they are not needed and result in executing twice as many sync instructions, which has a significant performance penalty. Signed-off-by: Brian King <brking@linux.vnet.ibm.com> Signed-off-by: James Bottomley <JBottomley@Parallels.com>
Diffstat (limited to 'drivers/message')
0 files changed, 0 insertions, 0 deletions