android_kernel_xiaomi_sm7250/drivers/clk
Maxime Ripard 049875181d clk: bcm2835: Make peripheral PLLC critical
[ Upstream commit 6c5422851d8be8c7451e968fd2e6da41b6109e17 ]

When testing for a series affecting the VEC, it was discovered that
turning off and on the VEC clock is crashing the system.

It turns out that, when disabling the VEC clock, it's the only child of
the PLLC-per clock which will also get disabled. The source of the crash
is PLLC-per being disabled.

It's likely that some other device might not take a clock reference that
it actually needs, but it's unclear which at this point. Let's make
PLLC-per critical so that we don't have that crash.

Reported-by: Noralf Trønnes <noralf@tronnes.org>
Signed-off-by: Maxime Ripard <maxime@cerno.tech>
Link: https://lore.kernel.org/r/20220926084509.12233-1-maxime@cerno.tech
Reviewed-by: Stefan Wahren <stefan.wahren@i2se.com>
Acked-by: Noralf Trønnes <noralf@tronnes.org>
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2022-10-26 13:19:41 +02:00
..
actions clk: actions: Terminate clk_div_table with sentinel element 2022-04-15 14:14:52 +02:00
at91 clk: at91: generated: consider range when calculating best rate 2022-05-25 09:10:39 +02:00
axis
axs10x
bcm clk: bcm2835: Make peripheral PLLC critical 2022-10-26 13:19:41 +02:00
berlin clk: berlin: Add of_node_put() for of_get_parent() 2022-10-26 13:19:30 +02:00
davinci
h8300
hisilicon
imgtec
imx
ingenic
keystone
loongson1 clk: loongson1: Terminate clk_div_table with sentinel element 2022-04-15 14:14:52 +02:00
mediatek
meson
microchip
mmp
mvebu clk: kirkwood: Fix a clocking boot regression 2021-09-22 11:47:57 +02:00
mxs
nxp
pistachio
pxa
qcom clk: qcom: ipq8074: dont disable gcc_sleep_clk_src 2022-08-25 11:15:43 +02:00
renesas clk: renesas: r9a06g032: Fix UART clkgrp bitsel 2022-08-25 11:15:13 +02:00
rockchip
samsung clk: exynos7: Mark aclk_fsys1_200 as critical 2021-05-22 10:59:47 +02:00
sirf
socfpga clk: socfpga: arria10: Fix memory leak of socfpga_clk on error return 2021-05-22 10:59:17 +02:00
spear
sprd
st
sunxi clk: sunxi: sun9i-mmc: check return value after calling platform_get_resource() 2022-05-12 12:20:22 +02:00
sunxi-ng clk: sunxi-ng: h6: Fix clock divider range on some clocks 2021-03-04 09:39:44 +01:00
tegra clk: tegra20: Fix refcount leak in tegra20_clock_init 2022-10-26 13:19:30 +02:00
ti clk: ti: dra7-atl: Fix reference leak in of_dra7_atl_clk_probe 2022-10-26 13:19:34 +02:00
uniphier clk: uniphier: Fix fixed-rate initialization 2022-04-15 14:14:38 +02:00
ux500
versatile
x86
zte
zynq
clk-asm9260.c
clk-aspeed.c
clk-axi-clkgen.c
clk-axm5516.c
clk-bulk.c
clk-cdce706.c
clk-cdce925.c
clk-clps711x.c clk: clps711x: Terminate clk_div_table with sentinel element 2022-04-15 14:14:52 +02:00
clk-composite.c
clk-conf.c
clk-cs2000-cp.c
clk-devres.c
clk-divider.c
clk-efm32gg.c
clk-fixed-factor.c
clk-fixed-rate.c
clk-fractional-divider.c
clk-gate.c
clk-gemini.c
clk-gpio.c
clk-hi655x.c
clk-highbank.c
clk-hsdk-pll.c
clk-max9485.c
clk-max77686.c
clk-moxart.c
clk-multiplier.c
clk-mux.c
clk-nomadik.c
clk-npcm7xx.c
clk-nspire.c
clk-oxnas.c clk: oxnas: Hold reference returned by of_get_parent() 2022-10-26 13:19:30 +02:00
clk-palmas.c
clk-pwm.c
clk-qoriq.c
clk-rk808.c
clk-s2mps11.c
clk-scmi.c
clk-scpi.c
clk-si514.c
clk-si544.c
clk-si570.c
clk-si5351.c
clk-si5351.h
clk-stm32f4.c clk: stm32f4: fix post divisor setup for I2S/SAI PLLs 2021-08-12 13:19:39 +02:00
clk-stm32h7.c
clk-stm32mp1.c
clk-tango4.c
clk-twl6040.c
clk-u300.c
clk-versaclock5.c
clk-vt8500.c
clk-wm831x.c
clk-xgene.c
clk.c clk: core: Fix runtime PM sequence in clk_core_unprepare() 2022-09-15 12:17:03 +02:00
clk.h
clkdev.c
Kconfig
Makefile