linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/1] firmware: arm_scmi: Increase MAX_OPPS to 64
@ 2025-10-14  7:34 Vivek Aknurwar
  2025-10-14  7:51 ` Konrad Dybcio
                   ` (2 more replies)
  0 siblings, 3 replies; 11+ messages in thread
From: Vivek Aknurwar @ 2025-10-14  7:34 UTC (permalink / raw)
  To: sudeep.holla, cristian.marussi
  Cc: linux-kernel, linux-arm-kernel, linux-arm-msm, mike.tipton,
	Vivek Aknurwar

Some upcoming SoCs define more than 32 operating performance points (OPPs),
exceeding the current SCMI protocol limit. Increase MAX_OPPS to 64
(next power of 2) to support these configurations.

Signed-off-by: Vivek Aknurwar <vivek.aknurwar@oss.qualcomm.com>
---
 drivers/firmware/arm_scmi/perf.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/firmware/arm_scmi/perf.c b/drivers/firmware/arm_scmi/perf.c
index 683fd9b85c5c..2249ef7fe790 100644
--- a/drivers/firmware/arm_scmi/perf.c
+++ b/drivers/firmware/arm_scmi/perf.c
@@ -27,7 +27,7 @@
 /* Updated only after ALL the mandatory features for that version are merged */
 #define SCMI_PROTOCOL_SUPPORTED_VERSION		0x40000
 
-#define MAX_OPPS		32
+#define MAX_OPPS		64
 
 enum scmi_performance_protocol_cmd {
 	PERF_DOMAIN_ATTRIBUTES = 0x3,
-- 
2.34.1



^ permalink raw reply related	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2026-01-01 17:57 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-10-14  7:34 [PATCH 1/1] firmware: arm_scmi: Increase MAX_OPPS to 64 Vivek Aknurwar
2025-10-14  7:51 ` Konrad Dybcio
2025-12-10 23:28 ` Vivek Aknurwar
2025-12-11  9:50   ` Sudeep Holla
2025-12-11 13:14   ` Alexey Klimov
2025-12-11 13:48     ` Sudeep Holla
2025-12-11 13:54       ` Alexey Klimov
2025-12-11 14:07         ` Sudeep Holla
2025-12-11 14:25           ` Alexey Klimov
2025-12-15 22:19             ` Vivek Aknurwar
2026-01-01 17:57 ` Sudeep Holla

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).