aboutsummaryrefslogtreecommitdiffstats
path: root/lib/mpi/mpi-mod.c
diff options
context:
space:
mode:
authorHarini T <[email protected]>2025-07-30 14:21:10 +0000
committerAlexandre Belloni <[email protected]>2025-10-05 21:17:46 +0000
commite22f4d1321e0055065f274e20bf6d1dbf4b500f5 (patch)
treebc2b407c96ab8254938eb05bc982c67ae60aa5e0 /lib/mpi/mpi-mod.c
parentrtc: amlogic-a4: Optimize global variables (diff)
downloadkernel-e22f4d1321e0055065f274e20bf6d1dbf4b500f5.tar.gz
kernel-e22f4d1321e0055065f274e20bf6d1dbf4b500f5.zip
rtc: zynqmp: Restore alarm functionality after kexec transition
During kexec reboots, RTC alarms that are fired during the kernel transition experience delayed execution. The new kernel would eventually honor these alarms, but the interrupt handlers would only execute after the driver probe is completed rather than at the intended alarm time. This is because pending alarm interrupt status from the previous kernel is not properly cleared during driver initialization, causing timing discrepancies in alarm delivery. To ensure precise alarm timing across kexec transitions, enhance the probe function to: 1. Clear any pending alarm interrupt status from previous boot. 2. Detect existing valid alarms and preserve their state. 3. Re-enable alarm interrupts for future alarms. Signed-off-by: Harini T <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Alexandre Belloni <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-mod.c')
0 files changed, 0 insertions, 0 deletions