firmware: arm_scmi: Support optional system wide atomic-threshold-us
authorCristian Marussi <cristian.marussi@arm.com>
Thu, 17 Feb 2022 13:12:31 +0000 (13:12 +0000)
committerSudeep Holla <sudeep.holla@arm.com>
Mon, 21 Feb 2022 10:36:48 +0000 (10:36 +0000)
commit05976c5f3bff8f8b5230da4b39f7cd6dfba9943e
tree9cfd3e8ead33cb6b8e36cd99fd137f144e090f17
parent0539884ccc8ad4b94e78c8c7705058af1cf9307f
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/20220217131234.50328-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