From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 98057C61DBE for ; Tue, 25 Aug 2026 15:12:03 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Transfer-Encoding: Content-Type:In-Reply-To:MIME-Version:References:Message-ID:Subject:Cc:To: From:Date:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=l2TAxOwHRDlM6cSmZF0xTyxxMoyKXBFa/St1ecjf+fY=; b=0ZxFYcithSlvHglFWTVAAo62vw h7PZoU8jfbkJwJPjlY5VefEckcgOe3goN4KT77tYoSZqY4uHWbNmPQI0+oLkpL92EGy/iyAJAvwK0 UveQ4rBbekjt0P71T3PFyMeIcIxdWLDdvdg+2BTSjVykL8RM/ovztzPpAuNcN7cHJiozLh9B6up4y X/YrHEktIAzDYzvae4c/I29QEAHEVpC7g206rJD2IkCUpPDrZDliz0y/+7ijIRwPcAgQFG8aUYPiU Mj1C2ihxHEZZOoqWGSD9Ni8oWAR7H4ujBf4WTMJPD4iSQ/DwAms6VYrY1MlTiAFOae0Asiw0aGAB+ yz1qQHJQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.99.1 #2 (Red Hat Linux)) id 1wysoj-000000011B8-1dsC; Tue, 25 Aug 2026 15:12:01 +0000 Received: from us-smtp-delivery-124.mimecast.com ([170.10.129.124]) by bombadil.infradead.org with esmtps (Exim 4.99.1 #2 (Red Hat Linux)) id 1wysog-0000000119w-0cZ4 for linux-mediatek@lists.infradead.org; Tue, 25 Aug 2026 15:11:59 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1787670715; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=l2TAxOwHRDlM6cSmZF0xTyxxMoyKXBFa/St1ecjf+fY=; b=cmNwOCPW0pCLo1vgxbiI8024BSzxbFhi3JiPy5Bv8SJO4i3CWLe8pnJoGKFUOrad+B/b/+ ss0febDjN34CvxqR7kDJPsYhRohx65REzsx6IYHVayw4b9b70DhLTuDcUesPRiEXiPUqHm uTFVlFozsf2xG5Uyv+HbX3OiX5QSvDo= Received: from mail-qt1-f199.google.com (mail-qt1-f199.google.com [209.85.160.199]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-463-xik7BJFnNzuV8KZMJxFVMw-1; Tue, 25 Aug 2026 11:11:53 -0400 X-MC-Unique: xik7BJFnNzuV8KZMJxFVMw-1 X-Mimecast-MFC-AGG-ID: xik7BJFnNzuV8KZMJxFVMw_1787670713 Received: by mail-qt1-f199.google.com with SMTP id d75a77b69052e-52769fc3f2eso70369881cf.0 for ; Tue, 25 Aug 2026 08:11:53 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1787670713; x=1788275513; h=user-agent:in-reply-to:content-transfer-encoding :content-disposition:content-type:mime-version:references:message-id :subject:cc:to:from:date:x-gm-gg:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to:content-type; bh=l2TAxOwHRDlM6cSmZF0xTyxxMoyKXBFa/St1ecjf+fY=; b=XY7P3mgxb+18s0ML4r6lA+nKkujQumeTajIt1jI6ePJDKv+zWYG0y+I01QksYsqkJz ZQiHPdooeeu9+KMhzZ4UtlB+uNywlZ6gGjc427v43KAuTOANgMvXEaUiPUN9OiCW1WyY ttH7UrwRCCtEU8nNX7qzda2clw07rwHyue2TL+GfZPqfz954TE6f0ziV6WtY7p7uk2b0 aP8p2Y3GiKbxZtwh8u59lgimbm/wcPU07d2ihm9a/GsQnui0He4oKThg5VJuF0pKRXWD NwLgTOI8bmLgPyJY3doZzaCv/6kNfIrDUlcsMwfS0Ky+ziWM/Y64J0nnbziP93QZJA6f dZQA== X-Forwarded-Encrypted: i=1; AHgh+RrvO9X/l9uw5wMWNlXV7Ry+0XfyrG/fwqB4Pb10+eRTeoskBMcMgeVPYzHfUBHOilUs1B6vbxoij8xqwF8wRA==@lists.infradead.org X-Gm-Message-State: AFuF++nTTml3yJuH6UfnMNKI7LiClNUMGihxh1xlaALSTLpno0PFmQoq vN7vY49xIX2n4i5/SCNB2ZtDkPou1NPJQ9biumTKrxF/4LRRHdhotrPcqPXGtvxn+lLENXNZsvL XuLk672KvyFxcY9lMSI9iM9iByMVZd6xQPhJ/NzZE4Sv5JqmM0cA4iyhn6r1aNNXM/0YhtwGHXQ == X-Gm-Gg: AR+sD105dsgR4ATe841wzBx5eFaKW4MKoH5HDaqM5+0XY0nM+8QcoIacO/FDFlcUm1p 4es+ZkaMruT+rMK/t36eGpFZfca8vNeiFj2b4WaY4OEaraFHAXuTVsL3/Y/e/sY8r2wzQlnHKKh YmkVw3WuU1xvx7NsWDUrPC+D9IUPYH8yctQMpn+iRlPyCtuD6PDgsOkdYNEmba5y8dGDIbvTYGz rduHTCMyEISGUM90inlz936Y7qoPCtC62Qh+vjYMSXtQxmgYoqPz/am2SaP+JD3oaM3vw06+SdQ 4y/DOOhcKTKiCRewvo+1hD526TnuJ4QZ+EuHXvRI31TSHuIeosUvz9gZGI3jUEdwNRs2OTm5NBY CZ+kVMZ4ULqJLIMC40v66uF1/8caQKxX7Oso= X-Received: by 2002:ac8:7d13:0:b0:52d:3d46:bfd0 with SMTP id d75a77b69052e-52df5a4a41emr343135941cf.32.1787670712360; Tue, 25 Aug 2026 08:11:52 -0700 (PDT) X-Received: by 2002:ac8:7d13:0:b0:52d:3d46:bfd0 with SMTP id d75a77b69052e-52df5a4a41emr343134781cf.32.1787670711664; Tue, 25 Aug 2026 08:11:51 -0700 (PDT) Received: from redhat.com (c-73-183-53-213.hsd1.pa.comcast.net. [73.183.53.213]) by smtp.gmail.com with ESMTPSA id d75a77b69052e-52e09aad030sm71209161cf.15.2026.08.25.08.11.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 25 Aug 2026 08:11:50 -0700 (PDT) Date: Tue, 25 Aug 2026 11:11:47 -0400 From: Brian Masney To: Heiko =?iso-8859-1?Q?St=FCbner?= Cc: Ryan Chen , Joel Stanley , Stephen Boyd , Brian Masney , Jerome Brunet , Andrew Jeffery , Billy Tsai , Nicolas Ferre , Alexandre Belloni , Claudiu Beznea , Ray Jui , Scott Branden , Broadcom internal kernel review list , Taichi Sugaya , Takao Orito , Linus Walleij , Avi Fishman , Tomer Maimon , Tali Perry , Patrick Venture , Nancy Yuen , Benjamin Fair , Sudeep Holla , Cristian Marussi , David Lechner , Abel Vesa , Peng Fan , Frank Li , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , Paul Cercueil , Santosh Shilimkar , Andrew Lunn , Gregory Clement , Sebastian Hesselbarth , Vladimir Zapolskiy , Krzysztof Kozlowski , Sylwester Nawrocki , Chanwoo Choi , Peter Griffin , Alim Akhtar , Dinh Nguyen , Viresh Kumar , Maxime Coquelin , Alexandre Torgue , Emilio =?iso-8859-1?Q?L=F3pez?= , Chen-Yu Tsai , Jernej Skrabec , Samuel Holland , Prashant Gaikwad , Thierry Reding , Jonathan Hunter , Kunihiko Hayashi , Masami Hiramatsu , Ulf Hansson , Liviu Dudau , Lorenzo Pieralisi , Michal Simek , Matthias Brugger , Geert Uytterhoeven , linux-clk@vger.kernel.org, linux-aspeed@lists.ozlabs.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, openbmc@lists.ozlabs.org, arm-scmi@vger.kernel.org, imx@lists.linux.dev, linux-mips@vger.kernel.org, linux-renesas-soc@vger.kernel.org, linux-rockchip@lists.infradead.org, linux-samsung-soc@vger.kernel.org, soc@lists.linux.dev, linux-stm32@st-md-mailman.stormreply.com, linux-sunxi@lists.linux.dev, linux-tegra@vger.kernel.org, linux-mediatek@lists.infradead.org Subject: Re: [PATCH 00/45] clk: Make sure clk_init_data is fully initialized (part two) Message-ID: References: <3074509.irdbgypaU6@diego> MIME-Version: 1.0 In-Reply-To: <3074509.irdbgypaU6@diego> User-Agent: Mutt/2.4.0 (2026-06-19) X-Mimecast-Spam-Score: 0 X-Mimecast-MFC-PROC-ID: jKl1yoE_XXcAyjLqkzV_UWO2orlbBLmjAxSTSGEqoV8_1787670713 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.9.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20260825_081158_249778_CF10059F X-CRM114-Status: GOOD ( 25.35 ) X-BeenThere: linux-mediatek@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "Linux-mediatek" Errors-To: linux-mediatek-bounces+linux-mediatek=archiver.kernel.org@lists.infradead.org Hi Heiko, On Mon, Aug 24, 2026 at 11:11:32PM +0200, Heiko Stübner wrote: > Am Freitag, 21. August 2026, 10:53:10 Mitteleuropäische Sommerzeit schrieb Geert Uytterhoeven: > > Hi all, > > > > The clk_init_data structure contains several mutually-exclusive members > > for different methods to specify the possible parents of a clock, > > prompting drivers to initialize only the members they need. However, > > not initializing all members may cause subtle issues, which are only > > exposed when CONFIG_INIT_STACK_ALL_PATTERN or CONFIG_INIT_STACK_NONE is > > enabled. > > > > Hence this series aims to make sure all members are fully initialized, > > to avoid such bugs, and to prevent future breakage when converting > > drivers to a different method for specifying the parents. > > > > Part One[1] fixed all cases that I identified to be real bugs, in > > response to a crash I saw on BeagleBone Black. > > > > This series is the clock subpart of Part Two, which fixes remaining > > cases that are currently harmless. These are still fragile, and may > > cause future breakage when converting drivers to a different method for > > specifying the parents. > > > > Thanks for your comments! > > I guess more a handling question, how do you expect this series to be > applied? > > I.e. each clk-arch-maintainer, or in one big thing by the core clock > maintainers? Just wondering if I should pick the Rockchip patch > or just let the whole series get applied by the clock maintainers. Before you pick up anything, let's see if Stephen picks up this series the next few days before he sends his pull to Linus. Next development cycle, Jerome Brunet and I will be clk co-maintainers [1] and will start collecting patches then. If Stephen doesn't pick up this whole series this week, then pick up the patch(es) relevant for your tree and send Jerome and I pull as usual. That's just in case there's other patches that come in during the next development cycle to these files and to avoid merge conflicts. I don't have a strong opinion about this though, and could be convinced to take the whole series for simplicity. [1] https://git.kernel.org/pub/scm/linux/kernel/git/clk/linux.git/commit/?h=clk-next&id=8bc7ceadce1f362a8b0e88075ef3d926b286c01c Brian