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

Fixes across specification in the post ARC review spec #77

Merged
merged 11 commits into from
Nov 9, 2024

Conversation

pathakraul
Copy link
Collaborator

These are only fixes to the existing specification which are misleading and incorrect.

src/intro.adoc Outdated
custom RPMI service groups.
to the application processors are grouped into RPMI service groups based on
functionality. Each RPMI service group specifies the RISC-V privilege levels
from which the application processor can be access it. Platform vendors can
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

s/can be access/can access/

@@ -187,8 +184,8 @@ default. System Warm Reset support can be discovered with this service.
This service is used to initiate the system reset or system shutdown.
The application processor must only request supported reset types, discovered
using the `SYSRST_GET_ATTRIBUTES` service except for System Shutdown and System
Cold Reset which are supported by default. Requesting an unsupported or
invalid reset type may result in the system entering a non-functional state.
Cold Reset which are supported by default. This service does not return in case
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

s/does not return/does not return response message/

RPMI_ERR_BAD_RANGE is meant for bad or invalid ranges
of either index or offsets or addresses or just any
plain number. Remove index word from the definition
and make it generic

Signed-off-by: Rahul Pathak <[email protected]>
The base service BASE_GET_HW_INFO was changed to
BASE_GET_PLATFORM_INFO but table still mentioned
the old name. Correct the right name in the service
table in base service group

Signed-off-by: Rahul Pathak <[email protected]>
…UTES

SYSRST_GET_ATTRIBUTES has flag which can encode
if the provided RESET_TYPE is supported, not supported
or invalid. Remove the RESET_TYPE invalid error
from the status

Signed-off-by: Rahul Pathak <[email protected]>
…TTRIBUTES

SYSSUSP_GET_ATTRIBUTES as flag which can encode if the
provided SUSPEND_TYPE is supported, not supported
or invalid. Remove the SUSPEND_TYPE invalid error
from the status

Signed-off-by: Rahul Pathak <[email protected]>
SYSRST_RESET service can return if the service does not
complete successfully. Add the possible error codes

Signed-off-by: Rahul Pathak <[email protected]>
Currently in some service groups the error code for
an invalid index in an array provided as an input
in the request message is RPMI_ERR_BAD_RANGE. But
input is not provided as a range but a index and
RPMI_ERR_INVALID_PARAM is more appropriate error code

Signed-off-by: Rahul Pathak <[email protected]>
@avpatel
Copy link
Contributor

avpatel commented Nov 9, 2024

Looks good to me.

@pathakraul pathakraul merged commit 17421ac into riscv-non-isa:main Nov 9, 2024
1 check passed
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.

2 participants