linux/drivers/net/ethernet/qlogic/qlge
Sinan Kaya e42d8cee34 net: qlge: Eliminate duplicate barriers on weakly-ordered archs
Code includes wmb() followed by writel(). writel() already has a barrier on
some architectures like arm64.

This ends up CPU observing two barriers back to back before executing the
register write.

Create a new wrapper function with relaxed write operator. Use the new
wrapper when a write is following a wmb().

Signed-off-by: Sinan Kaya <okaya@codeaurora.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
2018-03-26 12:47:56 -04:00
..
Makefile
qlge.h net: qlge: Eliminate duplicate barriers on weakly-ordered archs 2018-03-26 12:47:56 -04:00
qlge_dbg.c License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
qlge_ethtool.c License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
qlge_main.c net: qlge: Eliminate duplicate barriers on weakly-ordered archs 2018-03-26 12:47:56 -04:00
qlge_mpi.c qlge: remove duplicated assignment to mbcp 2017-11-11 19:13:39 +09:00