linux_dsm_epyc7002/drivers/net/ethernet/qlogic/qlcnic
Sinan Kaya f9442ac498 qlcnic: 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.

Since code already has an explicit barrier call, changing writel() to
writel_relaxed().

Signed-off-by: Sinan Kaya <okaya@codeaurora.org>
Acked-by: Manish Chopra <manish.chopra@cavium.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2018-03-26 12:47:55 -04:00
..
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
qlcnic_83xx_hw.c qlcnic: Eliminate duplicate barriers on weakly-ordered archs 2018-03-26 12:47:55 -04:00
qlcnic_83xx_hw.h qlcnic: Fix link configuration with autoneg disabled 2017-05-11 21:39:53 -04:00
qlcnic_83xx_init.c
qlcnic_83xx_vnic.c
qlcnic_ctx.c qlcnic: Fix a memory leak in error handling path 2017-02-20 10:33:38 -05:00
qlcnic_dcb.c
qlcnic_dcb.h
qlcnic_ethtool.c qlcnic: Fix link configuration with autoneg disabled 2017-05-11 21:39:53 -04:00
qlcnic_hdr.h
qlcnic_hw.c qlcnic: Fix a sleep-in-atomic bug in qlcnic_82xx_hw_write_wx_2M and qlcnic_82xx_hw_read_wx_2M 2017-06-01 11:42:19 -04:00
qlcnic_hw.h
qlcnic_init.c qlcnic: remove redundant zero check on retries counter 2017-09-01 10:33:55 -07:00
qlcnic_io.c
qlcnic_main.c qlcnic: Fix tunnel offload for 82xx adapters 2017-06-02 14:30:58 -04:00
qlcnic_minidump.c qlcnic: remove unnecessary static in qlcnic_dump_fw() 2017-07-19 16:33:57 -07:00
qlcnic_sriov_common.c qlcnic: Fix tunnel offload for 82xx adapters 2017-06-02 14:30:58 -04:00
qlcnic_sriov_pf.c
qlcnic_sriov.h
qlcnic_sysfs.c ethernet: Use octal not symbolic permissions 2018-03-26 12:07:49 -04:00
qlcnic.h qlcnic: Fix tunnel offload for 82xx adapters 2017-06-02 14:30:58 -04:00