devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v5 0/2] Allow parameter in smc/hvc calls
@ 2023-05-06 18:24 Nikunj Kela
  2023-05-06 18:24 ` [PATCH v5 1/2] dt-bindings: firmware: arm,scmi: support for parameter in smc/hvc call Nikunj Kela
                   ` (3 more replies)
  0 siblings, 4 replies; 8+ messages in thread
From: Nikunj Kela @ 2023-05-06 18:24 UTC (permalink / raw)
  To: sudeep.holla
  Cc: cristian.marussi, robh+dt, krzysztof.kozlowski+dt,
	linux-arm-kernel, devicetree, linux-kernel, Nikunj Kela

Currently, smc/hvc calls are made with parameters set
to zeros. We are using multiple scmi instances within
a VM. We are sharing the same smc-id(func_id) with all
scmi instance. The hypervisor needs a way to distinguish
among hvc calls made from different instances.

This patch series introduces new compatible string which
can be used to pass shmem channel address as parameters
to smc/hvc calls.

---
v5 -> avoid computing page and offset in send function
Link: https://lore.kernel.org/all/20230418185659.29745-1-quic_nkela@quicinc.com/

v4 -> split shmem address into 4KB-pages and offset

v3 -> pass shmem channel address as parameter

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

v1 -> original patches

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

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

-- 
2.17.1


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2023-07-04 19:42 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-05-06 18:24 [PATCH v5 0/2] Allow parameter in smc/hvc calls Nikunj Kela
2023-05-06 18:24 ` [PATCH v5 1/2] dt-bindings: firmware: arm,scmi: support for parameter in smc/hvc call Nikunj Kela
2023-05-08 17:47   ` Florian Fainelli
2023-05-06 18:24 ` [PATCH v5 2/2] firmware: arm_scmi: Augment SMC/HVC to allow optional parameters Nikunj Kela
2023-05-08 17:46   ` Florian Fainelli
2023-05-09 16:01 ` [PATCH v5 0/2] Allow parameter in smc/hvc calls Sudeep Holla
2023-05-31 12:26 ` Sudeep Holla
     [not found]   ` <110da0da-211d-1a3f-e007-ddab272aece7@quicinc.com>
     [not found]     ` <20230630094441.fxwd4eagtj5wmbbg@bogus>
2023-06-30 15:14       ` Nikunj Kela

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).