diff options
author | Nipun Gupta <nipun.gupta@amd.com> | 2024-04-23 16:40:21 +0530 |
---|---|---|
committer | Alex Williamson <alex.williamson@redhat.com> | 2024-04-23 14:31:38 -0600 |
commit | 848e447e000c41894ff931dc7c004fd42c8840f8 (patch) | |
tree | 41c970d9c36e5b0477fb18c9007e5b7a96d0b697 /.editorconfig | |
parent | genirq/msi: Add MSI allocation helper and export MSI functions (diff) | |
download | linux-848e447e000c41894ff931dc7c004fd42c8840f8.tar.gz linux-848e447e000c41894ff931dc7c004fd42c8840f8.tar.bz2 linux-848e447e000c41894ff931dc7c004fd42c8840f8.zip |
vfio/cdx: add interrupt support
Support the following ioctls for CDX devices:
- VFIO_DEVICE_GET_IRQ_INFO
- VFIO_DEVICE_SET_IRQS
This allows user to set an eventfd for cdx device interrupts and
trigger this interrupt eventfd from userspace.
All CDX device interrupts are MSIs. The MSIs are allocated from the
CDX-MSI domain.
Signed-off-by: Nipun Gupta <nipun.gupta@amd.com>
Reviewed-by: Pieter Jansen van Vuuren <pieter.jansen-van-vuuren@amd.com>
Link: https://lore.kernel.org/r/20240423111021.1686144-2-nipun.gupta@amd.com
Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
Diffstat (limited to '.editorconfig')
0 files changed, 0 insertions, 0 deletions