linux-stable/drivers/soc
Luca Weiss 749d56bd5c soc: qcom: rmtfs: handle optional qcom,vmid correctly
Older platforms don't have qcom,vmid set, handle -EINVAL return value
correctly. And since num_vmids is passed to of_property_read_u32_array
later we should make sure it has a sane value before continuing.

Fixes: e656cd0bcf ("soc: qcom: rmtfs: Optionally map RMTFS to more VMs")
Signed-off-by: Luca Weiss <luca@z3ntu.xyz>
Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org>
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Link: https://lore.kernel.org/r/20230305-rmtfs-vmid-fix-v1-2-6a7206081602@z3ntu.xyz
2023-03-06 20:13:06 -08:00
..
actions
amlogic soc: amlogic: meson-pwrc: Add NNA power domain for A311D 2023-01-02 11:32:53 +01:00
apple soc: apple: rtkit: Do not copy the reg state structure to the stack 2023-02-13 20:20:34 +01:00
aspeed
atmel ARM: at91: add support in soc driver for new SAMA7G54 SiPs 2023-01-09 13:58:02 +02:00
bcm soc: bcm: bcm2835-power: Drop empty platform remove function 2023-01-10 13:46:28 -08:00
canaan
dove
fsl
fujitsu
gemini
imx ARM: SoC drivers for 6.3 2023-02-27 10:04:49 -08:00
ixp4xx ARM: ixp4xx: Replace 0-length arrays with flexible arrays 2023-01-19 15:18:19 -08:00
lantiq
litex
loongson
mediatek soc: mediatek: mtk-svs: add missing MODULE_DEVICE_TABLE 2023-02-01 14:35:12 +01:00
microchip
nuvoton soc: nuvoton: Add SoC info driver for WPCM450 2023-02-01 17:11:36 +01:00
pxa
qcom soc: qcom: rmtfs: handle optional qcom,vmid correctly 2023-03-06 20:13:06 -08:00
renesas ARM: SoC drivers for 6.3 2023-02-27 10:04:49 -08:00
rockchip
samsung soc: s3c: remove pm-debug hack 2023-01-16 09:26:06 +01:00
sifive
starfive soc: starfive: Add StarFive JH71XX pmu driver 2023-01-20 21:55:59 +00:00
sunxi soc: sunxi: SUN20I_PPU should depend on PM 2023-02-10 17:42:25 +01:00
tegra
ti ARM: omap2: smartreflex: remove on_init control 2023-01-09 17:00:54 +01:00
ux500
versatile
xilinx firmware: xilinx: Remove kernel-doc marking in the code 2023-01-05 10:18:07 +01:00
Kconfig soc: nuvoton: Add SoC info driver for WPCM450 2023-02-01 17:11:36 +01:00
Makefile soc: nuvoton: Add SoC info driver for WPCM450 2023-02-01 17:11:36 +01:00