Skip to content

lib: mm: Fix request data and response data related issues#90

Open
saini-ranbirs wants to merge 1 commit into
riscv-software-src:mainfrom
saini-ranbirs:rsingh_fix_mm_rpmi_level_request_response_data_issues
Open

lib: mm: Fix request data and response data related issues#90
saini-ranbirs wants to merge 1 commit into
riscv-software-src:mainfrom
saini-ranbirs:rsingh_fix_mm_rpmi_level_request_response_data_issues

Conversation

@saini-ranbirs
Copy link
Copy Markdown
Collaborator

  • Correct expected request data length for MM_COMMUNICATE call.
  • Make return to RPMI MM call as RPMI_SUCCESS always. Actual status of the call is in the response word 0.
  • Return response data length to the RPMI MM call as defined by the RPMI spec irrespective of status value in the response word 0. The caller is supposed to check the status through the response word 0 and interpret the other response data/ words accordingly.

  - Correct expected request data length for MM_COMMUNICATE call.
  - Make return to RPMI MM call as RPMI_SUCCESS always. Actual status of
    the call is in the response word 0.
  - Return response data length to the RPMI MM call as defined by the RPMI
    spec irrespective of status value in the response word 0.
      The caller is supposed to check the status through the response word
    0 and interpret the other response data/ words accordingly.

Signed-off-by: Ranbir Singh <ranbir.singh@qti.qualcomm.com>
@saini-ranbirs saini-ranbirs force-pushed the rsingh_fix_mm_rpmi_level_request_response_data_issues branch from 16eab32 to decbccc Compare May 20, 2026 07:51
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.

1 participant