[PATCH v5 0/2] Add qcom smc/hvc transport support

From: Nikunj Kela
Date: Fri Oct 06 2023 - 12:43:57 EST


This change augments smc transport to include support for Qualcomm virtual
platforms by passing a parameter(capability-id) in the hypervisor call to
identify which doorbell to assert. This parameter is dynamically generated
at runtime on the device and insuitable to pass via the devicetree.

The capability-id is stored by firmware in the shmem region.

This has been tested on ARM64 virtual Qualcomm platform.

---
v5 -> changed compatible, removed polling support patch,
make use of smc-id binding for function-id

v4 -> port the changes into smc.c

v3 -> fix the compilation error reported by the test bot,
add support for polling based instances

v2 -> use allOf construct in dtb schema,
remove wrappers from mutexes,
use architecture independent channel layout

v1 -> original patches

Nikunj Kela (2):
dt-bindings: arm: Add new compatible for smc/hvc transport for SCMI
firmware: arm_scmi: Add qcom smc/hvc transport support

.../bindings/firmware/arm,scmi.yaml | 4 +++
drivers/firmware/arm_scmi/driver.c | 1 +
drivers/firmware/arm_scmi/smc.c | 33 +++++++++++++++++--
3 files changed, 36 insertions(+), 2 deletions(-)

--
2.17.1