lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20250225152917.GB587949@nvidia.com>
Date: Tue, 25 Feb 2025 11:29:17 -0400
From: Jason Gunthorpe <jgg@...dia.com>
To: Nicolin Chen <nicolinc@...dia.com>
Cc: kevin.tian@...el.com, corbet@....net, will@...nel.org, joro@...tes.org,
	suravee.suthikulpanit@....com, robin.murphy@....com,
	dwmw2@...radead.org, baolu.lu@...ux.intel.com, 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,
	praan@...gle.com, patches@...ts.linux.dev
Subject: Re: [PATCH v7 05/14] iommufd: Add IOMMUFD_OBJ_VEVENTQ and
 IOMMUFD_CMD_VEVENTQ_ALLOC

On Sat, Feb 22, 2025 at 07:54:02AM -0800, 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.
> 
> Reviewed-by: Lu Baolu <baolu.lu@...ux.intel.com>
> Reviewed-by: Kevin Tian <kevin.tian@...el.com>
> Signed-off-by: Nicolin Chen <nicolinc@...dia.com>
> ---
>  drivers/iommu/iommufd/iommufd_private.h |  82 ++++++++++
>  include/linux/iommufd.h                 |   3 +
>  include/uapi/linux/iommufd.h            |  82 ++++++++++
>  drivers/iommu/iommufd/eventq.c          | 209 +++++++++++++++++++++++-
>  drivers/iommu/iommufd/main.c            |   7 +
>  drivers/iommu/iommufd/viommu.c          |   2 +
>  6 files changed, 384 insertions(+), 1 deletion(-)

Reviewed-by: Jason Gunthorpe <jgg@...dia.com>

Jason

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ