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=1796501322; b=4UZbuoi9jbZ37tfi0t/b05D6zOLQ8Gsl0sYBHR7ebfpQiMpPV6FijInGqI2j3s7aKtbe MC7xWGkmtMNJYU/OFlNixuenBl0Yjz8SjuwzBdmiHIATqh+FxXt95rbA3uodC/JshKk7S Mc5x8R3mn4JSOVZcuwkcg08C/btGtv+vIvvwsCCRkOsX4YuU0K08JD26jSSEX1BL/q6YO J7NW+DGMm1iPhQvJx/Ym/Jse/4zhmMIJKi9JCATcMTXii6OQoSZbh1VB9DYLPNAwErK/W L5KeXk/RDUjzaM6Xfn5pq+R0DcG+pSSHA6EkkGL0s6Kv+zQuF+YxJ0q1D0In9IkJ0tA== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796501322; h=Received:DKIM-Signature:Message-ID:From:Subject:Reply-To:To:Cc: In-Reply-To:References:Content-Type:Content-Transfer-Encoding:Date; bh=Z3g6QUJOtx7uaYL9kYJzenrswJ+oBi8iy4Oa2c+tEa4=; b=muvWcgBYD/9HtbSdvSYBzExI/4eYgUKK4S0YvQ7VDNCQSlbozE0dajFIrNYGqa551HNY 7gAuexiunwHtxMfANoDFNVgDTuwfEmBBfAD8qd18LdqPsowmQLdtgVfzBPQl+C6Qso3sv B8uuAvHDngSffHeI0BQYB3Ld1OhqjFZxIDVQ+h/ZfDSDufVDGYPyfhRSpj+oP8DsmTe2C Hd/OUufuhafCMHJnJv9zjHO+VIpYHwZVbznNBAfO6ciPXaOeGkvwc+v431JOJ33PRf74/ J4a6TjU09tqeFIDmfK2yq/5CRGnsp+CX8rhqkWUVu8izkb01c/Pbwg0HbKG3ATh5Few== 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=HtCywI3b; 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 123FC606A31F for ; Sat, 5 Dec 2026 20:08:41 +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=HtCywI3b Received: by smtp.kernel.org (Postfix) with ESMTPSA id 7DC1D1F0092B; Sat, 5 Dec 2026 20:08:41 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1796501321; bh=Z3g6QUJOtx7uaYL9kYJzenrswJ+oBi8iy4Oa2c+tEa4=; h=From:Subject:Reply-To:To:Cc:In-Reply-To:References:Date; b=HtCywI3beEc7qjyfZOGbUgUTa9HEvx4F/db3N71GU4c2fh4nlo9sjQE71VytFYMk1 nIZG0SVfHXIt/Y2IBag+guRtI6DvD3Eism51G3E0AFyB/djEUaYGHqcxIG/X8M/s2L vy0q35S+ChBpwrw/YidRQe1EKpRiXHob1ns7hapR1g5nhhIv4sIoNVJqpkDJUzgb+u jnU9lQ2RPko5pvPXguJcrgMFd6S3gFGkM8b3tcPRKXyTnwGsWWtQETOr9LNNG+jbaB 9A9deGTWnFZpbrpLvMuCCWP0GXLs2tpjw4rm09mKMPaBgpiagnH2zbAvnTw834fG4n vFiF6OcMLnKMQ== Message-ID: From: sashiko-bot@kernel.org Subject: Re: [PATCH v4 1/3] ARM: dts: cortina: Describe CS7542 peripheral controllers Reply-To: sashiko-reviews@lists.linux.dev To: "Fil Dunsky" Cc: devicetree@vger.kernel.org, robh@kernel.org, conor+dt@kernel.org In-Reply-To: <20261205-b4-cs7542-peripherals-dts-v4-1-f4e93d42533a@gmail.com> References: <20261205-b4-cs7542-peripherals-dts-v4-0-f4e93d42533a@gmail.com> <20261205-b4-cs7542-peripherals-dts-v4-1-f4e93d42533a@gmail.com> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Date: Sat, 05 Dec 2026 20:08:41 +0000 X-Mailing-List: devicetree@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list Thank you for your contribution! Sashiko AI review found 1 potential issue to consider: - [High] ARM: dts: cortina: global clk migration breaks boot when COMMON_CLK_CS7542=3Dn -- commit e9270d7acecebeaf6d81ee437ed7b70fb2a55ff2 Author: Fil Dunsky ARM: dts: cortina: Describe CS7542 peripheral controllers This commit adds device tree nodes for the CS7542 peripheral controllers, replaces the fixed APB clock with the global syscon clock provider, and updates the existing UART, timer, and watchdog nodes to use it. > diff --git a/arch/arm/boot/dts/cortina/cs7542.dtsi b/arch/arm/boot/dts/co= rtina/cs7542.dtsi > index 29b0b7da86670..3d827502c9b90 100644 > --- a/arch/arm/boot/dts/cortina/cs7542.dtsi > +++ b/arch/arm/boot/dts/cortina/cs7542.dtsi [ ... ] > @@ -99,21 +400,21 @@ timer@f8000200 { > compatible =3D "arm,cortex-a9-global-timer"; > reg =3D <0xf8000200 0x20>; > interrupts =3D ; > - clocks =3D <&apb_clk>; > + clocks =3D <&global CS7542_CLK_APB>; > }; > =20 > timer@f8000600 { > compatible =3D "arm,cortex-a9-twd-timer"; > reg =3D <0xf8000600 0x20>; > interrupts =3D ; > - clocks =3D <&apb_clk>; > + clocks =3D <&global CS7542_CLK_APB>; > }; > =20 > watchdog@f8000620 { > compatible =3D "arm,cortex-a9-twd-wdt"; > reg =3D <0xf8000620 0x20>; > interrupts =3D ; > - clocks =3D <&apb_clk>; > + clocks =3D <&global CS7542_CLK_APB>; > }; [Severity: High] Does switching the timers and console UART from apb_clk to &global break boot when CONFIG_COMMON_CLK_CS7542 is not enabled? ARCH_CORTINA_ACCESS selects ARM_GLOBAL_TIMER and HAVE_ARM_TWD, but neither selects COMMON_CLK_CS7542 nor defaults it to y. Without a clock provider for &global, global_timer_of_register() fails of_clk_get() and twd_calibrate_rate() spins forever waiting for jiffies in late_time_init(). Similarly, intc and gpio0..4 are enabled while CS75XX_INTC is not selected or defaulted by ARCH_CORTINA_ACCESS, causing cs75xx_gpio_probe() to permanently defer on platform_get_irq(). Commit "ARM: multi_v7_defconfig: Enable CS7542 board peripherals" later enables both options in multi_v7_defconfig, but that leaves a two-commit bisection hang and still breaks non-multi_v7_defconfig builds or olddefconfig upgrades. Selecting COMMON_CLK_CS7542 and CS75XX_INTC from ARCH_CORTINA_ACCESS (or setting default ARCH_CORTINA_ACCESS on them) before removing apb_clk would avoid this regression. --=20 Sashiko AI review =C2=B7 https://sashiko.dev/#/patchset/20261205-b4-cs7542-= peripherals-dts-v4-0-f4e93d42533a@gmail.com?part=3D1