All of lore.kernel.org
 help / color / mirror / Atom feed
From: Brian Masney <bmasney@redhat.com>
To: Sasha Levin <sashal@kernel.org>
Cc: stable-commits@vger.kernel.org,
	Michael Turquette <mturquette@baylibre.com>,
	Stephen Boyd <sboyd@kernel.org>,
	Nicolas Ferre <nicolas.ferre@microchip.com>,
	Alexandre Belloni <alexandre.belloni@bootlin.com>,
	Claudiu Beznea <claudiu.beznea@tuxon.dev>,
	stable@vger.kernel.org
Subject: Re: Patch "clk: at91: peripheral: fix return value" has been added to the 6.17-stable tree
Date: Wed, 15 Oct 2025 07:52:00 -0400	[thread overview]
Message-ID: <aO-K4FRm0KFhNLL9@redhat.com> (raw)
In-Reply-To: <20251015113603.1333854-1-sashal@kernel.org>

Hi Sasha,

On Wed, Oct 15, 2025 at 07:36:02AM -0400, Sasha Levin wrote:
> This is a note to let you know that I've just added the patch titled
> 
>     clk: at91: peripheral: fix return value
> 
> to the 6.17-stable tree which can be found at:
>     http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary
> 
> The filename of the patch is:
>      clk-at91-peripheral-fix-return-value.patch
> and it can be found in the queue-6.17 subdirectory.
> 
> If you, or anyone else, feels it should not be added to the stable tree,
> please let <stable@vger.kernel.org> know about it.
> 
> 
> 
> commit cbddc84a11e6112835fced8f7266d9810efc52f3
> Author: Brian Masney <bmasney@redhat.com>
> Date:   Mon Aug 11 11:17:53 2025 -0400
> 
>     clk: at91: peripheral: fix return value
>     
>     [ Upstream commit 47b13635dabc14f1c2fdcaa5468b47ddadbdd1b5 ]
>     
>     determine_rate() is expected to return an error code, or 0 on success.
>     clk_sam9x5_peripheral_determine_rate() has a branch that returns the
>     parent rate on a certain case. This is the behavior of round_rate(),
>     so let's go ahead and fix this by setting req->rate.
>     
>     Fixes: b4c115c76184f ("clk: at91: clk-peripheral: add support for changeable parent rate")
>     Reviewed-by: Alexander Sverdlin <alexander.sverdlin@gmail.com>
>     Acked-by: Nicolas Ferre <nicolas.ferre@microchip.com>
>     Signed-off-by: Brian Masney <bmasney@redhat.com>
>     Signed-off-by: Sasha Levin <sashal@kernel.org>

Please don't backport any of my round_rate() to determine_rate()
migrations to the stable kernels. I have maybe close to 200 of these
patches for various clk drivers, and stable can stay on round_rate().
There's no functional change.

Stephen mentioned this work on his pull to Linus about how this is all
prerequisite work to get to the real task of improving the clk rate
setting process.
https://lore.kernel.org/linux-clk/20251007051720.11386-1-sboyd@kernel.org/

Thanks,

Brian


           reply	other threads:[~2025-10-15 11:52 UTC|newest]

Thread overview: expand[flat|nested]  mbox.gz  Atom feed
 [parent not found: <20251015113603.1333854-1-sashal@kernel.org>]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=aO-K4FRm0KFhNLL9@redhat.com \
    --to=bmasney@redhat.com \
    --cc=alexandre.belloni@bootlin.com \
    --cc=claudiu.beznea@tuxon.dev \
    --cc=mturquette@baylibre.com \
    --cc=nicolas.ferre@microchip.com \
    --cc=sashal@kernel.org \
    --cc=sboyd@kernel.org \
    --cc=stable-commits@vger.kernel.org \
    --cc=stable@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.