qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Thomas Huth <thuth@redhat.com>
To: Farhan Ali <alifm@linux.ibm.com>, qemu-devel@nongnu.org
Cc: alex.williamson@redhat.com, stefanha@redhat.com,
	mjrosato@linux.ibm.com, schnelle@linux.ibm.com,
	philmd@linaro.org, kwolf@redhat.com, hreitz@redhat.com,
	fam@euphon.net
Subject: Re: [PATCH v6 1/3] util: Add functions for s390x mmio read/write
Date: Wed, 7 May 2025 20:09:58 +0200	[thread overview]
Message-ID: <2dfcf252-99e2-45f9-b958-770d14a1ab7b@redhat.com> (raw)
In-Reply-To: <20250430185012.2303-2-alifm@linux.ibm.com>

On 30/04/2025 20.50, Farhan Ali wrote:
> Starting with z15 (or newer) we can execute mmio
> instructions from userspace. On older platforms
> where we don't have these instructions available
> we can fallback to using system calls to access
> the PCI mapped resources.
> 
> This patch adds helper functions for mmio reads
> and writes for s390x.
> 
> Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
> Reviewed-by: Niklas Schnelle <schnelle@linux.ibm.com>
> Signed-off-by: Farhan Ali <alifm@linux.ibm.com>
> ---
>   include/qemu/s390x_pci_mmio.h |  24 ++++++
>   util/meson.build              |   2 +
>   util/s390x_pci_mmio.c         | 146 ++++++++++++++++++++++++++++++++++
>   3 files changed, 172 insertions(+)
>   create mode 100644 include/qemu/s390x_pci_mmio.h
>   create mode 100644 util/s390x_pci_mmio.c

FWIW,
Acked-by: Thomas Huth <thuth@redhat.com>



  reply	other threads:[~2025-05-07 18:10 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-04-30 18:50 [PATCH v6 0/3] Enable QEMU NVMe userspace driver on s390x Farhan Ali
2025-04-30 18:50 ` [PATCH v6 1/3] util: Add functions for s390x mmio read/write Farhan Ali
2025-05-07 18:09   ` Thomas Huth [this message]
2025-04-30 18:50 ` [PATCH v6 2/3] include: Add a header to define host PCI MMIO functions Farhan Ali
2025-05-05  9:38   ` Thomas Huth
2025-05-07 16:15     ` Farhan Ali
2025-05-07 17:45       ` Stefan Hajnoczi
2025-04-30 18:50 ` [PATCH v6 3/3] block/nvme: Use host PCI MMIO API Farhan Ali

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=2dfcf252-99e2-45f9-b958-770d14a1ab7b@redhat.com \
    --to=thuth@redhat.com \
    --cc=alex.williamson@redhat.com \
    --cc=alifm@linux.ibm.com \
    --cc=fam@euphon.net \
    --cc=hreitz@redhat.com \
    --cc=kwolf@redhat.com \
    --cc=mjrosato@linux.ibm.com \
    --cc=philmd@linaro.org \
    --cc=qemu-devel@nongnu.org \
    --cc=schnelle@linux.ibm.com \
    --cc=stefanha@redhat.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).