mvebu: 5.4 fix DVFS caused random boot crashes
authorRobert Marko <robert.marko@sartura.hr>
Wed, 19 May 2021 11:02:31 +0000 (13:02 +0200)
committerHauke Mehrtens <hauke@hauke-m.de>
Sun, 23 May 2021 14:10:59 +0000 (16:10 +0200)
commitd5ea756c3e906eefba9800bef579337a88a1f4b5
tree80e148023142b92508d0d481913907189209193e
parenta52842a8d05e71ee46eca70c0165518d02674fa2
mvebu: 5.4 fix DVFS caused random boot crashes

5.10.37 and 5.4.119 introduced a lot of DVFS changes for Armada 37xx from 5.13 kernel.

Unfortunately commit:
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/drivers/cpufreq/armada-37xx-cpufreq.c?h=v5.10.37&id=a13b110e7c9e0dc2edcc7a19d4255fc88abd83cc

This patch actually corrects the things so that 1 or 1.2GHz models would actually get scaled to their native frequency.

However, due to a AVS setting voltages too low this will cause random crashes on 1.2GHz models.

So, until a new safe for everybody voltage is agreed on
lets revert the patch.

Fixes: 9d21ecc ("kernel: bump 5.4 to 5.4.119")
Signed-off-by: Robert Marko <robert.marko@sartura.hr>
(cherry picked from commit 080a0b74e39d159eecf69c468debec42f28bf4d8)
target/linux/mvebu/patches-5.4/803-Revert-cpufreq-armada-37xx-Fix-setting-TBG-parent-fo.patch [new file with mode: 0644]