Skip to content
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 6.5: RAS2: Add support for RAS2 table #892

Closed
wants to merge 1 commit into from
Closed

ACPI 6.5: RAS2: Add support for RAS2 table #892

wants to merge 1 commit into from

Conversation

shijujose4
Copy link
Contributor

Add support for ACPI RAS2 feature table(RAS2) defined in the ACPI 6.5 Specification & upwards revision, section 5.2.21.

The RAS2 table provides interfaces for platform RAS features. RAS2 offers the same services as RASF, but is more scalable than the latter. RAS2 supports independent RAS controls and capabilities for a given RAS feature for multiple instances of the same component in a given system. The platform can support either RAS2 or RASF but not both.

Add support for ACPI RAS2 feature table(RAS2) defined in the ACPI 6.5
Specification & upwards revision, section 5.2.21.

The RAS2 table provides interfaces for platform RAS features. RAS2 offers
the same services as RASF, but is more scalable than the latter.
RAS2 supports independent RAS controls and capabilities for a given RAS
feature for multiple instances of the same component in a given system.
The platform can support either RAS2 or RASF but not both.

Signed-off-by: Shiju Jose <shiju.jose@huawei.com>
@acpibob
Copy link
Contributor

acpibob commented Sep 15, 2023 via email

@shijujose4
Copy link
Contributor Author

Sure. I will try to add compiler and disassembler support for the RAS2 table.
Thanks.

@sacdintel
Copy link
Collaborator

8.1 Adding new ACPI Tables
This section describes how to add a new ACPI table to ACPICA and the iASL compiler.

There are four main tasks that are needed to provide support for a new ACPI table:
1) Create a full definition of the table and any subtables in the ACPICA headers
2) Add disassembler support for the new table
3) Add iASL table compiler support for the new table
4) Create a default template for the new table for iASL –T option

Important Note: if any new typedefed struct definitions are added to the code, they must also be added to the AcpiSrc utility. This is so that the ACPICA source code can be properly converted to Linux format. Modify this file:
source/tools/acpisrc/astable.c

Notes for each of these tasks are provided in the sections below.

When the new table integration is completed, the list of modified source files should look something like this:
modified: source/common/dmtable.c
modified: source/common/dmtbdump.c
modified: source/common/dmtbinfo.c
modified: source/compiler/dtcompiler.h
modified: source/compiler/dttable.c
modified: source/compiler/dttemplate.h
modified: source/include/acdisasm.h
modified: source/include/actbl3.h
modified: source/tools/acpisrc/astable.c

This section 8.1 of the ACPICA design document found at https://github.com/acpica/acpica/blob/master/documents/acpica-design.doc explains how to add a new table (or even modify/update existing ones) and hopefully this helps you and others! Thanks!

@shijujose4 shijujose4 closed this by deleting the head repository Sep 27, 2023
@sacdintel
Copy link
Collaborator

Why was this PR closed since the RAS2 table was approved by the ASWG? Anything we can help with? Thanks!

@shijujose4
Copy link
Contributor Author

shijujose4 commented Sep 27, 2023 via email

@shijujose4
Copy link
Contributor Author

shijujose4 commented Sep 27, 2023 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants