qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Andrew Jones <ajones@ventanamicro.com>
To: Daniel Henrique Barboza <dbarboza@ventanamicro.com>
Cc: qemu-devel@nongnu.org, qemu-riscv@nongnu.org,
	alistair.francis@wdc.com,  bmeng@tinylab.org,
	liwei1518@gmail.com, zhiwei_liu@linux.alibaba.com,
	 palmer@rivosinc.com
Subject: Re: [PATCH for-10.0 0/7] hw/riscv: riscv-iommu-sys device
Date: Wed, 6 Nov 2024 18:58:15 +0100	[thread overview]
Message-ID: <20241106-45c7291760031b7896f9f668@orel> (raw)
In-Reply-To: <20241106133407.604587-1-dbarboza@ventanamicro.com>

On Wed, Nov 06, 2024 at 10:34:00AM -0300, Daniel Henrique Barboza wrote:
> Hi,
> 
> Now that we have merged the base IOMMU support we can re-introduce
> the riscv-iommu-sys platform device that was taken away from the initial
> posting.
> 
> Aside from adding support for the device in the 'virt' machine we're
> also adding MSI support for it, something that we weren't doing before.
> The Linux driver is then free to choose either MSI or WSI to use the
> device.

The driver (still only in linux-next) only knows how to use WSI, but with
a series I just posted[1] MSI is also possible.

[1] https://lore.kernel.org/all/20241106175102.219923-4-ajones@ventanamicro.com/

Thanks,
drew

> 
> Patches based on master.
> 
> Daniel Henrique Barboza (5):
>   hw/riscv/riscv-iommu.c: add riscv_iommu_instance_init()
>   hw/riscv/riscv-iommu: parametrize CAP.IGS
>   hw/riscv/virt.c, riscv-iommu-sys.c: add MSIx support
>   hw/riscv/riscv-iommu: implement reset protocol
>   docs/specs: add riscv-iommu-sys information
> 
> Sunil V L (1):
>   hw/riscv/virt: Add IOMMU as platform device if the option is set
> 
> Tomasz Jeznach (1):
>   hw/riscv: add riscv-iommu-sys platform device
> 
>  docs/specs/riscv-iommu.rst  |  30 ++++-
>  docs/system/riscv/virt.rst  |  10 ++
>  hw/riscv/meson.build        |   2 +-
>  hw/riscv/riscv-iommu-bits.h |   6 +
>  hw/riscv/riscv-iommu-pci.c  |  21 +++
>  hw/riscv/riscv-iommu-sys.c  | 256 ++++++++++++++++++++++++++++++++++++
>  hw/riscv/riscv-iommu.c      | 114 +++++++++++-----
>  hw/riscv/riscv-iommu.h      |   5 +
>  hw/riscv/trace-events       |   4 +
>  hw/riscv/virt.c             | 108 ++++++++++++++-
>  include/hw/riscv/iommu.h    |  10 +-
>  include/hw/riscv/virt.h     |   6 +-
>  12 files changed, 530 insertions(+), 42 deletions(-)
>  create mode 100644 hw/riscv/riscv-iommu-sys.c
> 
> -- 
> 2.45.2
> 
> 


  parent reply	other threads:[~2024-11-06 17:58 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-11-06 13:34 [PATCH for-10.0 0/7] hw/riscv: riscv-iommu-sys device Daniel Henrique Barboza
2024-11-06 13:34 ` [PATCH for-10.0 1/7] hw/riscv/riscv-iommu.c: add riscv_iommu_instance_init() Daniel Henrique Barboza
2024-11-19  1:21   ` Alistair Francis
2024-11-06 13:34 ` [PATCH for-10.0 2/7] hw/riscv/riscv-iommu: parametrize CAP.IGS Daniel Henrique Barboza
2024-11-19  1:23   ` Alistair Francis
2024-11-06 13:34 ` [PATCH for-10.0 3/7] hw/riscv: add riscv-iommu-sys platform device Daniel Henrique Barboza
2024-11-19  1:27   ` Alistair Francis
2024-11-06 13:34 ` [PATCH for-10.0 4/7] hw/riscv/virt: Add IOMMU as platform device if the option is set Daniel Henrique Barboza
2024-11-19  1:40   ` Alistair Francis
2024-11-06 13:34 ` [PATCH for-10.0 5/7] hw/riscv/virt.c, riscv-iommu-sys.c: add MSIx support Daniel Henrique Barboza
2024-11-19  2:13   ` Alistair Francis
2024-11-06 13:34 ` [PATCH for-10.0 6/7] hw/riscv/riscv-iommu: implement reset protocol Daniel Henrique Barboza
2024-11-19  2:16   ` Alistair Francis
2024-11-06 13:34 ` [PATCH for-10.0 7/7] docs/specs: add riscv-iommu-sys information Daniel Henrique Barboza
2024-11-19  2:17   ` Alistair Francis
2024-11-06 17:58 ` Andrew Jones [this message]
2024-11-19  2:51 ` [PATCH for-10.0 0/7] hw/riscv: riscv-iommu-sys device Alistair Francis

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=20241106-45c7291760031b7896f9f668@orel \
    --to=ajones@ventanamicro.com \
    --cc=alistair.francis@wdc.com \
    --cc=bmeng@tinylab.org \
    --cc=dbarboza@ventanamicro.com \
    --cc=liwei1518@gmail.com \
    --cc=palmer@rivosinc.com \
    --cc=qemu-devel@nongnu.org \
    --cc=qemu-riscv@nongnu.org \
    --cc=zhiwei_liu@linux.alibaba.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).