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

Cristian Marussi cristian.marussi at arm.com
Tue Aug 24 06:59:41 PDT 2021


Enable sync_cmds_atomic_replies in the SMC transport descriptor.

Signed-off-by: Cristian Marussi <cristian.marussi at arm.com>
---
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




More information about the linux-arm-kernel mailing list