Home
last modified time | relevance | path

Searched hist:a7be2a57b6999d2035655d75b9938770e8ecc5a8 (Results 1 – 2 of 2) sorted by relevance

/rk3399_ARM-atf/include/lib/psci/
H A Dpsci_lib.ha7be2a57b6999d2035655d75b9938770e8ecc5a8 Thu May 29 13:55:39 UTC 2025 Manish V Badarkhe <Manish.Badarkhe@arm.com> feat(psci): add API to get number of CPUs currently in ON state

Introduce a new PSCI helper function `psci_num_cpus_running_on_safe()`
to return the number of CPUs that are currently in the ON state.
This API locks the PSCI power state data to ensure consistency and
is safe to call in concurrent environments.

This utility can assist components that need to reason about system
CPU activity or coordinate operations based on active CPUs.

Change-Id: Ie15aa4bd393a5f01e7cd80ae8a9b28707fde7c53
Signed-off-by: Manish V Badarkhe <Manish.Badarkhe@arm.com>
/rk3399_ARM-atf/lib/psci/
H A Dpsci_common.ca7be2a57b6999d2035655d75b9938770e8ecc5a8 Thu May 29 13:55:39 UTC 2025 Manish V Badarkhe <Manish.Badarkhe@arm.com> feat(psci): add API to get number of CPUs currently in ON state

Introduce a new PSCI helper function `psci_num_cpus_running_on_safe()`
to return the number of CPUs that are currently in the ON state.
This API locks the PSCI power state data to ensure consistency and
is safe to call in concurrent environments.

This utility can assist components that need to reason about system
CPU activity or coordinate operations based on active CPUs.

Change-Id: Ie15aa4bd393a5f01e7cd80ae8a9b28707fde7c53
Signed-off-by: Manish V Badarkhe <Manish.Badarkhe@arm.com>