summaryrefslogtreecommitdiff
path: root/tools/testing/selftests/vfio/lib
diff options
context:
space:
mode:
authorJason Gunthorpe <jgg@nvidia.com>2026-09-21 19:35:45 -0300
committerAlex Williamson <alex@shazbot.org>2026-09-28 14:10:48 -0600
commitbe0237a5f35df3518953075c375cc07fe09aef38 (patch)
tree090de8e821c124d9d69d12027d81c334ae501ff6 /tools/testing/selftests/vfio/lib
parent5f8e94a75a11661184de9e2d8aaeca095554c6f7 (diff)
downloadlinux-next-be0237a5f35df3518953075c375cc07fe09aef38.tar.gz
linux-next-be0237a5f35df3518953075c375cc07fe09aef38.zip
selftests: Add additional kernel functions to tools/include/
These are needed by the VFIO mlx5 selftest in the following patches, which includes some headers from mlx5 and also needs a few more MMIO-related features. - DECLARE_FLEX_ARRAY in new tools/include/linux/stddef.h (wraps existing __DECLARE_FLEX_ARRAY from uapi/linux/stddef.h) - dma_wmb/dma_rmb barriers: x86 uses compiler barrier (DMA-coherent), arm64 uses dmb oshst/oshld (outer-shareable for device visibility), generic fallback uses wmb/rmb - ioread32be/iowrite32be in tools/include/asm-generic/io.h for big-endian MMIO register access Assisted-by: Claude:claude-opus-4.6 Reviewed-by: David Matlack <dmatlack@google.com> Signed-off-by: Jason Gunthorpe <jgg@nvidia.com> Link: https://lore.kernel.org/r/5-v7-c6d30e8ce1e4+3dfa6-mlx5st_jgg@nvidia.com Signed-off-by: Alex Williamson <alex@shazbot.org>
Diffstat (limited to 'tools/testing/selftests/vfio/lib')
0 files changed, 0 insertions, 0 deletions