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

Handling fallback to non domain remote calls #96

Merged
merged 1 commit into from
Nov 20, 2024

Conversation

quic-kartsana
Copy link
Contributor

Currently fallback to non domain static handle calls is being done when we recieve module not supported error from DSP AEE_NOSUCHMOD. But, if module is not present the error code is being converted to AEE_ERPC. Replace fallback error code from AEE_NOSUCHMOD to AEE_ERPC.

Currently fallback to non domain static handle calls is being done
when we recieve module not supported error from DSP AEE_NOSUCHMOD.
But, if module is not present the error code is being converted to
AEE_ERPC. Replace fallback error code from AEE_NOSUCHMOD to
AEE_ERPC.

Signed-off-by: karthik sanagavarapu <quic_kartsana@quicinc.com>
@@ -625,7 +625,7 @@ int fastrpc_set_remote_uthread_params(int domain) {
if ((handle = get_remotectl1_handle(domain)) != INVALID_HANDLE) {
nErr = remotectl1_set_param(handle, th_params->reqID, (uint32_t *)th_params,
paramsLen);
if (nErr == DSP_AEE_EOFFSET + AEE_ENOSUCHMOD) {
if (nErr == DSP_AEE_EOFFSET + AEE_ERPC) {
Copy link
Contributor

Choose a reason for hiding this comment

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

AEE_ERPC can be returned for multiple reasons. Need to make it more accurate.

@quic-ekangupt quic-ekangupt linked an issue Nov 20, 2024 that may be closed by this pull request
@quic-ekangupt quic-ekangupt merged commit 6d4c1d5 into quic:development Nov 20, 2024
5 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.

Non domain call failures are not handled properly
2 participants