[PATCH v4 12/12] [RFC] firmware: arm_scmi: Make smc support atomic commands replies

From: Cristian Marussi
Date: Tue Aug 24 2021 - 10:00:48 EST


Enable sync_cmds_atomic_replies in the SMC transport descriptor.

Signed-off-by: Cristian Marussi <cristian.marussi@xxxxxxx>
---
NOTE THAT this flag is probably better to be also optionally settable
using an optional DT property to address the fact that the same
transport could expose or not this feature depending on where the SCMI
server sits.
(e.g. an SCMI server in S-EL1 accessed via smc dispatcher sitting in EL3)
---
drivers/firmware/arm_scmi/smc.c | 1 +
1 file changed, 1 insertion(+)

diff --git a/drivers/firmware/arm_scmi/smc.c b/drivers/firmware/arm_scmi/smc.c
index c13edaace8a3..479382f3cc96 100644
--- a/drivers/firmware/arm_scmi/smc.c
+++ b/drivers/firmware/arm_scmi/smc.c
@@ -209,4 +209,5 @@ const struct scmi_desc scmi_smc_desc = {
.max_msg = 20,
.max_msg_size = 128,
.atomic_capable = true,
+ .sync_cmds_atomic_replies = true,
};
--
2.17.1