]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
pmdomain: arm: Avoid polling for scmi_perf_domain
authorUlf Hansson <ulf.hansson@linaro.org>
Mon, 27 Nov 2023 13:50:33 +0000 (14:50 +0100)
committerUlf Hansson <ulf.hansson@linaro.org>
Mon, 27 Nov 2023 15:28:20 +0000 (16:28 +0100)
commit0cb19e50a911aaadf49eed120392e429d6e1fa0c
tree6a0c0b9a9cb6d817afc9e331aa29942c15f6b7df
parent98b1cc82c4affc16f5598d4fa14b1858671b2263
pmdomain: arm: Avoid polling for scmi_perf_domain

It was a mistake to prefer polling based mode when setting a performance
level for a domain. Let's instead rely on the protocol to decide what is
best and thus avoid polling when possible.

Reported-by: Nikunj Kela <nkela@quicinc.com>
Fixes: 2af23ceb8624 ("pmdomain: arm: Add the SCMI performance domain")
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Reviewed-by: Sudeep Holla <sudeep.holla@arm.com>
Link: https://lore.kernel.org/r/20231127135033.136442-1-ulf.hansson@linaro.org
drivers/pmdomain/arm/scmi_perf_domain.c