aboutsummaryrefslogtreecommitdiff
path: root/lib/memory-notifier-error-inject.c
diff options
context:
space:
mode:
authorLu Baolu <[email protected]>2024-07-02 14:34:43 +0800
committerJason Gunthorpe <[email protected]>2024-07-09 13:54:32 -0300
commitddee19971081b42615d62f4fdada21274708ed4d (patch)
treea5c45d98f9a978e1a0e6294bfea5d1a8374b7648 /lib/memory-notifier-error-inject.c
parent34765cbc679c59ea5d952d738d2d16bf4aadc497 (diff)
iommufd/selftest: Add IOPF support for mock device
Extend the selftest mock device to support generating and responding to an IOPF. Also add an ioctl interface to userspace applications to trigger the IOPF on the mock device. This would allow userspace applications to test the IOMMUFD's handling of IOPFs without having to rely on any real hardware. Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Lu Baolu <[email protected]> Reviewed-by: Kevin Tian <[email protected]> Signed-off-by: Jason Gunthorpe <[email protected]>
Diffstat (limited to 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions