All of lore.kernel.org
 help / color / mirror / Atom feed
From: Ethan Chen via <qemu-riscv@nongnu.org>
To: <qemu-devel@nongnu.org>
Cc: <peter.maydell@linaro.org>, <edgar.iglesias@gmail.com>,
	<richard.henderson@linaro.org>, <pbonzini@redhat.com>,
	<palmer@dabbelt.com>, <alistair.francis@wdc.com>,
	<in.meng@windriver.com>, <liweiwei@iscas.ac.cn>,
	<dbarboza@ventanamicro.com>, <hiwei_liu@linux.alibaba.com>,
	<qemu-riscv@nongnu.org>, <peterx@redhat.com>, <david@redhat.com>
Subject: Re: [PATCH v4 0/4] Support RISC-V IOPMP
Date: Tue, 5 Dec 2023 15:47:59 +0800	[thread overview]
Message-ID: <ZW7Vr1SGnEoHADAY@ethan84-VirtualBox> (raw)
In-Reply-To: <20231122053251.440723-1-ethan84@andestech.com>

Ping.
https://patchew.org/QEMU/20231122053251.440723-1-ethan84@andestech.com/

On Wed, Nov 22, 2023 at 01:32:47PM +0800, Ethan Chen wrote:
> This series implements IOPMP specification v1.0.0-draft4 rapid-k model.
> The specification url:
> https://github.com/riscv-non-isa/iopmp-spec/blob/main/riscv_iopmp_specification.pdf
> 
> When IOPMP is enabled, a DMA device ATCDMAC300 is added to RISC-V virt
> platform. This DMA device is connected to the IOPMP and has the functionalities
> required by IOPMP, including:
> - Support setup the connection to IOPMP
> - Support asynchronous I/O to handle stall transactions
> - Send transaction information
> 
> IOPMP takes a transaction which partially match an entry as a partially hit
> error. The transaction size is depending on source device, destination device
> and bus.
> 
> Source device can send a transaction_info to IOPMP. IOPMP will check partially
> hit by transaction_info. If source device does not send a transaction_info,
> IOPMP checks information in IOMMU and dose not check partially hit.
> 
> Changes for v4:
> 
>   - Add descriptions of IOPMP and ATCDMAC300
>   - Refine coding style and comments
>   - config XILINX_AXI does not include file stream.c but selects config STREAM
>     instead.
>   - ATCDMAC300: INT_STATUS is write 1 clear per bit
> 		            Rename iopmp_address_sink to transcation_info_sink
>   - IOPMP: Refine error message and remove unused variable
>   - VIRT: Document new options
> 	        atcdmac300 is only added when iopmp is enabled
>           serial setting should not be changed
> 
> Ethan Chen (4):
>   hw/core: Add config stream
>   Add RISC-V IOPMP support
>   hw/dma: Add Andes ATCDMAC300 support
>   hw/riscv/virt: Add IOPMP support
> 
>  docs/system/riscv/virt.rst                    |  11 +
>  hw/Kconfig                                    |   1 +
>  hw/core/Kconfig                               |   3 +
>  hw/core/meson.build                           |   2 +-
>  hw/dma/Kconfig                                |   4 +
>  hw/dma/atcdmac300.c                           | 566 ++++++++++
>  hw/dma/meson.build                            |   1 +
>  hw/misc/Kconfig                               |   4 +
>  hw/misc/meson.build                           |   1 +
>  hw/misc/riscv_iopmp.c                         | 966 ++++++++++++++++++
>  hw/riscv/Kconfig                              |   2 +
>  hw/riscv/virt.c                               |  65 ++
>  include/hw/dma/atcdmac300.h                   | 180 ++++
>  include/hw/misc/riscv_iopmp.h                 | 341 +++++++
>  .../hw/misc/riscv_iopmp_transaction_info.h    |  28 +
>  include/hw/riscv/virt.h                       |  10 +-
>  16 files changed, 2183 insertions(+), 2 deletions(-)
>  create mode 100644 hw/dma/atcdmac300.c
>  create mode 100644 hw/misc/riscv_iopmp.c
>  create mode 100644 include/hw/dma/atcdmac300.h
>  create mode 100644 include/hw/misc/riscv_iopmp.h
>  create mode 100644 include/hw/misc/riscv_iopmp_transaction_info.h
> 
> -- 
> 2.34.1
> 


WARNING: multiple messages have this Message-ID (diff)
From: Ethan Chen via <qemu-devel@nongnu.org>
To: <qemu-devel@nongnu.org>
Cc: <peter.maydell@linaro.org>, <edgar.iglesias@gmail.com>,
	<richard.henderson@linaro.org>, <pbonzini@redhat.com>,
	<palmer@dabbelt.com>, <alistair.francis@wdc.com>,
	<in.meng@windriver.com>, <liweiwei@iscas.ac.cn>,
	<dbarboza@ventanamicro.com>, <hiwei_liu@linux.alibaba.com>,
	<qemu-riscv@nongnu.org>, <peterx@redhat.com>, <david@redhat.com>
Subject: Re: [PATCH v4 0/4] Support RISC-V IOPMP
Date: Tue, 5 Dec 2023 15:47:59 +0800	[thread overview]
Message-ID: <ZW7Vr1SGnEoHADAY@ethan84-VirtualBox> (raw)
In-Reply-To: <20231122053251.440723-1-ethan84@andestech.com>

Ping.
https://patchew.org/QEMU/20231122053251.440723-1-ethan84@andestech.com/

On Wed, Nov 22, 2023 at 01:32:47PM +0800, Ethan Chen wrote:
> This series implements IOPMP specification v1.0.0-draft4 rapid-k model.
> The specification url:
> https://github.com/riscv-non-isa/iopmp-spec/blob/main/riscv_iopmp_specification.pdf
> 
> When IOPMP is enabled, a DMA device ATCDMAC300 is added to RISC-V virt
> platform. This DMA device is connected to the IOPMP and has the functionalities
> required by IOPMP, including:
> - Support setup the connection to IOPMP
> - Support asynchronous I/O to handle stall transactions
> - Send transaction information
> 
> IOPMP takes a transaction which partially match an entry as a partially hit
> error. The transaction size is depending on source device, destination device
> and bus.
> 
> Source device can send a transaction_info to IOPMP. IOPMP will check partially
> hit by transaction_info. If source device does not send a transaction_info,
> IOPMP checks information in IOMMU and dose not check partially hit.
> 
> Changes for v4:
> 
>   - Add descriptions of IOPMP and ATCDMAC300
>   - Refine coding style and comments
>   - config XILINX_AXI does not include file stream.c but selects config STREAM
>     instead.
>   - ATCDMAC300: INT_STATUS is write 1 clear per bit
> 		            Rename iopmp_address_sink to transcation_info_sink
>   - IOPMP: Refine error message and remove unused variable
>   - VIRT: Document new options
> 	        atcdmac300 is only added when iopmp is enabled
>           serial setting should not be changed
> 
> Ethan Chen (4):
>   hw/core: Add config stream
>   Add RISC-V IOPMP support
>   hw/dma: Add Andes ATCDMAC300 support
>   hw/riscv/virt: Add IOPMP support
> 
>  docs/system/riscv/virt.rst                    |  11 +
>  hw/Kconfig                                    |   1 +
>  hw/core/Kconfig                               |   3 +
>  hw/core/meson.build                           |   2 +-
>  hw/dma/Kconfig                                |   4 +
>  hw/dma/atcdmac300.c                           | 566 ++++++++++
>  hw/dma/meson.build                            |   1 +
>  hw/misc/Kconfig                               |   4 +
>  hw/misc/meson.build                           |   1 +
>  hw/misc/riscv_iopmp.c                         | 966 ++++++++++++++++++
>  hw/riscv/Kconfig                              |   2 +
>  hw/riscv/virt.c                               |  65 ++
>  include/hw/dma/atcdmac300.h                   | 180 ++++
>  include/hw/misc/riscv_iopmp.h                 | 341 +++++++
>  .../hw/misc/riscv_iopmp_transaction_info.h    |  28 +
>  include/hw/riscv/virt.h                       |  10 +-
>  16 files changed, 2183 insertions(+), 2 deletions(-)
>  create mode 100644 hw/dma/atcdmac300.c
>  create mode 100644 hw/misc/riscv_iopmp.c
>  create mode 100644 include/hw/dma/atcdmac300.h
>  create mode 100644 include/hw/misc/riscv_iopmp.h
>  create mode 100644 include/hw/misc/riscv_iopmp_transaction_info.h
> 
> -- 
> 2.34.1
> 


  parent reply	other threads:[~2023-12-05  7:48 UTC|newest]

Thread overview: 28+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-11-22  5:32 [PATCH v4 0/4] Support RISC-V IOPMP Ethan Chen via
2023-11-22  5:32 ` Ethan Chen via
2023-11-22  5:32 ` [PATCH v4 1/4] hw/core: Add config stream Ethan Chen via
2023-11-22  5:32   ` Ethan Chen via
2023-12-18  4:02   ` Alistair Francis
2023-11-22  5:32 ` [PATCH v4 2/4] Add RISC-V IOPMP support Ethan Chen via
2023-11-22  5:32   ` Ethan Chen via
2023-12-18  4:04   ` Alistair Francis
2023-12-27  2:26     ` Ethan Chen via
2023-12-27  2:26       ` Ethan Chen via
2023-11-22  5:32 ` [PATCH v4 3/4] hw/dma: Add Andes ATCDMAC300 support Ethan Chen via
2023-11-22  5:32   ` Ethan Chen via
2023-12-18  4:14   ` Alistair Francis
2023-11-22  5:32 ` [PATCH v4 4/4] hw/riscv/virt: Add IOPMP support Ethan Chen via
2023-11-22  5:32   ` Ethan Chen via
2023-12-18  4:16   ` Alistair Francis
2023-12-05  7:47 ` Ethan Chen via [this message]
2023-12-05  7:47   ` [PATCH v4 0/4] Support RISC-V IOPMP Ethan Chen via
2023-12-13  5:35   ` Ethan Chen via
2023-12-13  5:35     ` Ethan Chen via
2023-12-18  4:18 ` Alistair Francis
2023-12-21  6:38   ` Ethan Chen via
2023-12-21  6:38     ` Ethan Chen via
2024-01-22  6:01     ` Alistair Francis
2024-01-23  3:31       ` Ethan Chen via
2024-01-23  3:31         ` Ethan Chen via
2024-01-04  2:38   ` Ethan Chen via
2024-01-04  2:38     ` Ethan Chen via

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=ZW7Vr1SGnEoHADAY@ethan84-VirtualBox \
    --to=qemu-riscv@nongnu.org \
    --cc=alistair.francis@wdc.com \
    --cc=david@redhat.com \
    --cc=dbarboza@ventanamicro.com \
    --cc=edgar.iglesias@gmail.com \
    --cc=ethan84@andestech.com \
    --cc=hiwei_liu@linux.alibaba.com \
    --cc=in.meng@windriver.com \
    --cc=liweiwei@iscas.ac.cn \
    --cc=palmer@dabbelt.com \
    --cc=pbonzini@redhat.com \
    --cc=peter.maydell@linaro.org \
    --cc=peterx@redhat.com \
    --cc=qemu-devel@nongnu.org \
    --cc=richard.henderson@linaro.org \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.