aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/gcc-plugins/sancov_plugin.c
diff options
context:
space:
mode:
authorLeon Romanovsky <[email protected]>2025-05-20 13:46:31 +0000
committerAlex Williamson <[email protected]>2025-05-20 14:32:07 +0000
commitac6c973a480bcbd1161974b6b8ec6fd12e87b506 (patch)
treeac4366e7ef78c0f05c9560e22aae7ae5d9edabf0 /scripts/gcc-plugins/sancov_plugin.c
parentvfio/mlx5: Explicitly use number of pages instead of allocated length (diff)
downloadkernel-ac6c973a480bcbd1161974b6b8ec6fd12e87b506.tar.gz
kernel-ac6c973a480bcbd1161974b6b8ec6fd12e87b506.zip
vfio/mlx5: Rewrite create mkey flow to allow better code reuse
Change the creation of mkey to be performed in multiple steps: data allocation, DMA setup and actual call to HW to create that mkey. In this new flow, the whole input to MKEY command is saved to eliminate the need to keep array of pointers for DMA addresses for receive list and in the future patches for send list too. In addition to memory size reduce and elimination of unnecessary data movements to set MKEY input, the code is prepared for future reuse. Tested-by: Jens Axboe <[email protected]> Reviewed-by: Jason Gunthorpe <[email protected]> Signed-off-by: Leon Romanovsky <[email protected]> Acked-by: Yishai Hadas <[email protected]> Link: https://lore.kernel.org/r/d4ad0384fbd1e23a607cbbe9e5756748f3a761d9.1747747694.git.leon@kernel.org Signed-off-by: Alex Williamson <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/sancov_plugin.c')
0 files changed, 0 insertions, 0 deletions