acrn-kernel/drivers/clk
Alexander Stein 74f4471ad6 clk: rs9: Fix suspend/resume
[ Upstream commit 632e04739c ]

Disabling the cache in commit 2ff4ba9e37 ("clk: rs9: Fix I2C accessors")
without removing cache synchronization in resume path results in a
kernel panic as map->cache_ops is unset, due to REGCACHE_NONE.
Enable flat cache again to support resume again. num_reg_defaults_raw
is necessary to read the cache defaults from hardware. Some registers
are strapped in hardware and cannot be provided in software.

Fixes: 2ff4ba9e37 ("clk: rs9: Fix I2C accessors")
Signed-off-by: Alexander Stein <alexander.stein@ew.tq-group.com>
Link: https://lore.kernel.org/r/20230310074940.3475703-1-alexander.stein@ew.tq-group.com
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2023-04-20 12:35:08 +02:00
..
actions
analogbits
at91 ARM: at91: rm9200: fix usb device clock id 2022-11-17 15:35:52 +02:00
axis
axs10x
baikal-t1 clk: baikal-t1: Convert to platform device driver 2022-09-30 14:20:56 -07:00
bcm Here's the main clk pull request for this merge window. We have some 2022-10-08 10:06:48 -07:00
berlin
davinci Merge branches 'clk-fixed-rate', 'clk-spreadtrum', 'clk-pxa' and 'clk-ti' into clk-next 2022-10-04 10:54:14 -07:00
hisilicon
imgtec
imx clk: imx: imx8mp: add shared clk gate for usb suspend clk 2022-12-31 13:33:09 +01:00
ingenic clk: ingenic: jz4760: Update M/N/OD calculation algorithm 2023-02-14 19:11:52 +01:00
keystone
loongson1
mediatek clk: mediatek: fix dependency of MT7986 ADC clocks 2022-12-31 13:32:19 +01:00
meson
microchip clk: microchip: mpfs-ccc: Use devm_kasprintf() for allocating formatted strings 2023-02-14 19:11:50 +01:00
mmp clk: mmp: pxa168: control shared SDH bits with separate clock 2022-09-30 13:34:07 -07:00
mstar
mvebu clk: mvebu: armada-37xx-tbg: Remove the unneeded result variable 2022-09-30 17:46:30 -07:00
mxs
nxp clk: nxp: fix typo in comment 2022-10-03 12:34:32 -07:00
pistachio
pxa clk: pxa: add a check for the return value of kzalloc() 2022-10-03 12:32:03 -07:00
qcom clk: qcom: clk-krait: fix wrong div2 functions 2022-12-31 13:32:21 +01:00
ralink
renesas clk: renesas: rcar-gen3: Disable R-Car H3 ES1.* 2023-03-17 08:50:30 +01:00
rockchip clk: rockchip: Fix memory leak in rockchip_clk_register_pll() 2022-12-31 13:32:15 +01:00
samsung clk: samsung: Fix memory leak in _samsung_clk_register_pll() 2022-12-31 13:32:25 +01:00
sifive clk: sifive: select by default if SOC_SIFIVE 2022-10-17 14:07:11 -07:00
socfpga clk: socfpga: Fix memory leak in socfpga_gate_init() 2022-12-31 13:32:26 +01:00
spear clk: spear: Move prototype to accessible header 2022-10-10 10:37:58 +02:00
sprd clk: sprd: set max_register according to mapping range 2023-04-20 12:35:07 +02:00
st clk: st: Fix memory leak in st_of_quadfs_setup() 2022-12-31 13:33:04 +01:00
starfive
stm32
sunxi
sunxi-ng Here's the main clk pull request for this merge window. We have some 2022-10-08 10:06:48 -07:00
tegra clk: tegra: Fix Tegra PWM parent clock 2022-10-14 13:44:24 -07:00
ti Here's the main clk pull request for this merge window. We have some 2022-10-08 10:06:48 -07:00
uniphier
ux500
versatile
visconti clk: visconti: Fix memory leak in visconti_register_pll() 2022-12-31 13:32:19 +01:00
x86 clk: mxl: syscon_node_to_regmap() returns error pointers 2023-02-25 11:25:39 +01:00
xilinx clk: clocking-wizard: Depend on HAS_IOMEM 2022-10-03 13:27:58 -07:00
zynq
zynqmp
.kunitconfig
Kconfig clk: HI655X: select REGMAP instead of depending on it 2023-03-22 13:33:40 +01:00
Makefile clk: Renesas versaclock7 ccf device driver 2022-09-30 17:34:35 -07:00
clk-apple-nco.c
clk-asm9260.c
clk-aspeed.c
clk-aspeed.h
clk-ast2600.c clk: ast2600: BCLK comes from EPLL 2022-10-03 14:12:15 -07:00
clk-axi-clkgen.c
clk-axm5516.c
clk-bd718x7.c
clk-bm1880.c
clk-bulk.c
clk-cdce706.c
clk-cdce925.c
clk-clps711x.c
clk-composite.c
clk-conf.c
clk-cs2000-cp.c
clk-devres.c
clk-divider.c
clk-en7523.c
clk-fixed-factor.c
clk-fixed-mmio.c
clk-fixed-rate.c
clk-fractional-divider.c
clk-fractional-divider.h
clk-fsl-flexspi.c
clk-fsl-sai.c
clk-gate.c
clk-gate_test.c
clk-gemini.c
clk-gpio.c
clk-hi655x.c
clk-highbank.c
clk-hsdk-pll.c
clk-k210.c
clk-lan966x.c clk: allow building lan966x as a module 2022-10-03 14:14:02 -07:00
clk-lmk04832.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-palmas.c
clk-plldig.c
clk-pwm.c
clk-qoriq.c
clk-renesas-pcie.c clk: rs9: Fix suspend/resume 2023-04-20 12:35:08 +02:00
clk-rk808.c
clk-s2mps11.c
clk-scmi.c
clk-scpi.c
clk-si514.c
clk-si544.c
clk-si570.c
clk-si5341.c
clk-si5351.c
clk-si5351.h
clk-sparx5.c
clk-stm32f4.c
clk-stm32h7.c
clk-stm32mp1.c
clk-tps68470.c
clk-twl6040.c
clk-versaclock5.c Here's the main clk pull request for this merge window. We have some 2022-10-08 10:06:48 -07:00
clk-versaclock7.c Here's the main clk pull request for this merge window. We have some 2022-10-08 10:06:48 -07:00
clk-vt8500.c
clk-wm831x.c
clk-xgene.c clk: clk-xgene: simplify if-if to if-else 2022-10-03 14:13:29 -07:00
clk.c clk: Initialize max_rate in struct clk_rate_request 2022-10-27 17:08:41 -07:00
clk.h
clk_test.c clk: tests: Add tests for notifiers 2022-10-10 20:37:50 -07:00
clkdev.c clkdev: Simplify devm_clk_hw_register_clkdev() function 2022-09-30 14:50:11 -07:00