generated from riscv/docs-spec-template
-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ACPI: Add requirement to have PLIC/APLIC namespace devices (#143)
* non-normative/acpi.adoc: Add example for using PLIC/APLIC namespace devices Add an example which shows how PLIC/APLIC namespace devices can be added and how devices which use GSIs can indicate the dependency. Signed-off-by: Sunil V L <[email protected]> * ACPI: Add requirement to have PLIC/APLIC namespace devices PLIC and APLIC need to be namespace devices as well so that devices can add dependencies using _DEP. This is required for the OS to ensure drivers are probed in proper order. So, this commit 1) Creates a new section under ACPI to list of ACPI IDs maintained for RVI standard devices. 2) Adds new requirement to mandate namespace devices for PLIC and APLIC. 3) Mandates _GSB required to map the namespace device to MADT. 4) Mandates _DEP to indicate dependency between devices and interrupt controller for GSI interrupts. Signed-off-by: Sunil V L <[email protected]> --------- Signed-off-by: Sunil V L <[email protected]>
- Loading branch information
Showing
3 changed files
with
80 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
[[acpi-ids]] | ||
=== RVI specific ACPI IDs | ||
|
||
ACPI ID is used in the _HID (Hardware ID), _CID (Compatibility ID) or | ||
_SUB (Subsystem ID) objects as described in the ACPI Specification for | ||
devices that do not have a standard enumeration mechanism. The ACPI ID | ||
consists of two parts: a Vendor ID followed by a product identifier. | ||
|
||
Vendor IDs consist of 4 characters, each character being either an | ||
uppercase letter (A-Z) or a numeral (0-9). The Vendor ID should be | ||
unique across the Industry and registered by the UEFI forum. For RVI | ||
standard devices, **"RSCV"** is the Vendor ID registered. Vendor-specific | ||
devices can use an appropriate Vendor ID registered for the manufacturer. | ||
|
||
Product Identifiers are always four-character hexadecimal numbers (0-9 | ||
and A-F). The Device Manufacturer is responsible for assigning this | ||
identifier to each product model. | ||
|
||
This document contains the canonical list of ACPI IDs for the namespace | ||
devices that adhere to the RVI specifications. The RVI task groups may | ||
make pull requests against this repository to request the allocation of | ||
ACPI ID for any new device. | ||
|
||
[width=100%] | ||
[%header, cols="5,25"] | ||
|=== | ||
| ACPI ID ^| Device | ||
| RSCV0001 | RISC-V Platform-Level Interrupt Controller (PLIC) | ||
| RSCV0002 | RISC-V Advanced Platform-Level Interrupt Controller (APLIC) | ||
|=== |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters