Searched hist:"244 f9fb94fb5bfb1bc1bf08ff894c06ad9f567ff" (Results 1 – 1 of 1) sorted by relevance
| /rk3399_ARM-atf/plat/amd/versal2/pm_service/ |
| H A D | pm_svc_main.c | 244f9fb94fb5bfb1bc1bf08ff894c06ad9f567ff Fri Jun 06 07:16:05 UTC 2025 Naman Trivedi <naman.trivedimanojbhai@amd.com> fix(versal2): validate Node ID in PM callback events
The PM_NOTIFY_CB is used to notify both events and errors from the PLM firmware. The values of events and errors can overlap, they can be distinguished using the Node ID, which is included in the callback payload.
Currently, when an EVENT_CPU_PWRDWN notification is received, TF-A powers down cores without validating the Node ID. This leads to incorrect behavior, as TFA powers down cores even when an error occurs that shares the same event value.
Add a Node ID check to differentiate between events and errors to fix this issue.
Change-Id: I65d69731b692928597e47678c684aea2b90b5e6d Signed-off-by: Naman Trivedi <naman.trivedimanojbhai@amd.com>
|