Re: [PATCH v5 2/2] firmware: arm_scmi: Add qcom smc/hvc transport support

From: Brian Masney
Date: Fri Oct 06 2023 - 16:18:50 EST


On Fri, Oct 06, 2023 at 09:42:06AM -0700, Nikunj Kela wrote:
> 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: Nikunj Kela <quic_nkela@xxxxxxxxxxx>

Reviewed-by: Brian Masney <bmasney@xxxxxxxxxx>