Linux-ARM-Kernel Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Rob Herring <robh@kernel.org>
To: Akari Tsuyukusa <akkun11.open@gmail.com>
Cc: AngeloGioacchino Del Regno
	<angelogioacchino.delregno@collabora.com>,
	Stephen Boyd <sboyd@kernel.org>,
	Brian Masney <bmasney+clk@redhat.com>,
	Jerome Brunet <jbrunet+clk@baylibre.com>,
	Matthias Brugger <matthias.bgg@gmail.com>,
	Krzysztof Kozlowski <krzk+dt@kernel.org>,
	Conor Dooley <conor+dt@kernel.org>,
	Chen-Yu Tsai <wenst@chromium.org>,
	Miles Chen <miles.chen@mediatek.com>,
	"open list:MEDIATEK CLOCK DRIVERS" <linux-clk@vger.kernel.org>,
	"moderated list:MEDIATEK CLOCK DRIVERS"
	<linux-mediatek@lists.infradead.org>,
	"open list:ARM/Mediatek SoC support"
	<linux-kernel@vger.kernel.org>,
	"moderated list:ARM/Mediatek SoC support"
	<linux-arm-kernel@lists.infradead.org>,
	"open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS"
	<devicetree@vger.kernel.org>
Subject: Re: [PATCH linux-next 00/33] clk: mediatek: Fix regressions and pre-existing bugs
Date: Mon, 30 Nov 2026 20:56:37 -0600	[thread overview]
Message-ID: <20261201025637.GA4018279-robh@kernel.org> (raw)
In-Reply-To: <20261129014745.3375923-1-akkun11.open@gmail.com>

On Sun, Nov 29, 2026 at 10:47:12AM +0900, Akari Tsuyukusa wrote:
> Thank you for merging my previous series migrating MediaTek clock
> drivers to the common probe/remove helpers [1].

Drop 'linux-next' from the patch subject prefix.
 
> When converting from _NR macros to ARRAY_SIZE(), my oversight caused
> clock ID mismatches (similar to [2]) and premature descriptor frees in
> several drivers. In addition, sashiko-bot reported pre-existing bugs in
> the common helpers and SoC drivers. This series fixes both.
> 
> This series splits the work into bug fixes (PATCH 1-14) and cleanup of
> now-unused _NR definitions (PATCH 15-33):
> 
> PATCH 1,4: Fix my mistakes in common helpers
> PATCH 2,3,5: Fix pre-existing bugs in common helpers
> PATCH 6-14: Fix clock ID and descriptor lifetime bugs in SoC drivers
> PATCH 15-33: Drop unused _NR macros from dt-bindings
> 
> PATCH 9 and PATCH 10 are separated to ease backporting:
> PATCH 9 fixes pre-existing missing MT2701 audsys clock IDs,
> and PATCH 10 fixes the new regressions introduced by the migration.
> 
> Based on linux-next 20261127.
> 
> Part of this series was assisted by LLM.
> 
> PS: The unmerged pllfh support in common helpers and per-SoC migration
> from [1] will be improved and sent in a separated series,
> including fixes for several bugs found in the drivers.
> 
> [1] [PATCH v2 00/35] clk: mediatek: Migrate to common probe/remove helpers and fix memory leaks
> https://lore.kernel.org/all/20261013151734.3177690-1-akkun11.open@gmail.com/T/
> [2] [PATCH 0/6] clk: mediatek: Fix descriptor clock ID allocation
> https://lore.kernel.org/all/20260921102522.1640072-1-akkun11.open@gmail.com/T/
> 
> Akari Tsuyukusa (33):
>   clk: mediatek: Skip common MMIO mapping for PLL-only controllers
>   clk: mediatek: Fix NULL pointer dereference in pdev remove
>   clk: mediatek: Drop unused shared_io flag
>   clk: mediatek: Pass node to of_platform_populate() in common probe
>   clk: mediatek: Fix MFG mux notifier use-after-free
>   clk: mediatek: mt2701: Keep CPU mux descriptors alive
>   clk: mediatek: mt8167: Keep muxes descriptors alive
>   clk: mediatek: mt8516: Keep clock descriptors alive
>   clk: mediatek: Reserve missing MT2701 audsys clock IDs
>   clk: mediatek: Fix MT2701 onecell IDs after common probe migration
>   clk: mediatek: Fix MT6779 onecell IDs after common probe migration
>   clk: mediatek: Fix MT6797 onecell IDs after common probe migration
>   clk: mediatek: Fix MT8135 onecell IDs after common probe migration
>   clk: mediatek: Fix MT8173 onecell IDs after common probe migration

>   dt-bindings: clock: mt2701: Drop unused _NR macros
>   dt-bindings: clock: mt2712: Drop unused _NR macros
>   dt-bindings: clock: mt6765: Drop unused _NR macros
>   dt-bindings: clock: mt6779: Drop unused _NR macros
>   dt-bindings: clock: mt6795: Drop unused _NR macros
>   dt-bindings: clock: mt6797: Drop unused _NR macros
>   dt-bindings: clock: mt7622: Drop unused _NR macros
>   dt-bindings: clock: mt7629: Drop unused _NR macros
>   dt-bindings: clock: mt7988: Drop unused _NR macros
>   dt-bindings: clock: mt8135: Drop unused _NR macros
>   dt-bindings: clock: mt8167: Drop unused _NR macros
>   dt-bindings: clock: mt8173: Drop unused _NR macros
>   dt-bindings: clock: mt8183: Drop unused _NR macros
>   dt-bindings: clock: mt8186: Drop unused _NR macros
>   dt-bindings: clock: mt8188: Drop unused _NR macros
>   dt-bindings: clock: mt8192: Drop unused _NR macros
>   dt-bindings: clock: mt8195: Drop unused _NR macros
>   dt-bindings: clock: mt8365: Drop unused _NR macros
>   dt-bindings: clock: mt8516: Drop unused _NR macros

All these can be 1 patch. It's all the same change and for the same 
maintainers (clk and mediatek), so no need to split them.

Rob


      parent reply	other threads:[~2026-12-01  2:56 UTC|newest]

Thread overview: 35+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-29  1:47 [PATCH linux-next 00/33] clk: mediatek: Fix regressions and pre-existing bugs Akari Tsuyukusa
2026-11-29  1:47 ` [PATCH linux-next 01/33] clk: mediatek: Skip common MMIO mapping for PLL-only controllers Akari Tsuyukusa
2026-11-29  1:47 ` [PATCH linux-next 02/33] clk: mediatek: Fix NULL pointer dereference in pdev remove Akari Tsuyukusa
2026-11-29  1:47 ` [PATCH linux-next 03/33] clk: mediatek: Drop unused shared_io flag Akari Tsuyukusa
2026-11-29  1:47 ` [PATCH linux-next 04/33] clk: mediatek: Pass node to of_platform_populate() in common probe Akari Tsuyukusa
2026-11-29  1:47 ` [PATCH linux-next 05/33] clk: mediatek: Fix MFG mux notifier use-after-free Akari Tsuyukusa
2026-11-29  1:47 ` [PATCH linux-next 06/33] clk: mediatek: mt2701: Keep CPU mux descriptors alive Akari Tsuyukusa
2026-11-29  1:47 ` [PATCH linux-next 07/33] clk: mediatek: mt8167: Keep muxes " Akari Tsuyukusa
2026-11-29  1:47 ` [PATCH linux-next 08/33] clk: mediatek: mt8516: Keep clock " Akari Tsuyukusa
2026-11-29  1:47 ` [PATCH linux-next 09/33] clk: mediatek: Reserve missing MT2701 audsys clock IDs Akari Tsuyukusa
2026-11-29  1:47 ` [PATCH linux-next 10/33] clk: mediatek: Fix MT2701 onecell IDs after common probe migration Akari Tsuyukusa
2026-11-29  1:47 ` [PATCH linux-next 11/33] clk: mediatek: Fix MT6779 " Akari Tsuyukusa
2026-11-29  1:47 ` [PATCH linux-next 12/33] clk: mediatek: Fix MT6797 " Akari Tsuyukusa
2026-11-29  1:47 ` [PATCH linux-next 13/33] clk: mediatek: Fix MT8135 " Akari Tsuyukusa
2026-11-29  1:47 ` [PATCH linux-next 14/33] clk: mediatek: Fix MT8173 " Akari Tsuyukusa
2026-11-29  1:47 ` [PATCH linux-next 15/33] dt-bindings: clock: mt2701: Drop unused _NR macros Akari Tsuyukusa
2026-11-29  1:47 ` [PATCH linux-next 16/33] dt-bindings: clock: mt2712: " Akari Tsuyukusa
2026-11-29  1:47 ` [PATCH linux-next 17/33] dt-bindings: clock: mt6765: " Akari Tsuyukusa
2026-11-29  1:47 ` [PATCH linux-next 18/33] dt-bindings: clock: mt6779: " Akari Tsuyukusa
2026-11-29  1:47 ` [PATCH linux-next 19/33] dt-bindings: clock: mt6795: " Akari Tsuyukusa
2026-11-29  1:47 ` [PATCH linux-next 20/33] dt-bindings: clock: mt6797: " Akari Tsuyukusa
2026-11-29  1:47 ` [PATCH linux-next 21/33] dt-bindings: clock: mt7622: " Akari Tsuyukusa
2026-11-29  1:47 ` [PATCH linux-next 22/33] dt-bindings: clock: mt7629: " Akari Tsuyukusa
2026-11-29  1:47 ` [PATCH linux-next 23/33] dt-bindings: clock: mt7988: " Akari Tsuyukusa
2026-11-29  1:47 ` [PATCH linux-next 24/33] dt-bindings: clock: mt8135: " Akari Tsuyukusa
2026-11-29  1:47 ` [PATCH linux-next 25/33] dt-bindings: clock: mt8167: " Akari Tsuyukusa
2026-11-29  1:47 ` [PATCH linux-next 26/33] dt-bindings: clock: mt8173: " Akari Tsuyukusa
2026-11-29  1:47 ` [PATCH linux-next 27/33] dt-bindings: clock: mt8183: " Akari Tsuyukusa
2026-11-29  1:47 ` [PATCH linux-next 28/33] dt-bindings: clock: mt8186: " Akari Tsuyukusa
2026-11-29  1:47 ` [PATCH linux-next 29/33] dt-bindings: clock: mt8188: " Akari Tsuyukusa
2026-11-29  1:47 ` [PATCH linux-next 30/33] dt-bindings: clock: mt8192: " Akari Tsuyukusa
2026-11-29  1:47 ` [PATCH linux-next 31/33] dt-bindings: clock: mt8195: " Akari Tsuyukusa
2026-11-29  1:47 ` [PATCH linux-next 32/33] dt-bindings: clock: mt8365: " Akari Tsuyukusa
2026-11-29  1:47 ` [PATCH linux-next 33/33] dt-bindings: clock: mt8516: " Akari Tsuyukusa
2026-12-01  2:56 ` Rob Herring [this message]

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=20261201025637.GA4018279-robh@kernel.org \
    --to=robh@kernel.org \
    --cc=akkun11.open@gmail.com \
    --cc=angelogioacchino.delregno@collabora.com \
    --cc=bmasney+clk@redhat.com \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=jbrunet+clk@baylibre.com \
    --cc=krzk+dt@kernel.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-clk@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mediatek@lists.infradead.org \
    --cc=matthias.bgg@gmail.com \
    --cc=miles.chen@mediatek.com \
    --cc=sboyd@kernel.org \
    --cc=wenst@chromium.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox