Commit 3a386e98 authored by Lukasz Luba's avatar Lukasz Luba Committed by Carlos Llamas
Browse files

UPSTREAM: PM: EM: Support late CPUs booting and capacity adjustment



The patch adds needed infrastructure to handle the late CPUs boot, which
might change the previous CPUs capacity values. With this changes the new
CPUs which try to register EM will trigger the needed re-calculations for
other CPUs EMs. Thanks to that the em_per_state::performance values will
be aligned with the CPU capacity information after all CPUs finish the
boot and EM registrations.

Reviewed-by: default avatarDietmar Eggemann <dietmar.eggemann@arm.com>
Tested-by: default avatarDietmar Eggemann <dietmar.eggemann@arm.com>
Signed-off-by: default avatarLukasz Luba <lukasz.luba@arm.com>
Signed-off-by: default avatarRafael J. Wysocki <rafael.j.wysocki@intel.com>

(cherry picked from commit e3f1164f)
Signed-off-by: default avatarLukasz Luba <lukasz.luba@arm.com>
Change-Id: I49821d5b1c711dc66a7ceb4d4660e70d56d895f2
parent 73ee214a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment