Re: [PATCH] soc: samsung: exynos-pmu: order pmu_base_addr before the pmu_context gate

From: Krzysztof Kozlowski

Date: Sat Oct 03 2026 - 09:47:29 EST



On Mon, 21 Sep 2026 21:07:23 -0400, Jaidev Shastri wrote:
> exynos_sys_powerdown_conf() returns early while pmu_context is NULL and
> otherwise programs the PMU through pmu_raw_writel(), which uses the
> separate global pmu_base_addr. exynos_pmu_probe() maps pmu_base_addr and
> stores pmu_context afterwards, both with plain stores, and the reader
> loads both plainly.
>
> Neither the two stores nor the two loads are ordered. The callers are
> the Exynos cpuidle AFTR path and the suspend path on 32-bit Exynos,
> which run on other CPUs, so a caller that sees pmu_context before
> pmu_base_addr writes the power-down configuration through a NULL base.
>
> [...]

Applied, thanks!

[1/1] soc: samsung: exynos-pmu: order pmu_base_addr before the pmu_context gate
https://git.kernel.org/krzk/linux/c/682df6e2330123019fcdb9f6122f34a395082356

Best regards,
--
Krzysztof Kozlowski <krzk@xxxxxxxxxx>