Skip to content

drivers: qcom: add SMEM driver - #51

Open
Dwitam Ghosh (qghoshdw) wants to merge 1 commit into
qualcomm-linux:qcom-nextfrom
qghoshdw:dev_smem
Open

Dwitam Ghosh (qghoshdw) wants to merge 1 commit into
qualcomm-linux:qcom-nextfrom
qghoshdw:dev_smem

Conversation

@qghoshdw

Copy link
Copy Markdown

Add Qualcomm SMEM driver for OP-TEE. Structure the implementation
as a platform-independent common layer (qti_smem.c/h), a TEE-specific
platform abstraction layer (qti_smem_plat.c/h), and a clean public API.

qti_smem_init() - initialize driver, validate TOC and map partitions
qti_smem_host_id() - construct a SMEM host identifier
qti_smem_lookup() - look up an existing SMEM item by host and item ID

Signed-off-by: Dwitam Ghosh dkolkata@qti.qualcomm.com
Signed-off-by: Rameshwar Varaganti rvaragan@qti.qualcomm.com

@qswat-orbit-external

Copy link
Copy Markdown

Merge Check Failed: No CR Numbers Found

Error: No Change Request numbers were found.

Please add Change Request numbers to your pull request description in the format CRs-Fixed: 12345 or link GitHub issues that are associated with Change Requests.

1 similar comment
@qswat-orbit-external

Copy link
Copy Markdown

Merge Check Failed: No CR Numbers Found

Error: No Change Request numbers were found.

Please add Change Request numbers to your pull request description in the format CRs-Fixed: 12345 or link GitHub issues that are associated with Change Requests.

@b49020

Copy link
Copy Markdown
Member

Please rebase this PR to tip of qcom-next. Also, provide information in the commit message about how this SMEM driver is going to be used and on which target.

@vinod-amanaganti

Copy link
Copy Markdown

Dwitam Ghosh (@qghoshdw) after picking this PR device crashed. Can you please confirm whether it was tested?

Add Qualcomm SMEM driver for OP-TEE. Structure the implementation
as a platform-independent common layer (qti_smem.c/h), a TEE-specific
platform abstraction layer (qti_smem_plat.c/h), and a clean public API.

  qti_smem_init()    - initialize driver, validate TOC and map partitions
  qti_smem_host_id() - construct a SMEM host identifier
  qti_smem_lookup()  - look up an existing SMEM item by host and item ID

AI Usage:
This contribution was developed, designed, implemented, and validated by
the authors. AI-assisted tools were used only to help with code review,
documentation drafting, commit message refinement, and general development
productivity. No code was automatically generated and submitted without
author review and verification.

Change-Id: I103398bc7380fe21d846e98fa44dc4df997c087c
Signed-off-by: Dwitam Ghosh <dkolkata@qti.qualcomm.com>
Signed-off-by: Rameshwar Varaganti <rvaragan@qti.qualcomm.com>

@b49020 Sumit Garg (b49020) left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

End-to-end use-case missing, please clarify how this driver is going to be used for a particular target.

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.

3 participants