]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
firmware: arm_scmi: Increase performance MAX_OPPS limit to 64
authorVivek Aknurwar <vivek.aknurwar@oss.qualcomm.com>
Tue, 14 Oct 2025 07:34:54 +0000 (00:34 -0700)
committerSudeep Holla <sudeep.holla@arm.com>
Tue, 16 Dec 2025 12:27:26 +0000 (12:27 +0000)
commit6c2fd7a71e7ab490a0a9d591486d923712012f59
treed8d4aeedb0f8e1a4216133e2224b6f9fe12a60cf
parenta3c46c82d8a2075dfe2a2af1431486c8b128e93c
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>
drivers/firmware/arm_scmi/perf.c