summaryrefslogtreecommitdiff
path: root/drivers/phy/eswin/git@git.tavy.me:linux.git
diff options
context:
space:
mode:
authorRaghavendra Rao Ananta <rananta@google.com>2026-05-05 21:28:36 +0000
committerAlex Williamson <alex@shazbot.org>2026-05-20 11:54:10 -0600
commit20face8c75ffb3dd7e8d6743498b47403e57ebda (patch)
tree1b2b89cfcce7e859002f8d30d3aedc32c23f9307 /drivers/phy/eswin/git@git.tavy.me:linux.git
parent60ab36e5d02a8e50e1edce24bff58507b514b94e (diff)
vfio: selftests: Add helper to set/override a vf_token
Add a helper function, vfio_device_set_vf_token(), to set or override a vf_token. Not only at init, but a vf_token can also be set via the VFIO_DEVICE_FEATURE ioctl, by setting the VFIO_DEVICE_FEATURE_PCI_VF_TOKEN flag. Hence, add an API to utilize this functionality from the test code. The subsequent commit will use this to test the functionality of this method to set the vf_token. Signed-off-by: Raghavendra Rao Ananta <rananta@google.com> Reviewed-by: David Matlack <dmatlack@google.com> Reviewed-by: Vipin Sharma <vipinsh@google.com> Tested-by: David Matlack <dmatlack@google.com> Link: https://lore.kernel.org/r/20260505212838.1698034-7-rananta@google.com Signed-off-by: Alex Williamson <alex@shazbot.org>
Diffstat (limited to 'drivers/phy/eswin/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions