From 4a71fe9b7be901939000a35d05a018b81d9c0db4 Mon Sep 17 00:00:00 2001 From: Andrew Jones Date: Mon, 20 Jan 2025 15:33:08 +0100 Subject: [PATCH] FIRM: Require RIMT for IOMMU While BRS does have requirements dictating which tables to use, like ACPI_030, conditional requirements like "If there's an IOMMU, then the RIMT must be used" would require the BRS to consider what there might be. The platform server spec is better positioned for that since it's sure there may be an IOMMU, as it also builds on the server-soc spec. So, as there's some concern that a RIMT won't be used when there is an IOMMU, require firmware to use it. Resolves: https://github.com/riscv-non-isa/riscv-server-platform/issues/2 Signed-off-by: Andrew Jones --- server_platform.bib | 4 ++++ server_platform_requirements.adoc | 1 + 2 files changed, 5 insertions(+) diff --git a/server_platform.bib b/server_platform.bib index f2b5d94..716b56b 100644 --- a/server_platform.bib +++ b/server_platform.bib @@ -31,6 +31,10 @@ @electronic{RFC_2119 title = {Key words for use in RFCs to Indicate Requirement Levels}, url = {https://datatracker.ietf.org/doc/html/rfc2119} } +@electronic{RIMT, + title = {RISC-V IO Mapping Table}, + url = {https://github.com/riscv-non-isa/riscv-acpi-rimt} +} @electronic{RVA23, title = {RVA23 Profiles}, url = {https://github.com/riscv/riscv-profiles/blob/main/rva23-profile.adoc}, diff --git a/server_platform_requirements.adoc b/server_platform_requirements.adoc index 38accf5..fa92d33 100644 --- a/server_platform_requirements.adoc +++ b/server_platform_requirements.adoc @@ -147,6 +147,7 @@ PCIe devices or be compliant to rules for SoC-integrated PCIe devices (cite:[Ser | `FIRM_080` | SHOULD support the ability to perform a HTTP-based boot from a network device, including support for HTTPS and DNS, supporting relevant HII protocols (cite:[UEFI] Section 2.6.2). | `FIRM_090` | MUST support the installation of Load Option Variables (Boot####, or Driver####, or SysPrep####) consistent with cite:[UEFI] Section 2.6.2. | `FIRM_100` | MUST support the ability to register for notifications when a call to ResetSystem is called, consistent with cite:[UEFI] Section 2.6.2. +| `FIRM_110` | If an IOMMU is present, then it MUST be described using the RIMT ACPI table cite:[RIMT]. |=== == Server Platform Security Requirements