generated from riscv/docs-spec-template
-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ACPI: Add requirement to have PLIC/APLIC namespace devices #143
Merged
Merged
Changes from all commits
Commits
Show all changes
2 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you add a section to the non-normative ACPI guidance on examples of Device (...) definitions for both of these?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sure
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I added an example for PLIC. I didn't see need to repeat the same thing for just HID change. Let me know if I should.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is good.