[<prev] [next>] [day] [month] [year] [list]
Message-ID: <20230322100153.gzyznaukbdngcvko@houat>
Date: Wed, 22 Mar 2023 11:01:53 +0100
From: Maxime Ripard <maxime@...no.tech>
To: Stephen Boyd <sboyd@...nel.org>
Cc: Abel Vesa <abelvesa@...nel.org>,
Alessandro Zummo <a.zummo@...ertech.it>,
Alexandre Belloni <alexandre.belloni@...tlin.com>,
Alexandre Torgue <alexandre.torgue@...s.st.com>,
Andreas Färber <afaerber@...e.de>,
Baolin Wang <baolin.wang@...ux.alibaba.com>,
Charles Keepax <ckeepax@...nsource.cirrus.com>,
Chen-Yu Tsai <wens@...e.org>,
Chunyan Zhang <zhang.lyra@...il.com>,
Claudiu Beznea <claudiu.beznea@...rochip.com>,
Daniel Vetter <daniel@...ll.ch>,
David Airlie <airlied@...il.com>,
David Lechner <david@...hnology.com>,
Dinh Nguyen <dinguyen@...nel.org>,
Fabio Estevam <festevam@...il.com>,
Geert Uytterhoeven <geert+renesas@...der.be>,
Jaroslav Kysela <perex@...ex.cz>,
Jernej Skrabec <jernej.skrabec@...il.com>,
Jonathan Hunter <jonathanh@...dia.com>,
Kishon Vijay Abraham I <kishon@...nel.org>,
Liam Girdwood <lgirdwood@...il.com>,
Linus Walleij <linus.walleij@...aro.org>,
Luca Ceresoli <luca.ceresoli@...tlin.com>,
Manivannan Sadhasivam <mani@...nel.org>,
Mark Brown <broonie@...nel.org>,
Matthias Brugger <matthias.bgg@...il.com>,
Max Filippov <jcmvbkbc@...il.com>,
Maxime Coquelin <mcoquelin.stm32@...il.com>,
Michael Turquette <mturquette@...libre.com>,
NXP Linux Team <linux-imx@....com>,
Nicolas Ferre <nicolas.ferre@...rochip.com>,
Orson Zhai <orsonzhai@...il.com>,
Paul Cercueil <paul@...pouillou.net>,
Pengutronix Kernel Team <kernel@...gutronix.de>,
Peter De Schrijver <pdeschrijver@...dia.com>,
Prashant Gaikwad <pgaikwad@...dia.com>,
Richard Fitzgerald <rf@...nsource.cirrus.com>,
Samuel Holland <samuel@...lland.org>,
Sascha Hauer <s.hauer@...gutronix.de>,
Sekhar Nori <nsekhar@...com>, Shawn Guo <shawnguo@...nel.org>,
Takashi Iwai <tiwai@...e.com>,
Thierry Reding <thierry.reding@...il.com>,
Ulf Hansson <ulf.hansson@...aro.org>,
Vinod Koul <vkoul@...nel.org>,
linux-stm32@...md-mailman.stormreply.com,
alsa-devel@...a-project.org, linux-mediatek@...ts.infradead.org,
linux-phy@...ts.infradead.org, linux-mips@...r.kernel.org,
linux-renesas-soc@...r.kernel.org,
linux-actions@...ts.infradead.org, linux-clk@...r.kernel.org,
AngeloGioacchino Del Regno
<angelogioacchino.delregno@...labora.com>,
patches@...nsource.cirrus.com, linux-tegra@...r.kernel.org,
linux-rtc@...r.kernel.org, linux-arm-kernel@...ts.infradead.org,
linux-sunxi@...ts.linux.dev, linux-kernel@...r.kernel.org,
dri-devel@...ts.freedesktop.org
Subject: Re: [PATCH v2 00/65] clk: Make determine_rate mandatory for muxes
Hi Stephen,
On Tue, Mar 21, 2023 at 04:55:03PM -0700, Stephen Boyd wrote:
> Quoting Maxime Ripard (2022-11-04 06:17:17)
> > Hi,
> >
> > This is a follow-up to a previous series that was printing a warning
> > when a mux has a set_parent implementation but is missing
> > determine_rate().
> >
> > The rationale is that set_parent() is very likely to be useful when
> > changing the rate, but it's determine_rate() that takes the parenting
> > decision. If we're missing it, then the current parent is always going
> > to be used, and thus set_parent() will not be used. The only exception
> > being a direct call to clk_set_parent(), but those are fairly rare
> > compared to clk_set_rate().
> >
> > Stephen then asked to promote the warning to an error, and to fix up all
> > the muxes that are in that situation first. So here it is :)
> >
> > Let me know what you think,
>
> What's the plan here? Are you going to resend?
It wasn't clear to me whether or not this was something that you wanted,
and I got some pushback on the drivers so I kind of forgot about it.
If you do want it (and it looks like you do), I'll resend it.
Maxime
Download attachment "signature.asc" of type "application/pgp-signature" (229 bytes)
Powered by blists - more mailing lists