| f08dcf5e | 08-Apr-2025 |
Jay Buddhabhatti <jay.buddhabhatti@amd.com> |
fix(versal2): initialize counter-timer frequency register
During initialization CNTFRQ_EL0 value is not getting updated and its remaining 0. Because of that Linux is not able to get system timer fre
fix(versal2): initialize counter-timer frequency register
During initialization CNTFRQ_EL0 value is not getting updated and its remaining 0. Because of that Linux is not able to get system timer frequency and cpu idle with cpu power down state is not working. So update CNTFRQ_EL0 value during initialization.
Change-Id: I238f67521bbc338c433ce18f60df51efc4c5f387 Signed-off-by: Jay Buddhabhatti <jay.buddhabhatti@amd.com>
show more ...
|
| f2ae203a | 08-Apr-2025 |
Jay Buddhabhatti <jay.buddhabhatti@amd.com> |
fix(versal2): use common function to get system counter frequency
Currently, the IOU_SCNTR system counter frequency value is not read from plat_get_syscnt_freq2(), and it returns the local cpu_freq,
fix(versal2): use common function to get system counter frequency
Currently, the IOU_SCNTR system counter frequency value is not read from plat_get_syscnt_freq2(), and it returns the local cpu_freq, which is incorrect. Use the common plat_get_syscnt_freq2() to read the IOU_SCNTR frequency register and return the correct value.
Change-Id: I277dc6a2e4acd1acd3f048aaf242a3580d06e1c8 Signed-off-by: Jay Buddhabhatti <jay.buddhabhatti@amd.com>
show more ...
|