[PATCH] cpufreq: enable 1200Mhz clock speed for armada-37xx
Andrew Lunn
andrew at lunn.ch
Mon Jun 3 05:46:30 PDT 2024
On Sun, Jun 02, 2024 at 06:26:38PM -0700, Benjamin Schneider wrote:
> This frequency was disabled because of unresolved stability problems.
> However, based on several months of testing, the source of the
> stability problems seems to be the bootloader, not the kernel.
> Marvell has recently merged changes to their bootloader source that
> addresses the stability issues when frequency scaling is enabled at
> all frequencies including 1.2Ghz.
The problem is, most systems don't have the new bootloader. And so if
you enable 1.2GHz, they are going to be unstable.
Rather than making this unconditional, i think it needs to be
conditional on knowing the bootloader has been upgraded. Could you add
code which looks in the DDRPHY and see if 0xC0001004 has the correct
value. Only then enable the additional clock speed.
Andrew
More information about the linux-arm-kernel
mailing list