[PATCH v3 11/23] iommufd/viommu: Add IOMMUFD_CMD_VQUEUE_ALLOC ioctl
Jason Gunthorpe
jgg at nvidia.com
Wed May 7 05:31:03 PDT 2025
On Wed, May 07, 2025 at 01:11:43PM +0530, Vasant Hegde wrote:
> - MMIO Offset 0018h IOMMU Control Register
> EventLogEn: Event log enable
> * When guest sets this bit, qemu will trap and will send queue_alloc
> * When guest disables this bit, qemu will trap and send vqueue_destroy
>
> This part is fine.
Ok
> EventIntEn: Event log interrupt enable
> * When guest sets this bit, qemu will trap
> * this needs to be communicated to Host so that we can program VF Control
> BAR and enable the interrupt
This sounds like modifying the vqueue? Or maybe on the viommu?
> - There is other bit "Completion wait interrupt enable"
> This doesn't related to any buffer. Instead if we configure this for
> completion wait command it will generate interrupt.
This sounds like a modify on the VIOMMU object?
Jason
More information about the linux-arm-kernel
mailing list