[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20230616140811.548d2c92.alex.williamson@redhat.com>
Date: Fri, 16 Jun 2023 14:08:11 -0600
From: Alex Williamson <alex.williamson@...hat.com>
To: Nipun Gupta <nipun.gupta@....com>
Cc: <jgg@...pe.ca>, <linux-kernel@...r.kernel.org>,
<kvm@...r.kernel.org>, <masahiroy@...nel.org>, <nathan@...nel.org>,
<ndesaulniers@...gle.com>, <nicolas@...sle.eu>, <git@....com>,
<harpreet.anand@....com>, <pieter.jansen-van-vuuren@....com>,
<nikhil.agarwal@....com>, <michal.simek@....com>
Subject: Re: [PATCH v7] vfio/cdx: add support for CDX bus
On Wed, 31 May 2023 18:15:57 +0530
Nipun Gupta <nipun.gupta@....com> wrote:
> vfio-cdx driver enables IOCTLs for user space to query
> MMIO regions for CDX devices and mmap them. This change
> also adds support for reset of CDX devices. With VFIO
> enabled on CDX devices, user-space applications can also
> exercise DMA securely via IOMMU on these devices.
>
> This change adds the VFIO CDX driver and enables the following
> ioctls for CDX devices:
> - VFIO_DEVICE_GET_INFO:
> - VFIO_DEVICE_GET_REGION_INFO
> - VFIO_DEVICE_RESET
>
> Signed-off-by: Nipun Gupta <nipun.gupta@....com>
> Reviewed-by: Pieter Jansen van Vuuren <pieter.jansen-van-vuuren@....com>
> Tested-by: Nikhil Agarwal <nikhil.agarwal@....com>
> ---
>
> Changed to support driver managed dma in CDX bus has been
> submitted at:
> https://lore.kernel.org/lkml/20230117134139.1298-1-nipun.gupta@amd.com/T/
>
> Changes v6->v7:
> - updated GFP_KERNEL to GFP_KERNEL_ACCOUNT in kcalloc
> - remove redundant error condition
> - updated return codes
Applied to vfio next branch for v6.5. Thanks,
Alex
Powered by blists - more mailing lists