[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <ef45763a-f64f-4efd-b3a2-f019bd791e94@linux.intel.com>
Date: Mon, 6 Jan 2025 10:50:31 +0800
From: Baolu Lu <baolu.lu@...ux.intel.com>
To: Nicolin Chen <nicolinc@...dia.com>, jgg@...dia.com, kevin.tian@...el.com,
corbet@....net, will@...nel.org
Cc: joro@...tes.org, suravee.suthikulpanit@....com, robin.murphy@....com,
dwmw2@...radead.org, shuah@...nel.org, linux-kernel@...r.kernel.org,
iommu@...ts.linux.dev, linux-arm-kernel@...ts.infradead.org,
linux-kselftest@...r.kernel.org, linux-doc@...r.kernel.org,
eric.auger@...hat.com, jean-philippe@...aro.org, mdf@...nel.org,
mshavit@...gle.com, shameerali.kolothum.thodi@...wei.com,
smostafa@...gle.com, ddutile@...hat.com, yi.l.liu@...el.com,
patches@...ts.linux.dev
Subject: Re: [PATCH v4 06/14] iommufd: Add IOMMUFD_OBJ_VEVENTQ and
IOMMUFD_CMD_VEVENTQ_ALLOC
On 1/4/25 03:43, Nicolin Chen wrote:
> Introduce a new IOMMUFD_OBJ_VEVENTQ object for vIOMMU Event Queue that
> provides user space (VMM) another FD to read the vIOMMU Events.
>
> Allow a vIOMMU object to allocate vEVENTQs, with a condition that each
> vIOMMU can only have one single vEVENTQ per type.
>
> Add iommufd_veventq_alloc() with iommufd_veventq_ops for the new ioctl.
>
> Signed-off-by: Nicolin Chen<nicolinc@...dia.com>
> ---
> drivers/iommu/iommufd/iommufd_private.h | 58 +++++++++++
> include/linux/iommufd.h | 3 +
> include/uapi/linux/iommufd.h | 31 ++++++
> drivers/iommu/iommufd/eventq.c | 129 ++++++++++++++++++++++++
> drivers/iommu/iommufd/main.c | 7 ++
> drivers/iommu/iommufd/viommu.c | 2 +
> 6 files changed, 230 insertions(+)
Reviewed-by: Lu Baolu <baolu.lu@...ux.intel.com>
Powered by blists - more mailing lists