diff options
author | Lu Baolu <[email protected]> | 2024-07-02 14:34:43 +0800 |
---|---|---|
committer | Jason Gunthorpe <[email protected]> | 2024-07-09 13:54:32 -0300 |
commit | ddee19971081b42615d62f4fdada21274708ed4d (patch) | |
tree | a5c45d98f9a978e1a0e6294bfea5d1a8374b7648 /lib/memory-notifier-error-inject.c | |
parent | 34765cbc679c59ea5d952d738d2d16bf4aadc497 (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