# Re: \[PATCH v2\] clk: expand clk\_ignore\_unused mechanism to keep only a few clks on

- From: Uwe Kleine-König \<hidden\>
- Date: 2021-10-14 15:43:15 
- List: linux-doc
- Page: https://ratatoskr.run/linux-doc/2021/10/1542223
- Thread: https://ratatoskr.run/linux-clk/2021/08/1482858/t.md

```text
Hello,

On Wed, Sep 22, 2021 at 10:15:49AM +0200, Uwe Kleine-König wrote:
> On Thu, Aug 19, 2021 at 02:14:03PM +0200, Uwe Kleine-König wrote:
> > Allow to pass an integer n that results in only keeping n unused clocks
> > enabled.
> > 
> > This helps to debug the problem if you only know that clk_ignore_unused
> > helps but you have no clue yet which clock is the culprit.
> > 
> > Signed-off-by: Uwe Kleine-König <redacted>
> 
> I consider this patch really helpful, it helped me to debug a clk issue
> without having to recompile the kernel for each bisection step.
> 
> On #kernelnewbies I got some positive feedback for it (1629304050 < j_ey>
> ukleinek: nice clk_ignore_unused patch, I added a pr_err there recently
> to print the clocks that were being disabled).

Any thoughts on this patch? Would be great if it makes it into the next
merge window.

Thanks for considering,
Uwe

-- 
Pengutronix e.K.                           | Uwe Kleine-König            |
Industrial Linux Solutions                 | https://www.pengutronix.de/ |
```

## Attachments

- [signature.asc](https://ratatoskr.run/linux-doc/2021/10/1542223/attachment/0) (application/pgp-signature, 488 bytes)
