linux-stable/drivers/soc
Jason A. Donenfeld 292fddfd52 ARM: ux500: do not directly dereference __iomem
commit 65b0e307a1 upstream.

Sparse reports that calling add_device_randomness() on `uid` is a
violation of address spaces. And indeed the next usage uses readl()
properly, but that was left out when passing it toadd_device_
randomness(). So instead copy the whole thing to the stack first.

Fixes: 4040d10a3d ("ARM: ux500: add DB serial number to entropy pool")
Cc: Linus Walleij <linus.walleij@linaro.org>
Cc: stable@vger.kernel.org
Link: https://lore.kernel.org/all/202210230819.loF90KDh-lkp@intel.com/
Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Link: https://lore.kernel.org/r/20221108123755.207438-1-Jason@zx2c4.com
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2023-01-07 11:15:45 +01:00
..
actions
amlogic soc: amlogic: Fix refcount leak in meson-secure-pwrc.c 2022-06-17 09:40:40 +02:00
apple soc: apple: rtkit: Stop casting function pointer signatures 2022-12-31 13:25:40 +01:00
aspeed
atmel ARM: at91: fix soc detection for SAM9X60 SiPs 2022-06-28 12:55:32 +03:00
bcm soc: bcm: brcmstb: biuctrl: Avoid double of_node_put() 2022-09-15 14:30:29 -07:00
canaan
dove
fsl soc: fsl: select FSL_GUTS driver for DPIO 2022-09-02 11:28:40 +02:00
fujitsu soc: a64fx-diag: disable modular build 2022-07-20 17:58:18 +02:00
gemini
imx soc: imx8m: Enable OCOTP clock before reading the register 2022-11-26 09:27:34 +01:00
ixp4xx soc: ixp4xx/npe: Fix unused match warning 2022-07-01 15:14:26 +02:00
lantiq
litex
mediatek soc: mediatek: pm-domains: Fix the power glitch issue 2022-12-31 13:26:39 +01:00
microchip ARM driver updates for 5.18 2022-03-23 18:23:13 -07:00
pxa ARM: pxa: move plat-pxa to drivers/soc/ 2022-05-07 22:56:16 +02:00
qcom soc: qcom: Select REMAP_MMIO for ICC_BWMON driver 2023-01-07 11:15:43 +01:00
renesas soc: renesas: rcar-sysc: Optimize rcar_sysc_area struct sizes 2022-06-13 11:43:50 +02:00
rockchip Refcount leak for a used of-node in the grf-init. 2022-05-27 22:19:48 +02:00
samsung MAINTAINERS: update Krzysztof Kozlowski's email 2022-03-07 23:46:03 +01:00
sifive
sunxi soc: sunxi: sram: Fix debugfs info for A64 SRAM C 2022-09-08 22:28:42 +02:00
tegra soc/tegra: fuse: Drop Kconfig dependency on TEGRA20_APB_DMA 2022-10-21 12:38:34 +02:00
ti soc: ti: smartreflex: Fix PM disable depth imbalance in omap_sr_probe 2022-12-31 13:25:38 +01:00
ux500 ARM: ux500: do not directly dereference __iomem 2023-01-07 11:15:45 +01:00
versatile
xilinx firmware: xilinx: Add TF_A_PM_REGISTER_SGI SMC call 2022-06-29 14:46:22 +02:00
Kconfig soc: fujitsu: Add A64FX diagnostic interrupt driver 2022-07-18 13:37:08 +02:00
Makefile soc: fujitsu: Add A64FX diagnostic interrupt driver 2022-07-18 13:37:08 +02:00