qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v7 0/2] Support RISC-V IOPMP
@ 2024-06-12  3:17 Ethan Chen via
  2024-06-12  3:17 ` [PATCH v7 1/2] hw/misc/riscv_iopmp: Add RISC-V IOPMP device Ethan Chen via
  2024-06-12  3:17 ` [PATCH v7 2/2] hw/riscv/virt: Add IOPMP support Ethan Chen via
  0 siblings, 2 replies; 15+ messages in thread
From: Ethan Chen via @ 2024-06-12  3:17 UTC (permalink / raw)
  To: qemu-devel
  Cc: pbonzini, palmer, alistair.francis, bmeng.cn, liwei1518, dbarboza,
	zhiwei_liu, qemu-riscv, Ethan Chen

Due to changing the referenced specification version, this patch has changed
a lot in this version.

This series implements basic functions of IOPMP specification v0.9.1 rapid-k
model.
The specification url:
https://github.com/riscv-non-isa/iopmp-spec/releases/tag/v0.9.1

When IOPMP is enabled, memory access from devices will check by IOPMP.

CPU as an IOPMP requestor has not been implemented because the IOTLB does not
support recording sections outside the current CPU address space.

Changes for v7:

  - Change the specification version to v0.9.1
  - Remove the sps extension
  - Remove stall support, transaction information which need requestor device
    support.
  - Remove iopmp_cascade option for virt machine
  - Refine 'addr' range checks switch case (Daniel)


Ethan Chen (2):
  hw/misc/riscv_iopmp: Add RISC-V IOPMP device
  hw/riscv/virt: Add IOPMP support

 docs/system/riscv/virt.rst    |    6 +
 hw/misc/Kconfig               |    3 +
 hw/misc/meson.build           |    1 +
 hw/misc/riscv_iopmp.c         | 1002 +++++++++++++++++++++++++++++++++
 hw/misc/trace-events          |    4 +
 hw/riscv/Kconfig              |    1 +
 hw/riscv/virt.c               |   57 +-
 include/hw/misc/riscv_iopmp.h |  152 +++++
 include/hw/riscv/virt.h       |    5 +-
 9 files changed, 1228 insertions(+), 3 deletions(-)
 create mode 100644 hw/misc/riscv_iopmp.c
 create mode 100644 include/hw/misc/riscv_iopmp.h

-- 
2.34.1



^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2024-07-08  4:27 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-06-12  3:17 [PATCH v7 0/2] Support RISC-V IOPMP Ethan Chen via
2024-06-12  3:17 ` [PATCH v7 1/2] hw/misc/riscv_iopmp: Add RISC-V IOPMP device Ethan Chen via
2024-06-13  9:26   ` LIU Zhiwei
2024-06-14  1:46     ` Ethan Chen via
2024-06-14 13:02       ` LIU Zhiwei
2024-06-17 11:28   ` LIU Zhiwei
2024-06-20  2:27     ` Ethan Chen via
2024-06-17 12:09   ` Stefan Weil via
2024-06-20  2:30     ` Ethan Chen via
2024-06-12  3:17 ` [PATCH v7 2/2] hw/riscv/virt: Add IOPMP support Ethan Chen via
2024-06-21  5:54   ` Alistair Francis
2024-06-24  1:46     ` Ethan Chen via
2024-06-26  1:22       ` Alistair Francis
2024-06-26  5:53         ` Ethan Chen via
2024-07-08  4:26           ` Alistair Francis

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).