Commit da405477 authored by Nikunj Kela's avatar Nikunj Kela Committed by Sudeep Holla
Browse files

firmware: arm_scmi: Add qcom smc/hvc transport support



This change adds the support for SCMI message exchange on Qualcomm
virtual platforms.

The hypervisor associates an object-id also known as capability-id
with each smc/hvc doorbell object. The capability-id is used to
identify the doorbell from the VM's capability namespace, similar
to a file-descriptor.

The hypervisor, in addition to the function-id, expects the capability-id
to be passed in x1 register when SMC/HVC call is invoked.

The capability-id is allocated by the hypervisor on bootup and is stored in
the shmem region by the firmware before starting Linux.

Signed-off-by: default avatarNikunj Kela <quic_nkela@quicinc.com>
Reviewed-by: default avatarBrian Masney <bmasney@redhat.com>
Link: https://lore.kernel.org/r/20231009191437.27926-3-quic_nkela@quicinc.com


Signed-off-by: default avatarSudeep Holla <sudeep.holla@arm.com>
parent 6979f88f
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment