public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH RFC/RFT 00/12] clk: samsung: Use platform_driver_probe() to avoid __refdata
@ 2025-03-05 21:43 Krzysztof Kozlowski
  2025-03-05 21:43 ` [PATCH RFC/RFT 01/12] clk: samsung: exynos2200: " Krzysztof Kozlowski
                   ` (12 more replies)
  0 siblings, 13 replies; 17+ messages in thread
From: Krzysztof Kozlowski @ 2025-03-05 21:43 UTC (permalink / raw)
  To: Krzysztof Kozlowski, Sylwester Nawrocki, Chanwoo Choi,
	Alim Akhtar, Michael Turquette, Stephen Boyd, Sam Protsenko,
	Peter Griffin, André Draszik, Tudor Ambarus
  Cc: linux-samsung-soc, linux-clk, linux-arm-kernel, linux-kernel,
	Krzysztof Kozlowski

RFT/RFC because testing needed. I tried to do the same on exynos5-subcmu
and it caused weird oopses which even KASAN did not narrow. Probably
because of multiple exynos5-subcmu devices?

Switch registering platform driver to platform_driver_probe(), so the
'struct platform_driver' can be properly discarded after init and there
won't be need of __refdata to silence DEBUG_SECTION_MISMATCH.

The change requires using subsys_initcall instead of core_initcall,
because no device drivers would bound in the latter, as required by
platform_driver_probe().

Best regards,
Krzysztof

---
Krzysztof Kozlowski (12):
      clk: samsung: exynos2200: Use platform_driver_probe() to avoid __refdata
      clk: samsung: exynos4412-isp: Use platform_driver_probe() to avoid __refdata
      clk: samsung: exynos5433: Use platform_driver_probe() to avoid __refdata
      clk: samsung: exynos7870: Use platform_driver_probe() to avoid __refdata
      clk: samsung: exynos7885: Use platform_driver_probe() to avoid __refdata
      clk: samsung: exynos850: Use platform_driver_probe() to avoid __refdata
      clk: samsung: exynos8895: Use platform_driver_probe() to avoid __refdata
      clk: samsung: exynos990: Use platform_driver_probe() to avoid __refdata
      clk: samsung: exynosautov9: Use platform_driver_probe() to avoid __refdata
      clk: samsung: exynosautov920: Use platform_driver_probe() to avoid __refdata
      clk: samsung: fsd: Use platform_driver_probe() to avoid __refdata
      clk: samsung: gs101: Use platform_driver_probe() to avoid __refdata

 drivers/clk/samsung/clk-exynos2200.c     | 7 +++----
 drivers/clk/samsung/clk-exynos4412-isp.c | 7 +++----
 drivers/clk/samsung/clk-exynos5433.c     | 7 +++----
 drivers/clk/samsung/clk-exynos7870.c     | 7 +++----
 drivers/clk/samsung/clk-exynos7885.c     | 7 +++----
 drivers/clk/samsung/clk-exynos850.c      | 7 +++----
 drivers/clk/samsung/clk-exynos8895.c     | 7 +++----
 drivers/clk/samsung/clk-exynos990.c      | 7 +++----
 drivers/clk/samsung/clk-exynosautov9.c   | 5 ++---
 drivers/clk/samsung/clk-exynosautov920.c | 7 +++----
 drivers/clk/samsung/clk-fsd.c            | 7 +++----
 drivers/clk/samsung/clk-gs101.c          | 7 +++----
 12 files changed, 35 insertions(+), 47 deletions(-)
---
base-commit: 7ec162622e66a4ff886f8f28712ea1b13069e1aa
change-id: 20250305-clk-samsung-ref-init-data-6b2cd242409f

Best regards,
-- 
Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>


^ permalink raw reply	[flat|nested] 17+ messages in thread

end of thread, other threads:[~2025-03-09 13:50 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-03-05 21:43 [PATCH RFC/RFT 00/12] clk: samsung: Use platform_driver_probe() to avoid __refdata Krzysztof Kozlowski
2025-03-05 21:43 ` [PATCH RFC/RFT 01/12] clk: samsung: exynos2200: " Krzysztof Kozlowski
2025-03-05 21:43 ` [PATCH RFC/RFT 02/12] clk: samsung: exynos4412-isp: " Krzysztof Kozlowski
2025-03-05 21:43 ` [PATCH RFC/RFT 03/12] clk: samsung: exynos5433: " Krzysztof Kozlowski
2025-03-05 21:43 ` [PATCH RFC/RFT 04/12] clk: samsung: exynos7870: " Krzysztof Kozlowski
2025-03-05 21:43 ` [PATCH RFC/RFT 05/12] clk: samsung: exynos7885: " Krzysztof Kozlowski
2025-03-05 21:43 ` [PATCH RFC/RFT 06/12] clk: samsung: exynos850: " Krzysztof Kozlowski
2025-03-05 21:43 ` [PATCH RFC/RFT 07/12] clk: samsung: exynos8895: " Krzysztof Kozlowski
2025-03-05 21:43 ` [PATCH RFC/RFT 08/12] clk: samsung: exynos990: " Krzysztof Kozlowski
2025-03-09 13:49   ` Igor Belwon
2025-03-05 21:43 ` [PATCH RFC/RFT 09/12] clk: samsung: exynosautov9: " Krzysztof Kozlowski
2025-03-05 21:43 ` [PATCH RFC/RFT 10/12] clk: samsung: exynosautov920: " Krzysztof Kozlowski
2025-03-05 21:43 ` [PATCH RFC/RFT 11/12] clk: samsung: fsd: " Krzysztof Kozlowski
2025-03-05 21:43 ` [PATCH RFC/RFT 12/12] clk: samsung: gs101: " Krzysztof Kozlowski
2025-03-07 14:29 ` [PATCH RFC/RFT 00/12] clk: samsung: " André Draszik
2025-03-07 15:00   ` Krzysztof Kozlowski
2025-03-07 19:04   ` Stephen Boyd

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox