diff options
| author | Yunsheng Lin <linyunsheng@huawei.com> | 2020-09-16 17:33:49 +0800 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2020-09-17 16:14:28 -0700 |
| commit | 48ee56fd0b3785481a521fb7daaf1465219fc3af (patch) | |
| tree | 870fcb293c004d899d2f87343d2b23a442eab935 /tools/perf/scripts/python/export-to-sqlite.py | |
| parent | 8c30e19460e1bb935c788a077cc063fb15f1ef04 (diff) | |
net: hns3: use writel() to optimize the barrier operation
writel() can be used to order I/O vs memory by default when
writing portable drivers. Use writel() to replace wmb() +
writel_relaxed(), and writel() is dma_wmb() + writel_relaxed()
for ARM64, so there is an optimization here because dma_wmb()
is a lighter barrier than wmb().
Signed-off-by: Yunsheng Lin <linyunsheng@huawei.com>
Signed-off-by: Huazhong Tan <tanhuazhong@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions
