Searched hist:a6dd46ae06f12010347364def6f8d26e1b0442d9 (Results 1 – 1 of 1) sorted by relevance
| /rk3399_ARM-atf/plat/xilinx/common/pm_service/ |
| H A D | pm_svc_main.c | a6dd46ae06f12010347364def6f8d26e1b0442d9 Fri Jun 06 06:58:53 UTC 2025 Naman Trivedi <naman.trivedimanojbhai@amd.com> fix(xilinx): 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: I4b92e0e1dac0c41a39f98efdf545bda7d64acba8 Signed-off-by: Naman Trivedi <naman.trivedimanojbhai@amd.com>
|