Re: [PATCH 0/2] clk: More Range Fixes

From: Marek Szyprowski
Date: Mon Oct 10 2022 - 13:52:23 EST


Hi Maxime,

On 10.10.2022 16:47, Maxime Ripard wrote:
> Here are patches that might address the issues reported by Marek and Mark,
> according to Stephen's intuition :)
>
> Either way, it's still fixing and adding test coverage for a regression
> introduced by my recent work.
>
> If it's easier for you to test, this series is also pushed here:
> https://protect2.fireeye.com/v1/url?k=e4440f7a-bbdf3663-e4458435-000babff3793-bdf960866cc2289b&q=1&e=179d765b-8652-488e-977d-8f404e45f6c8&u=https%3A%2F%2Fgithub.com%2Fmripard%2Flinux%2Ftree%2Frpi%2Fclk-fixes-again
>
> Maxime
>
> To: Michael Turquette <mturquette@xxxxxxxxxxxx>
> To: Stephen Boyd <sboyd@xxxxxxxxxx>
> Cc: Marek Szyprowski <m.szyprowski@xxxxxxxxxxx>
> Cc: Mark Brown <broonie@xxxxxxxxxx>
> Cc: linux-clk@xxxxxxxxxxxxxxx
> Cc: linux-kernel@xxxxxxxxxxxxxxx
> Signed-off-by: Maxime Ripard <maxime@xxxxxxxxxx>

It looks it fixes the issue I've reported here:
https://lore.kernel.org/all/8cdd1927-da38-c23e-fa75-384694724b1c@xxxxxxxxxxx/

All my Amlogic Meson G12A/B based boards work fine after applying those
fixes.

Tested-by: Marek Szyprowski <m.szyprowski@xxxxxxxxxxx>

> ---
> Maxime Ripard (2):
> clk: Update req_rate on __clk_recalc_rates()
> clk: tests: Add tests for notifiers
>
> drivers/clk/clk.c | 39 ++++---------
> drivers/clk/clk_test.c | 156 +++++++++++++++++++++++++++++++++++++++++++++++++
> 2 files changed, 167 insertions(+), 28 deletions(-)
> ---
> base-commit: cd9fd78f5c11b5e165d9317ef11e613f4aef4dd1
> change-id: 20221010-rpi-clk-fixes-again-a95180ef0108
>
> Best regards,

Best regards
--
Marek Szyprowski, PhD
Samsung R&D Institute Poland