The Linux Kernel Mailing List
 help / color / mirror / Atom feed
From: Greg KH <gregkh@linuxfoundation.org>
To: Yaxing Guo <guoyaxing@bosc.ac.cn>
Cc: linux-kernel@vger.kernel.org, wangran@bosc.ac.cn,
	zhangjian@bosc.ac.cn, anxu@bosc.ac.cn
Subject: Re: [PATCH v2 2/3] uio: Add Kconfig and Makefile support for UIO_PCI_GENERIC_SVA
Date: Thu, 25 Sep 2025 14:30:32 +0200	[thread overview]
Message-ID: <2025092524-boneless-sultry-f575@gregkh> (raw)
In-Reply-To: <20250925104018.57053-2-guoyaxing@bosc.ac.cn>

On Thu, Sep 25, 2025 at 06:40:17PM +0800, Yaxing Guo wrote:
> Add config symbol and build infrastructure for the UIO PCI generic
> driver with SVA (Shared Virtual Addressing) support.
> 
> This introduces:
> - A new tristate config option 'UIO_PCI_GENERIC_SVA' in Kconfig,
>   dependent on PCI and IOMMU_SVA.
> - Build rule in Makefile to compile uio_pci_generic_sva.o when enabled.
> 
> Signed-off-by: Yaxing Guo <guoyaxing@bosc.ac.cn>
> ---
> Changes in v2:
>   -- Add help info in Kconfig
> 
>  drivers/uio/Kconfig  | 12 ++++++++++++
>  drivers/uio/Makefile |  1 +
>  2 files changed, 13 insertions(+)
> 
> diff --git a/drivers/uio/Kconfig b/drivers/uio/Kconfig
> index b060dcd7c635..ae59e3d8a99b 100644
> --- a/drivers/uio/Kconfig
> +++ b/drivers/uio/Kconfig
> @@ -164,4 +164,16 @@ config UIO_DFL
>  	    opae-sdk/tools/libopaeuio/
>  
>  	  If you compile this as a module, it will be called uio_dfl.
> +
> +config UIO_PCI_GENERIC_SVA
> +	tristate "Generic driver for PCI Express that supports sva"
> +	depends on PCI && IOMMU_SVA
> +	help
> +	  Userspace I/O driver for PCI devices that support Shared Virtual
> +          Addressing (SVA), enabling direct use of user-space virtual
> +          addresses in device DMA operations via IOMMU hardware.
> +
> +          This driver binds to PCI devices and exposes them to userspace
> +          via the UIO framework.

What is the module name?

      parent reply	other threads:[~2025-09-25 12:30 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-09-25 10:40 [PATCH v2 1/3] uio: Add SVA support for PCI devices via uio_pci_generic_sva.c Yaxing Guo
2025-09-25 10:40 ` [PATCH v2 3/3] doc: Add ABI documentation for uio_pci_sva driver sysfs attributes Yaxing Guo
2025-09-25 12:32   ` Greg KH
2025-09-26  5:57     ` yaxing guo
2025-09-26  6:03       ` Greg KH
2025-09-25 12:29 ` [PATCH v2 1/3] uio: Add SVA support for PCI devices via uio_pci_generic_sva.c Greg KH
     [not found] ` <20250925104018.57053-2-guoyaxing@bosc.ac.cn>
2025-09-25 12:30   ` [PATCH v2 2/3] uio: Add Kconfig and Makefile support for UIO_PCI_GENERIC_SVA Greg KH
2025-09-25 12:30   ` Greg KH [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=2025092524-boneless-sultry-f575@gregkh \
    --to=gregkh@linuxfoundation.org \
    --cc=anxu@bosc.ac.cn \
    --cc=guoyaxing@bosc.ac.cn \
    --cc=linux-kernel@vger.kernel.org \
    --cc=wangran@bosc.ac.cn \
    --cc=zhangjian@bosc.ac.cn \
    /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