linux/drivers/scsi/mpt3sas
Sinan Kaya b1391a5bf8 scsi: mpt3sas: remove redundant wmb
Due to relaxed ordering requirements on multiple architectures, drivers
are required to use wmb/rmb/mb combinations when they need to guarantee
observability between the memory and the HW.

The mpt3sas driver is already using wmb() for this purpose.  However, it
issues a writel following wmb(). writel() function on arm/arm64
arhictectures have an embedded wmb() call inside.

This results in unnecessary performance loss and code duplication.

writel already guarantees ordering for both cpu and bus. we don't need
additional wmb()

Signed-off-by: Sinan Kaya <okaya@codeaurora.org>
Acked-by: Sreekanth Reddy <sreekanth.reddy@broadcom.com>
Reviewed-by: Brian King <brking@linux.vnet.ibm.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
2017-04-24 18:31:41 -04:00
..
mpi scsi: mpt3sas: Added print to notify cable running at a degraded speed. 2017-01-31 22:03:35 -05:00
Kconfig
Makefile
mpt3sas_base.c scsi: mpt3sas: remove redundant wmb 2017-04-24 18:31:41 -04:00
mpt3sas_base.h scsi: mpt3sas: switch to pci_alloc_irq_vectors 2017-02-23 17:01:05 -05:00
mpt3sas_config.c scsi: mpt3sas: Use the new MPI 2.6 32-bit Atomic Request Descriptors for SAS35 devices. 2016-11-08 17:29:59 -05:00
mpt3sas_ctl.c scripts/spelling.txt: add "overwritting" pattern and fix typo instances 2017-02-27 18:43:47 -08:00
mpt3sas_ctl.h scripts/spelling.txt: add "overwritting" pattern and fix typo instances 2017-02-27 18:43:47 -08:00
mpt3sas_debug.h
mpt3sas_scsih.c scsi: sas: move scsi_remove_host call into sas_remove_host 2017-04-21 10:34:29 -04:00
mpt3sas_transport.c block: split scsi_request out of struct request 2017-01-27 15:08:35 -07:00
mpt3sas_trigger_diag.c
mpt3sas_trigger_diag.h
mpt3sas_warpdrive.c