[PATCH 0/2] Allow parameter in smc/hvc calls

Nikunj Kela quic_nkela at quicinc.com
Sun Apr 9 11:19:16 PDT 2023


Currently, smc/hvc calls are made with parameters set
to zeros. We are using multiple scmi instances within
a VM and hypervisor associates a tag with each instance
and expects the tag in smc calls from that instance, while
sharing the same smc-id(func_id) among the instances.

This patch series introduces new optional dtb bindings which
can be used to pass parameters to smc/hvc calls.

Nikunj Kela (2):
  dt-bindings: firmware: arm,scmi: support parameter passing in smc/hvc
  firmware: arm_scmi: Augment SMC/HVC to allow optional parameters

 .../bindings/firmware/arm,scmi.yaml           | 16 +++++
 drivers/firmware/arm_scmi/smc.c               | 66 ++++++++++++++++++-
 2 files changed, 81 insertions(+), 1 deletion(-)

-- 
2.17.1




More information about the linux-arm-kernel mailing list