linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Alex Williamson <alex.williamson@redhat.com>
To: Nipun Gupta <nipun.gupta@amd.com>
Cc: <jgg@ziepe.ca>, <linux-kernel@vger.kernel.org>,
	<kvm@vger.kernel.org>, <masahiroy@kernel.org>,
	<nathan@kernel.org>, <ndesaulniers@google.com>,
	<nicolas@fjasle.eu>, <git@amd.com>, <harpreet.anand@amd.com>,
	<pieter.jansen-van-vuuren@amd.com>, <nikhil.agarwal@amd.com>,
	<michal.simek@amd.com>
Subject: Re: [PATCH v7] vfio/cdx: add support for CDX bus
Date: Fri, 16 Jun 2023 14:08:11 -0600	[thread overview]
Message-ID: <20230616140811.548d2c92.alex.williamson@redhat.com> (raw)
In-Reply-To: <20230531124557.11009-1-nipun.gupta@amd.com>

On Wed, 31 May 2023 18:15:57 +0530
Nipun Gupta <nipun.gupta@amd.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@amd.com>
> Reviewed-by: Pieter Jansen van Vuuren <pieter.jansen-van-vuuren@amd.com>
> Tested-by: Nikhil Agarwal <nikhil.agarwal@amd.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


      parent reply	other threads:[~2023-06-16 20:09 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-05-31 12:45 [PATCH v7] vfio/cdx: add support for CDX bus Nipun Gupta
2023-06-08 20:06 ` Alex Williamson
2023-06-16 20:08 ` Alex Williamson [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20230616140811.548d2c92.alex.williamson@redhat.com \
    --to=alex.williamson@redhat.com \
    --cc=git@amd.com \
    --cc=harpreet.anand@amd.com \
    --cc=jgg@ziepe.ca \
    --cc=kvm@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=masahiroy@kernel.org \
    --cc=michal.simek@amd.com \
    --cc=nathan@kernel.org \
    --cc=ndesaulniers@google.com \
    --cc=nicolas@fjasle.eu \
    --cc=nikhil.agarwal@amd.com \
    --cc=nipun.gupta@amd.com \
    --cc=pieter.jansen-van-vuuren@amd.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).