[PATCH v2 0/2] RISC-V: ACPI: Add support for RIMT

Sunil V L posted 2 patches 1 week, 1 day ago
hw/riscv/virt-acpi-build.c | 215 +++++++++++++++++++++++++++++++++++++
hw/riscv/virt.c            |   1 +
include/hw/riscv/virt.h    |   1 +
3 files changed, 217 insertions(+)
[PATCH v2 0/2] RISC-V: ACPI: Add support for RIMT
Posted by Sunil V L 1 week, 1 day ago
RISC-V IO Mapping Table (RIMT) is a new static ACPI table used to
communicate IOMMU and topology information to the OS. Add support for
creating this table when the IOMMU is present. The specification is
frozen and available at [1].

[1] - https://github.com/riscv-non-isa/riscv-acpi-rimt/releases/download/v0.99/rimt-spec.pdf

Changes since v1:
	1) Used g_autoptr as per Daniel's suggestion.
	2) Added R-b tag from Daniel.

Sunil V L (2):
  hw/riscv/virt: Add the BDF of IOMMU to RISCVVirtState structure
  hw/riscv/virt-acpi-build: Add support for RIMT

 hw/riscv/virt-acpi-build.c | 215 +++++++++++++++++++++++++++++++++++++
 hw/riscv/virt.c            |   1 +
 include/hw/riscv/virt.h    |   1 +
 3 files changed, 217 insertions(+)

-- 
2.43.0
Re: [PATCH v2 0/2] RISC-V: ACPI: Add support for RIMT
Posted by Alistair Francis 6 days, 2 hours ago
On Sat, Mar 22, 2025 at 2:32 PM Sunil V L <sunilvl@ventanamicro.com> wrote:
>
> RISC-V IO Mapping Table (RIMT) is a new static ACPI table used to
> communicate IOMMU and topology information to the OS. Add support for
> creating this table when the IOMMU is present. The specification is
> frozen and available at [1].
>
> [1] - https://github.com/riscv-non-isa/riscv-acpi-rimt/releases/download/v0.99/rimt-spec.pdf
>
> Changes since v1:
>         1) Used g_autoptr as per Daniel's suggestion.
>         2) Added R-b tag from Daniel.
>
> Sunil V L (2):
>   hw/riscv/virt: Add the BDF of IOMMU to RISCVVirtState structure
>   hw/riscv/virt-acpi-build: Add support for RIMT

Thanks!

Applied to riscv-to-apply.next

Alistair

>
>  hw/riscv/virt-acpi-build.c | 215 +++++++++++++++++++++++++++++++++++++
>  hw/riscv/virt.c            |   1 +
>  include/hw/riscv/virt.h    |   1 +
>  3 files changed, 217 insertions(+)
>
> --
> 2.43.0
>
>