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

Address SBI mpxy ARC feedback #195

Merged
merged 3 commits into from
Feb 3, 2025

Conversation

avpatel
Copy link
Contributor

@avpatel avpatel commented Jan 21, 2025

No description provided.

message protocol specification are also referred to as posted messages. This
function should be only used for such posted messages and the respective message
protocol specification should define a mechanism to track the status of posted
messages using notification events or some other message with response.
Copy link
Collaborator

Choose a reason for hiding this comment

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

The 2nd part is optional - Correct ? Can we clarify that ? Something like this:
This function should be only used for such posted messages. The respective message
protocol specification should define a mechanism to track the status of posted
messages using notification events or some other message with response if required.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Okay, I will update.

struct sbiret sbi_mpxy_get_shmem_size(void)
```

Get the shared memory size for sending and receiving messages. The shared memory
Copy link
Collaborator

Choose a reason for hiding this comment

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

shared memory size in number of bytes ?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Okay, I will update.

@atishp04
Copy link
Collaborator

Apart from these nit comments, looks good to me.

To address the ARC review feedback, improve notification related
text as follows:
1) Replace the term "notification indication" with just "indication".
2) Minimize the use of term "client" and replace it with the term
"supervisor software" at appropriate places to be consistent with
other SBI extensions.

Signed-off-by: Anup Patel <[email protected]>
Reviewed-by: Rahul Pathak <[email protected]>
Reviewed-by: Samuel Holland <[email protected]>
…onse()

Based on ARC feedback, improve/clarify description of the SBI MPXY
functions to send message with/without response.

Signed-off-by: Anup Patel <[email protected]>
Reviewed-by: Rahul Pathak <[email protected]>
The per-HART shared memory size must be greater than the biggest
MSG_DATA_MAX_LEN attribute value across all MPXY channels so add
a new separate SBI function to let supervisor software discover it.

Signed-off-by: Anup Patel <[email protected]>
Reviewed-by: Rahul Pathak <[email protected]>
Reviewed-by: Samuel Holland <[email protected]>
@avpatel avpatel force-pushed the sbi_mpxy_arc_feedback_v3 branch from 13ccdf2 to e57e11e Compare February 2, 2025 14:50
@avpatel
Copy link
Contributor Author

avpatel commented Feb 2, 2025

@atishp04 I have addressed your comments. The build failure is due to some other issue.

@atishp04 atishp04 merged commit f99e40e into riscv-non-isa:master Feb 3, 2025
1 of 2 checks 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