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

Add support for CRC, Perf counters and Polling mode #74

Open
quic-ekangupt opened this issue Oct 7, 2024 · 0 comments · May be fixed by #73
Open

Add support for CRC, Perf counters and Polling mode #74

quic-ekangupt opened this issue Oct 7, 2024 · 0 comments · May be fixed by #73
Assignees
Labels
enhancement New feature or request

Comments

@quic-ekangupt
Copy link
Contributor

CRC, Perf counters and polling mode are invoke specific feature that help to enhance the invoke calls.

CRC check for input and output argument helps in ensuring data consistency over a remote call. If user intends to enable CRC
check, first local user CRC is calculated at user end and a CRC buffer is passed to DSP to capture remote CRC values. DSP is expected to
write to the remote CRC buffer which is then compared at user level with the local CRC values.

Perf counters collect the information for remote call and copies the information to a buffer shared by user. Collection of DSP performance counters is also added as part of this change. DSP updates the performance information in the metadata which is then copied to a buffer passed by the users.

For any remote call to DSP, after sending an invocation message, fastRPC driver waits for glink response and during this time the CPU can go into low power modes. Adding a polling mode support with which fastRPC driver will poll continuously on a memory after sending a message to remote subsystem which will eliminate CPU wakeup and scheduling latencies and reduce fastRPC overhead. With this change, DSP always sends a glink response which will get ignored if polling mode didn't time out.

@quic-ekangupt quic-ekangupt added the enhancement New feature or request label Oct 7, 2024
@quic-ekangupt quic-ekangupt linked a pull request Oct 7, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant