Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 9ff27de6 authored by Pavankumar Kondeti's avatar Pavankumar Kondeti Committed by Gerrit - the friendly Code Review server
Browse files

qcom: hyp_core_ctl: Add support for thermal management



Currently we are honoring the reservation by isolating CPUs. An offline
CPU is considered as reserved since this guest can't use it. However a
CPU can be isolated/offlined by thermal and we shouldn't reserve such
CPU for other guest. Find a replacement CPU and reserve it by isolating it.
When the original CPU is unthrottled by thermal, restore the reservation.

We should also take thermal into consideration when reservation is
not active. i.e hypervisor should be notified about the thermal
condition of a physical CPU which could be used for the other guests.
Handle this by finding a replacement CPU for the originally assigned
CPU which is throttled by thermal.

Change-Id: I4a664353faee13e1b8c7a14047b5e6d841fdf0d4
Signed-off-by: default avatarPavankumar Kondeti <pkondeti@codeaurora.org>
parent 60b79ba2
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment