firmware: arm_scmi: Support optional system wide atomic-threshold-us
authorCristian Marussi <cristian.marussi@arm.com>
Sun, 13 Feb 2022 19:58:29 +0000 (19:58 +0000)
committerSudeep Holla <sudeep.holla@arm.com>
Mon, 14 Feb 2022 14:49:40 +0000 (14:49 +0000)
commitf66e99eb01753d1f8e084af19f0d10dc15ea1212
tree420eecfa8ce80844c5b1aa91e50432bd0922ddee
parent498023dbb15f50355b7575b0c815c4cf320c5887
firmware: arm_scmi: Support optional system wide atomic-threshold-us

An SCMI agent can be configured system-wide with a well-defined atomic
threshold: only SCMI synchronous command whose latency has been advertised
by the SCMI platform to be lower or equal to this configured threshold will
be considered for atomic operations, when requested and if supported by the
underlying transport at all.

Link: https://lore.kernel.org/r/20220213195832.27932-6-cristian.marussi@arm.com
Signed-off-by: Cristian Marussi <cristian.marussi@arm.com>
Signed-off-by: Sudeep Holla <sudeep.holla@arm.com>
drivers/firmware/arm_scmi/driver.c
include/linux/scmi_protocol.h