summaryrefslogtreecommitdiffstats
path: root/drivers/firmware/qcom
diff options
context:
space:
mode:
authorSudeep Holla <sudeep.holla@arm.com>2023-11-13 15:32:52 +0100
committerSudeep Holla <sudeep.holla@arm.com>2023-11-13 15:40:10 +0100
commit619bc6e034f3ec3ab88eba856f2f4ffdec26ea38 (patch)
treea2ac912c55a0928f7fb75b8b376dd23cd6498b0a /drivers/firmware/qcom
parentfirmware: arm_scmi: Check beforehand if the perf domain set operations are al... (diff)
downloadlinux-619bc6e034f3ec3ab88eba856f2f4ffdec26ea38.tar.xz
linux-619bc6e034f3ec3ab88eba856f2f4ffdec26ea38.zip
firmware: arm_scmi: Populate fastchannel info only if set operations are allowed
Certain SCMI performance domains may have restrictions on the set level and/or limits operation. If the SCMI domain supports fastchannel and the set operations are not allowed, then any attempts to fetch the fastchannel information for set level and/or limits operation will result in the SCMI platform returning SCMI_ERR_SUPPORT. However, since this information about the domain is already known to the agent(OSPM here) obtained via PERF_DOMAIN_ATTRIBUTES, the agent(OSPM) can avoid calls to the firmware trying to fetch the fastchannel information for the same. Add those checks and skip querying the fastchannel information from the firmware based on the information collected during the domain enumeration stage. Link: https://lore.kernel.org/r/20231113143252.37160-1-sudeep.holla@arm.com Reviewed-by: Cristian Marussi <cristian.marussi@arm.com> Signed-off-by: Sudeep Holla <sudeep.holla@arm.com>
Diffstat (limited to 'drivers/firmware/qcom')
0 files changed, 0 insertions, 0 deletions