linux_dsm_epyc7002/drivers/net/ethernet/broadcom/bnx2x
Sinan Kaya 7f883c774e bnx2x: 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>
Signed-off-by: David S. Miller <davem@davemloft.net>
2018-03-26 12:47:55 -04:00
..
bnx2x_cmn.c bnx2x: Eliminate duplicate barriers on weakly-ordered archs 2018-03-26 12:47:55 -04:00
bnx2x_cmn.h bnx2x: Eliminate duplicate barriers on weakly-ordered archs 2018-03-26 12:47:55 -04:00
bnx2x_dcb.c
bnx2x_dcb.h
bnx2x_dump.h
bnx2x_ethtool.c bnx2x: Eliminate duplicate barriers on weakly-ordered archs 2018-03-26 12:47:55 -04:00
bnx2x_fw_defs.h
bnx2x_fw_file_hdr.h
bnx2x_hsi.h
bnx2x_init_ops.h
bnx2x_init.h
bnx2x_link.c bnx2x: Get rid of useless temporary variable 2017-04-30 22:28:00 -04:00
bnx2x_link.h
bnx2x_main.c bnx2x: Eliminate duplicate barriers on weakly-ordered archs 2018-03-26 12:47:55 -04:00
bnx2x_mfw_req.h
bnx2x_reg.h
bnx2x_sp.c treewide: spelling: correct diffrent[iate] and banlance typos 2017-05-08 17:15:13 -07:00
bnx2x_sp.h
bnx2x_sriov.c bnx2x: Deprecate pci_get_bus_and_slot() 2018-01-17 08:16:46 -06:00
bnx2x_sriov.h bnx2x: Deprecate pci_get_bus_and_slot() 2018-01-17 08:16:46 -06:00
bnx2x_stats.c
bnx2x_stats.h
bnx2x_vfpf.c bnx2x: Eliminate duplicate barriers on weakly-ordered archs 2018-03-26 12:47:55 -04:00
bnx2x_vfpf.h
bnx2x.h bnx2x: Eliminate duplicate barriers on weakly-ordered archs 2018-03-26 12:47:55 -04:00
Makefile