OrangePi_CM5/drivers/clk
Maxime Ripard 9b4e849777 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:25:54 +02:00
..
actions clk: actions: Terminate clk_div_table with sentinel element 2022-04-08 14:40:26 +02:00
analogbits
…
at91 clk: at91: generated: consider range when calculating best rate 2022-05-25 09:17:58 +02:00
axis
…
axs10x
…
baikal-t1 clk: baikal-t1: Add SATA internal ref clock buffer 2022-10-26 13:25:39 +02:00
bcm clk: bcm2835: Make peripheral PLLC critical 2022-10-26 13:25:54 +02:00
berlin clk: berlin: Add of_node_put() for of_get_parent() 2022-10-26 13:25:31 +02:00
davinci This pull request contains zero diff to the core framework. It is a collection 2020-10-22 12:53:28 -07:00
h8300
…
hisilicon
…
imgtec
…
imx clk: imx: imx6sx: remove the SET_RATE_PARENT flag for QSPI clocks 2022-10-05 10:38:42 +02:00
ingenic clk: ingenic-tcu: Properly enable registers before accessing timers 2022-10-05 10:38:38 +02:00
keystone treewide: Change list_sort to use const pointers 2021-09-30 10:11:04 +02:00
loongson1 clk: loongson1: Terminate clk_div_table with sentinel element 2022-04-08 14:40:26 +02:00
mediatek clk: mediatek: mt8183: mfgcfg: Propagate rate changes to parent 2022-10-26 13:25:39 +02:00
meson clk: meson: Hold reference returned by of_get_parent() 2022-10-26 13:25:31 +02:00
microchip
…
mmp clk: mmp2: fix build without CONFIG_PM 2021-02-03 23:28:44 +01:00
mvebu clk: mvebu: ap-cpu-clk: Fix a memory leak in error handling paths 2021-11-18 14:04:14 +01:00
mxs
…
nxp
…
pistachio
…
pxa clk: pxa: Constify static struct clk_ops 2020-10-13 19:49:11 -07:00
qcom clk: qcom: apss-ipq6018: mark apcs_alias0_core_clk as critical 2022-10-26 13:25:37 +02:00
renesas clk: renesas: r9a06g032: Fix UART clkgrp bitsel 2022-08-21 15:15:52 +02:00
rockchip clk: rockchip: drop GRF dependency for rk3328/rk3036 pll types 2021-09-18 13:40:11 +02:00
samsung clk: exynos7: Mark aclk_fsys1_200 as critical 2021-05-19 10:13:19 +02:00
sifive
…
sirf clk: clk-prima2: fix return value check in prima2_clk_init() 2020-10-13 19:54:30 -07:00
socfpga clk: socfpga: agilex: fix duplicate s2f_user0_clk 2021-10-20 11:44:58 +02:00
spear
…
sprd clk: sprd: Hold reference returned by of_get_parent() 2022-10-26 13:25:31 +02:00
st
…
sunxi clk: sunxi: sun9i-mmc: check return value after calling platform_get_resource() 2022-05-09 09:05:04 +02:00
sunxi-ng clk: sunxi-ng: h6: Fix clock divider range on some clocks 2021-03-04 11:37:58 +01:00
tegra clk: tegra20: Fix refcount leak in tegra20_clock_init 2022-10-26 13:25:32 +02:00
ti clk: ti: dra7-atl: Fix reference leak in of_dra7_atl_clk_probe 2022-10-26 13:25:40 +02:00
uniphier clk: uniphier: Fix fixed-rate initialization 2022-04-08 14:39:50 +02:00
ux500
…
versatile
…
x86
…
zte
…
zynq
…
zynqmp clk: zynqmp: pll: rectify rate rounding in zynqmp_pll_round_rate 2022-10-26 13:25:52 +02:00
Kconfig Merge branches 'clk-ingenic', 'clk-at91', 'clk-kconfig', 'clk-imx', 'clk-qcom', 'clk-prima2' and 'clk-bcm' into clk-next 2020-10-20 11:47:07 -07:00
Makefile
…
clk-asm9260.c
…
clk-aspeed.c
…
clk-aspeed.h
…
clk-ast2600.c clk: ast2600: BCLK comes from EPLL 2022-10-26 13:25:40 +02:00
clk-axi-clkgen.c clk: axi-clkgen: Set power bits for fractional mode 2020-10-13 19:44:40 -07:00
clk-axm5516.c
…
clk-bd718x7.c
…
clk-bm1880.c clk: bm1880: remove kfrees on static allocations 2022-01-27 10:54:09 +01:00
clk-bulk.c
…
clk-cdce706.c
…
clk-cdce925.c
…
clk-clps711x.c clk: clps711x: Terminate clk_div_table with sentinel element 2022-04-08 14:40:26 +02:00
clk-composite.c
…
clk-conf.c
…
clk-cs2000-cp.c
…
clk-devres.c clk: fix leak on devm_clk_bulk_get_all() unwind 2021-08-12 13:22:11 +02:00
clk-divider.c clk: divider: fix initialization with parent_hw 2021-03-04 11:38:06 +01:00
clk-efm32gg.c
…
clk-fixed-factor.c clk: fixed: add missing kerneldoc 2020-09-22 12:44:14 -07:00
clk-fixed-mmio.c
…
clk-fixed-rate.c clk: fixed: add missing kerneldoc 2020-09-22 12:44:14 -07:00
clk-fractional-divider.c
…
clk-fsl-sai.c clk: fsl-sai: fix memory leak 2020-12-30 11:53:42 +01:00
clk-gate.c
…
clk-gemini.c
…
clk-gpio.c
…
clk-hi655x.c
…
clk-highbank.c
…
clk-hsdk-pll.c
…
clk-lochnagar.c
…
clk-max9485.c
…
clk-max77686.c
…
clk-milbeaut.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:25:31 +02:00
clk-palmas.c
…
clk-plldig.c
…
clk-pwm.c
…
clk-qoriq.c clk: qoriq: Hold reference returned by of_get_parent() 2022-10-26 13:25:31 +02:00
clk-rk808.c
…
clk-s2mps11.c clk: s2mps11: Fix a resource leak in error handling paths in the probe function 2020-12-30 11:54:01 +01:00
clk-scmi.c
…
clk-scpi.c
…
clk-si514.c
…
clk-si544.c
…
clk-si570.c
…
clk-si5341.c clk: si5341: fix reported clk_rate when output divider is 2 2022-04-13 21:01:01 +02:00
clk-si5351.c
…
clk-si5351.h
…
clk-sparx5.c
…
clk-stm32f4.c clk: stm32: Fix ltdc's clock turn off by clk_disable_unused() after system enter shell 2022-01-27 10:54:07 +01:00
clk-stm32h7.c
…
clk-stm32mp1.c
…
clk-tango4.c
…
clk-twl6040.c
…
clk-u300.c
…
clk-versaclock5.c clk: vc5: Fix 5P49V6901 outputs disabling when enabling FOD 2022-10-26 13:25:39 +02:00
clk-vt8500.c
…
clk-wm831x.c
…
clk-xgene.c
…
clk.c clk: core: Fix runtime PM sequence in clk_core_unprepare() 2022-09-08 11:11:38 +02:00
clk.h
…
clkdev.c
…