arm-trusted-firmware/plat
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
..
allwinner refactor: panic after calling psci_power_down_wfi() 2025-02-03 14:29:47 +00:00
amd feat(versal2): extended SMCCC payload for EEMI 2025-02-21 07:31:47 +01:00
amlogic chore(docs): drop the "wfi" from pwr_domain_pwr_down_wfi 2025-02-03 14:29:47 +00:00
arm Merge "feat(spm_mm): move mm_communication header define to general header" into integration 2025-03-06 23:36:19 +01:00
aspeed/ast2700 fix(ast2700): fix mpll calculate statement 2024-08-01 14:55:15 +08:00
brcm refactor(console): consolidate console runtime switch 2024-05-08 15:50:58 +02:00
common perf(psci): get PMF timestamps with no cache flushes if possible 2025-02-25 08:51:24 +00:00
hisilicon fix(build): ensure $(ROT_KEY) depends on correct directory rules 2024-11-12 12:50:45 +00:00
imx Merge changes from topic "imx8mq_build_fix" into integration 2025-02-12 09:26:36 +01:00
intel/soc Merge "feat(intel): add FDT support for Altera products" into integration 2025-02-24 17:10:17 +01:00
marvell Merge changes I32bd0c71,I167e7398 into integration 2025-02-12 16:25:49 +01:00
mediatek feat(mt8196): fix MT8196 gpio driver 2025-02-27 16:10:45 +08:00
nuvoton chore(docs): drop the "wfi" from pwr_domain_pwr_down_wfi 2025-02-03 14:29:47 +00:00
nvidia/tegra chore(docs): drop the "wfi" from pwr_domain_pwr_down_wfi 2025-02-03 14:29:47 +00:00
nxp chore(docs): drop the "wfi" from pwr_domain_pwr_down_wfi 2025-02-03 14:29:47 +00:00
qemu refactor(cpus): register DSU errata with the errata framework's wrappers 2025-02-20 17:28:17 +00:00
qti chore(docs): drop the "wfi" from pwr_domain_pwr_down_wfi 2025-02-03 14:29:47 +00:00
renesas chore(docs): drop the "wfi" from pwr_domain_pwr_down_wfi 2025-02-03 14:29:47 +00:00
rockchip Merge "feat(rk3576): support rk3576" into integration 2025-02-25 21:53:45 +01:00
rpi chore(docs): drop the "wfi" from pwr_domain_pwr_down_wfi 2025-02-03 14:29:47 +00:00
socionext chore(docs): drop the "wfi" from pwr_domain_pwr_down_wfi 2025-02-03 14:29:47 +00:00
st Merge changes I5aabe415,Ief6fb4fc into integration 2025-02-27 16:21:14 +01:00
ti/k3 feat(ti): implement DM_MANAGED suspend 2024-10-31 10:50:29 +01:00
xilinx fix(xilinx): avoid unexpected variable update 2025-03-06 20:20:41 -08:00