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

From: Nikunj Kela
Date: Mon Apr 10 2023 - 14:21:40 EST


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 hvc 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.

---
v2 -> fix the compilation erros on 32bit platform(see below)
Reported-by: kernel test robot <lkp@xxxxxxxxx>
Closes: https://lore.kernel.org/oe-kbuild-all/202304100606.kUjhsRYf-lkp@xxxxxxxxx/

v1 -> original patches

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 | 17 +++++
drivers/firmware/arm_scmi/smc.c | 72 ++++++++++++++++++-
2 files changed, 88 insertions(+), 1 deletion(-)

--
2.17.1