diff options
| author | Rubin Du <rubind@nvidia.com> | 2026-06-09 16:28:54 -0700 |
|---|---|---|
| committer | Alex Williamson <alex@shazbot.org> | 2026-07-17 08:39:34 -0600 |
| commit | 159f1b216447f58e3eaf05d46239fc2458289c25 (patch) | |
| tree | 135a619a6e520fd68fc554777214fe697e6c85c1 /tools/lib/python | |
| parent | 984b43b203c43ff7ab11dd92c04a5b29eb80389b (diff) | |
| download | linux-159f1b216447f58e3eaf05d46239fc2458289c25.tar.gz linux-159f1b216447f58e3eaf05d46239fc2458289c25.zip | |
vfio: selftests: Allow drivers without send_msi() support
Allow drivers that cannot trigger MSI interrupts to leave the send_msi
callback NULL. Add an fcntl_set_msi_nonblock() wrapper that only sets
nonblocking mode when send_msi is available, and update ASSERT_NO_MSI()
to skip when the driver lacks MSI support. The send_msi test SKIPs and
mix_and_match skips the MSI portion per iteration.
Reviewed-by: David Matlack <dmatlack@google.com>
Signed-off-by: Alex Williamson <alex.williamson@nvidia.com>
Signed-off-by: Rubin Du <rubind@nvidia.com>
Link: https://lore.kernel.org/r/20260609232855.3808971-4-rubind@nvidia.com
Signed-off-by: Alex Williamson <alex@shazbot.org>
Diffstat (limited to 'tools/lib/python')
0 files changed, 0 insertions, 0 deletions
