firmware: arm_scmi: Augment SMC/HVC to allow optional interrupt
authorJim Quinlan <jim2101024@gmail.com>
Tue, 22 Dec 2020 14:56:03 +0000 (09:56 -0500)
committerSudeep Holla <sudeep.holla@arm.com>
Wed, 6 Jan 2021 09:02:32 +0000 (09:02 +0000)
commitdd820ee21d5e0795096a6e0e47c0183d96464949
treeed3aa5513663abb458d326e1e087e031ef7279d5
parent99a064fb3a73920262119efead4d5048b7da2f55
firmware: arm_scmi: Augment SMC/HVC to allow optional interrupt

The SMC/HVC SCMI transport is modified to allow the completion of an
SCMI message to be indicated by an interrupt rather than the return of
the smc/hvc call. This accommodates the existing behavior of the
BrcmSTB SCMI "platform".

Link: https://lore.kernel.org/r/20201222145603.40192-3-jim2101024@gmail.com
Signed-off-by: Jim Quinlan <jim2101024@gmail.com>
[sudeep.holla: added call to reinit_completion, whitespace cleanup, dropped
 irrelavant info in the commit log]
Signed-off-by: Sudeep Holla <sudeep.holla@arm.com>
drivers/firmware/arm_scmi/smc.c