mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2025-01-17 01:56:43 +07:00
fd141fa47c
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(). Since code already has an explicit barrier call, changing writel() to writel_relaxed(). Also add mmiowb() so that write code doesn't move outside of scope. Signed-off-by: Sinan Kaya <okaya@codeaurora.org> Acked-by: Michael Chan <michael.chan@broadcom.com> Signed-off-by: David S. Miller <davem@davemloft.net> |
||
---|---|---|
.. | ||
bnxt_dcb.c | ||
bnxt_dcb.h | ||
bnxt_devlink.c | ||
bnxt_devlink.h | ||
bnxt_dim.c | ||
bnxt_ethtool.c | ||
bnxt_ethtool.h | ||
bnxt_fw_hdr.h | ||
bnxt_hsi.h | ||
bnxt_nvm_defs.h | ||
bnxt_sriov.c | ||
bnxt_sriov.h | ||
bnxt_tc.c | ||
bnxt_tc.h | ||
bnxt_ulp.c | ||
bnxt_ulp.h | ||
bnxt_vfr.c | ||
bnxt_vfr.h | ||
bnxt_xdp.c | ||
bnxt_xdp.h | ||
bnxt.c | ||
bnxt.h | ||
Makefile |