Skip to content
Commit 5d8a7662 authored by Cristian Marussi's avatar Cristian Marussi Committed by Ulf Hansson
Browse files

firmware: arm_scmi: Skip opp duplicates



Buggy firmware can reply with duplicated PERF opps descriptors.

Ensure that the bad duplicates reported by the platform firmware doesn't
get added to the opp-tables.

Reported-by: default avatarJohan Hovold <johan+linaro@kernel.org>
Closes: https://lore.kernel.org/lkml/ZoQjAWse2YxwyRJv@hovoldconsulting.com/


Signed-off-by: Cristian Marussi's avatarCristian Marussi <cristian.marussi@arm.com>
Tested-by: default avatarJohan Hovold <johan+linaro@kernel.org>
Reviewed-by: Sudeep Holla's avatarSudeep Holla <sudeep.holla@arm.com>
Cc: stable@vger.kernel.org
Message-ID: <20241030125512.2884761-3-quic_sibis@quicinc.com>
Signed-off-by: default avatarUlf Hansson <ulf.hansson@linaro.org>
parent f7c7c5aa
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment