mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-20 04:57:52 +07:00
a17b9e4c9c
On the A31, the DMA engine only works if AHB1 is clocked from PLL6.
In addition, the hstimer is clocked from AHB1, and if AHB1 is clocked
from the CPU clock, and cpufreq is working, we get an unstable timer.
Force the AHB1 clock to use PLL6 as its parent. Previously this was done
in the device tree with the assigned-clocks and assigned-clocks-parent
bindings. However with this new monolithic driver, the system critical
clocks aren't exported through the device tree. The alternative is to
force this setting in the driver before the clocks are registered.
This is also done in newer versions of mainline U-boot. But people still
using an older version, or even the vendor version, can still hit this
issue. Hence the need to do it in the kernel as well.
Reported-by: Hans de Goede <hdegoede@redhat.com>
Reported-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Fixes:
|
||
---|---|---|
.. | ||
ccu_common.c | ||
ccu_common.h | ||
ccu_div.c | ||
ccu_div.h | ||
ccu_frac.c | ||
ccu_frac.h | ||
ccu_gate.c | ||
ccu_gate.h | ||
ccu_mp.c | ||
ccu_mp.h | ||
ccu_mult.c | ||
ccu_mult.h | ||
ccu_mux.c | ||
ccu_mux.h | ||
ccu_nk.c | ||
ccu_nk.h | ||
ccu_nkm.c | ||
ccu_nkm.h | ||
ccu_nkmp.c | ||
ccu_nkmp.h | ||
ccu_nm.c | ||
ccu_nm.h | ||
ccu_phase.c | ||
ccu_phase.h | ||
ccu_reset.c | ||
ccu_reset.h | ||
ccu-sun6i-a31.c | ||
ccu-sun6i-a31.h | ||
ccu-sun8i-a23-a33.h | ||
ccu-sun8i-a23.c | ||
ccu-sun8i-a33.c | ||
ccu-sun8i-h3.c | ||
ccu-sun8i-h3.h | ||
Kconfig | ||
Makefile |