mbox series

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

Message ID 20250322043139.2003479-1-sunilvl@ventanamicro.com (mailing list archive)
Headers show
Series RISC-V: ACPI: Add support for RIMT | expand

Message

Sunil V L March 22, 2025, 4:31 a.m. UTC
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(+)

Comments

Alistair Francis March 24, 2025, 4:22 a.m. UTC | #1
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
>
>