[PATCH 0/2] clk: More Range Fixes

Maxime Ripard posted 2 patches 3 years, 5 months ago
drivers/clk/clk.c      |  39 ++++---------
drivers/clk/clk_test.c | 156 +++++++++++++++++++++++++++++++++++++++++++++++++
2 files changed, 167 insertions(+), 28 deletions(-)
[PATCH 0/2] clk: More Range Fixes
Posted by Maxime Ripard 3 years, 5 months ago
Hi,

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://github.com/mripard/linux/tree/rpi/clk-fixes-again

Maxime

To: Michael Turquette <mturquette@baylibre.com>
To: Stephen Boyd <sboyd@kernel.org>
Cc: Marek Szyprowski <m.szyprowski@samsung.com>
Cc: Mark Brown <broonie@kernel.org>
Cc: linux-clk@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
Signed-off-by: Maxime Ripard <maxime@cerno.tech>

---
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,
-- 
Maxime Ripard <maxime@cerno.tech>
Re: [PATCH 0/2] clk: More Range Fixes
Posted by Marek Szyprowski 3 years, 5 months ago
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@baylibre.com>
> To: Stephen Boyd <sboyd@kernel.org>
> Cc: Marek Szyprowski <m.szyprowski@samsung.com>
> Cc: Mark Brown <broonie@kernel.org>
> Cc: linux-clk@vger.kernel.org
> Cc: linux-kernel@vger.kernel.org
> Signed-off-by: Maxime Ripard <maxime@cerno.tech>

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

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

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

> ---
> 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