summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorJason Gunthorpe <jgg@nvidia.com>2026-09-21 19:35:44 -0300
committerAlex Williamson <alex@shazbot.org>2026-09-28 14:10:48 -0600
commit5f8e94a75a11661184de9e2d8aaeca095554c6f7 (patch)
tree3ccfabb8129f8a87ee675aab6d9e182a449cdc7d /tools/perf/scripts/python/stackcollapse.py
parente601522f287be247771cdfa7381c96ed1aa3b533 (diff)
downloadlinux-next-5f8e94a75a11661184de9e2d8aaeca095554c6f7.tar.gz
linux-next-5f8e94a75a11661184de9e2d8aaeca095554c6f7.zip
net/mlx5: Add ONCE and MMIO accessor variants to mlx5_ifc_macros.h
Add MLX5_GET_ONCE / MLX5_SET_ONCE which include READ_ONCE/WRITE_ONCE semantics for touching ownership bits that hardware may read or write at any time. The kernel driver doesn't use the IFC struct for these ownership bits, but the VFIO driver will and needs these helpers. Add MLX5_GET_MMIO / MLX5_SET_MMIO for accessing the init seg using the IFC offsets. They embed a readl/writel using the IFC struct to generate the addressing. Add MLX5_ARRAY_GET64(), the missing counterpart to MLX5_ARRAY_SET64(). Assisted-by: Claude:claude-opus-4.6 Signed-off-by: Jason Gunthorpe <jgg@nvidia.com> Acked-by: Leon Romanovsky <leonro@nvidia.com> Link: https://lore.kernel.org/r/4-v7-c6d30e8ce1e4+3dfa6-mlx5st_jgg@nvidia.com Signed-off-by: Alex Williamson <alex@shazbot.org>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions