arm-trusted-firmware/plat/xilinx/common
Madhav Bhatt b3d25dca86 fix(xilinx): avoid unexpected variable update
The commit 50ab13577f ("fix(xilinx): typecast expression to match
data type") introduced a change where the isenabler1 variable is
modified within the loop iterating over GICD_ISENABLER registers.
Instead of computing the offset from the base address for each
register, the offset is accumulated incorrectly, leading to an
incorrect register read.

As a result, some GIC enablers, including the RTC device were missed,
so pm_set_wakeup_source was not called for them and the
suspend-resume use case was failed because of that.

Fix the logic to ensure the correct offset calculation for each
iteration, preserving the intended behavior.

Fixes: 50ab13577f fix(xilinx): typecast expression to match data type
Change-Id: Iec5bafcbde21078545a37259b2cf0353585ef1fa
Signed-off-by: Madhav Bhatt <madhav.bhatt@amd.com>
Signed-off-by: Ronak Jain <ronak.jain@amd.com>
2025-03-06 20:20:41 -08:00
..
include feat(versal2): add support for platform management 2025-02-20 22:23:12 -08:00
ipi_mailbox_service fix(zynqmp): add missing curly braces 2024-12-23 09:04:23 +00:00
pm_service fix(xilinx): avoid unexpected variable update 2025-03-06 20:20:41 -08:00
tsp feat(versal-net): add tsp support 2023-11-02 11:56:32 +05:30
ipi.c fix(xilinx): typecast operands to match data type 2024-12-20 11:01:18 +00:00
plat_clkfunc.c fix(versal): add external declaration 2024-11-05 08:10:17 +00:00
plat_console.c fix(xilinx): runtime console to handle dt failure 2025-02-17 06:11:10 +00:00
plat_fdt.c chore(xilinx): propagate error code 2025-02-17 06:11:10 +00:00
plat_startup.c fix(xilinx): modify function to have single return 2025-01-22 04:07:30 +00:00
versal.c fix(xilinx): modify function to have single return 2025-01-22 04:07:30 +00:00