Skip to content

Commit 6c2fd7a

Browse files
vivekaknurwarsudeep-holla
authored andcommitted
firmware: arm_scmi: Increase performance MAX_OPPS limit to 64
Some platforms expose more than 32 operating performance points (OPPs) per performance domain via the SCMI performance protocol, but the driver currently limits the number of OPPs it can handle to 32 via MAX_OPPS. Bump MAX_OPPS to 64 so that these platforms can register all their performance levels. This is an internal limit in the driver only and does not affect the SCMI protocol ABI. 64 is chosen as the next power of two above the existing limit. Signed-off-by: Vivek Aknurwar <vivek.aknurwar@oss.qualcomm.com> Reviewed-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com> Reviewed-by: Alexey Klimov <alexey.klimov@linaro.org> Message-Id: <20251014073454.461999-1-vivek.aknurwar@oss.qualcomm.com> (sudeep.holla: Updated commit log to reflect driver limitation rather than spec) Signed-off-by: Sudeep Holla <sudeep.holla@arm.com>
1 parent a3c46c8 commit 6c2fd7a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • drivers/firmware/arm_scmi

drivers/firmware/arm_scmi/perf.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
/* Updated only after ALL the mandatory features for that version are merged */
2828
#define SCMI_PROTOCOL_SUPPORTED_VERSION 0x40000
2929

30-
#define MAX_OPPS 32
30+
#define MAX_OPPS 64
3131

3232
enum scmi_performance_protocol_cmd {
3333
PERF_DOMAIN_ATTRIBUTES = 0x3,

0 commit comments

Comments
 (0)