From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=100.103.45.18 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796093799; b=cm07uBIoUlZYqD0LNSvN+MT7VNq7kBcs+H9Q92jQEAHxzl8qQiJM5iDMMcbQyGefVdl0 EoGCMq49XBT0VeIMnlqwqG+oWo67DYK7lFO9+AvXqjAhC8+/qRHBSpCEl+KBqaEml8xkg gpzgPybcDdR1maEcMG+0zd3agb4qUL8oYAS7YBQFiPC1uzEBy3CmkkmT/p7vhYpYf/CMl dPiXia/3GPjovM43Xsu/uJuxLQ7tKw8Gp32hwf0gHB10BeKJx4tUwNE8MQ1EOxFGjOWby Y9G8RE88ZriShfPg5+9HfgRwB57VvgmwTTaUjnIILdbnJKV/1Xu5qIpT9qe9hIpV9MQ== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796093799; h=Received:DKIM-Signature:Date:From:To:Cc:Subject:Message-ID: References:MIME-Version:Content-Type:Content-Disposition:In-Reply-To; bh=1RaKE8e2Ob08sKCioqzKPlyCkJ9To1j7CgoQWxL0H6g=; b=cejMM+/IXAwpJ5S6wR8EQLvtks7U3ISd3zmHL7CE4HSgDnTnygANScERCOiSxQlKbNu0 xi97ARqwYjDLSaJ0urBmxQHlmeF8pdCCQi59stJLhxBVLdZ37s/rriIFib4JMLPk8h/ye TdhgvcR3fagOC8JiT8jY1bO8Np76dzgATYfbzWpuFI9wFFZ7VU7uSecYUfKglVbE41le5 bGtBWM5wyQ1hd6G28Q7boD6CHeEKv8C9uc7s8PwSjzcr7Atnh6nMYPzA9rRWFymAzM49B FkRiKv1Ibeo3ESjNnEkFU/ixIYedMJSOAEkUZiPfFU+j96lXHmFXBT30f5PGuL7J3Kg== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=eQTjxL09; arc=none smtp.remote-ip=100.103.45.18 Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id A5919606A31A; Tue, 1 Dec 2026 02:56:39 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=eQTjxL09 Received: by smtp.kernel.org (Postfix) with ESMTPSA id E83421F00898; Tue, 1 Dec 2026 02:56:38 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1796093799; bh=1RaKE8e2Ob08sKCioqzKPlyCkJ9To1j7CgoQWxL0H6g=; h=Date:From:To:Cc:Subject:References:In-Reply-To; b=eQTjxL09dWFtaDbMCMBtflFm6MyfWChC4F835nnpZq5L17pfwrnGuhpWtZuqtsyVj YuVe5V/BM6v5xfD5RcMedFvOGnRD9uz9AHsuB1A08ei7p+OE+bf4uxfzLjLGYXHi+m kUWrrwFmvy0nTvOiMqTSscBAwbDaVOymc9pWeEm2xOHlkzHKH9JNOFUQXmdhnxlukZ G7ZTaU7DlEw30zc3y9JuTgNJ+oMC9dBHnvowJsJBxHVjLDb1YGQOaiX3wZl+kaOlj8 HijIwjuC0UvaH9SRmKA9PyJyLGOql52A7SadMlTnv2Tensxp1RhzFB09OrsdNwUGbP iy6GvJ0OzWyGw== Date: Mon, 30 Nov 2026 20:56:37 -0600 From: Rob Herring To: Akari Tsuyukusa Cc: AngeloGioacchino Del Regno , Stephen Boyd , Brian Masney , Jerome Brunet , Matthias Brugger , Krzysztof Kozlowski , Conor Dooley , Chen-Yu Tsai , Miles Chen , "open list:MEDIATEK CLOCK DRIVERS" , "moderated list:MEDIATEK CLOCK DRIVERS" , "open list:ARM/Mediatek SoC support" , "moderated list:ARM/Mediatek SoC support" , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" Subject: Re: [PATCH linux-next 00/33] clk: mediatek: Fix regressions and pre-existing bugs Message-ID: <20261201025637.GA4018279-robh@kernel.org> References: <20261129014745.3375923-1-akkun11.open@gmail.com> X-Mailing-List: linux-clk@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline 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