Received: by 2002:a05:6a11:4021:0:0:0:0 with SMTP id ky33csp260609pxb; Wed, 22 Sep 2021 01:17:37 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw0u0xWuAOuHLGFJu5A9Tc3S30EXUnTnnsdjQ/Hob77ZQGsO4+qyt/KBABwbfK29YVQmGiJ X-Received: by 2002:a05:6402:203:: with SMTP id t3mr41469471edv.69.1632298657473; Wed, 22 Sep 2021 01:17:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1632298657; cv=none; d=google.com; s=arc-20160816; b=LiLpTPrFXBfOoY2/QhMd7hjpgnVtsWy+/w2E85KjM57RXBt7Rg0j90RJ6OtgnlKA2s C9P5MxvHo/d8h4/0bwhsqPSXPCZnXLJ9K+btKYTKUc8qqZA79NZhVlYijpGQrOmrT4Hm 9N7FYYA5+pSKrrDdelVzg08NlXkbpnklyuuy0ys89Twisw8bbqne/5/r9VvNKpWy4G00 WJX/uTUinYB5GC3yxxt++OzSri4bLERLlRcNCyVG8TQQNB35JEWqczQrGkyi4DK3Y51e M7auhrpmjbcz3gT6Gyr8rNq3Tv+WYgL52R61Wjp9ltftruSjE1mq3ztQmZMFLrulddJO Eh5Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=/yiMC6zt1xPJi2APIlMvIYPa2rNPngzy3stZLvOGNIA=; b=Ou7tikyym/idfsl4s1rG1wiY37UllHVxA7noHWOYDl7FZBoXn9NwgzwR3u8JbVfr6y uHaYrDW8qvHPVZRTT0qetEEKdSTGnrmzVXZLFrWZZZN4wUsWZ9IPvtaD0/n908pURSYH znsJu0J6paX9EoIKPeW3rp7VCPq3TJHYoLsemfbMIQrJ78GwBljwJ/FLbzUSUHXBtbix 4RHTIZ650++oei7yzE15RK73oQmJquYK3dIL1I06lt0EKySKc/7w8O4otKXCRZAiOUJK Iqc1j85t2phjtq6CrI5kLFA8eWVlYF/ypp5Gs/t9t9phEcWUFYfiX2ilWDwVOU4k/h16 0rAQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id f14si1822838ejj.667.2021.09.22.01.17.13; Wed, 22 Sep 2021 01:17:37 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233588AbhIVIR1 (ORCPT + 99 others); Wed, 22 Sep 2021 04:17:27 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53522 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233595AbhIVIR0 (ORCPT ); Wed, 22 Sep 2021 04:17:26 -0400 Received: from metis.ext.pengutronix.de (metis.ext.pengutronix.de [IPv6:2001:67c:670:201:290:27ff:fe1d:cc33]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D3C01C061574 for ; Wed, 22 Sep 2021 01:15:56 -0700 (PDT) Received: from drehscheibe.grey.stw.pengutronix.de ([2a0a:edc0:0:c01:1d::a2]) by metis.ext.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mSxPy-0004LS-OD; Wed, 22 Sep 2021 10:15:50 +0200 Received: from [2a0a:edc0:0:900:1d::77] (helo=ptz.office.stw.pengutronix.de) by drehscheibe.grey.stw.pengutronix.de with esmtp (Exim 4.92) (envelope-from ) id 1mSxPx-0003Il-Cp; Wed, 22 Sep 2021 10:15:49 +0200 Received: from ukl by ptz.office.stw.pengutronix.de with local (Exim 4.92) (envelope-from ) id 1mSxPx-0004zO-Bo; Wed, 22 Sep 2021 10:15:49 +0200 Date: Wed, 22 Sep 2021 10:15:49 +0200 From: Uwe =?utf-8?Q?Kleine-K=C3=B6nig?= To: Michael Turquette , Stephen Boyd Cc: linux-doc@vger.kernel.org, linux-clk@vger.kernel.org, linux-kernel@vger.kernel.org, kernel@pengutronix.de, Jonathan Corbet Subject: Re: [PATCH v2] clk: expand clk_ignore_unused mechanism to keep only a few clks on Message-ID: <20210922081549.kit3lsek7lh6w6ji@pengutronix.de> References: <20210819121403.337833-1-u.kleine-koenig@pengutronix.de> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="s34zflirz6cxjcg5" Content-Disposition: inline In-Reply-To: <20210819121403.337833-1-u.kleine-koenig@pengutronix.de> X-SA-Exim-Connect-IP: 2a0a:edc0:0:c01:1d::a2 X-SA-Exim-Mail-From: ukl@pengutronix.de X-SA-Exim-Scanned: No (on metis.ext.pengutronix.de); SAEximRunCond expanded to false X-PTX-Original-Recipient: linux-kernel@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --s34zflirz6cxjcg5 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hello, On Thu, Aug 19, 2021 at 02:14:03PM +0200, Uwe Kleine-K=F6nig wrote: > Allow to pass an integer n that results in only keeping n unused clocks > enabled. >=20 > This helps to debug the problem if you only know that clk_ignore_unused > helps but you have no clue yet which clock is the culprit. >=20 > Signed-off-by: Uwe Kleine-K=F6nig I consider this patch really helpful, it helped me to debug a clk issue without having to recompile the kernel for each bisection step. On #kernelnewbies I got some positive feedback for it (1629304050 < j_ey> ukleinek: nice clk_ignore_unused patch, I added a pr_err there recently to print the clocks that were being disabled). Best regards Uwe --=20 Pengutronix e.K. | Uwe Kleine-K=F6nig | Industrial Linux Solutions | https://www.pengutronix.de/ | --s34zflirz6cxjcg5 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEfnIqFpAYrP8+dKQLwfwUeK3K7AkFAmFK5jIACgkQwfwUeK3K 7AmWkgf+OQ5olI3IcVW3vwjRRsrEmQwZZ1Ilbn01AT2WFD6UWAOcVtdum/Jdlld6 R9Ib02OtzJTN415x4FZGQtignm13aAUgwONe7BEW3vroacDL7lX8O9l3VaSxbfi9 EkXTWR24KW+HOKYivj5B6eLG4sboBfKfwYakMwlapH6T1Mkm6XsfPH+v1Kuo+f8Z iPrgfGbQyFhpoy6IOlnhLZaT6UtYERYZeb2F+gHogJtc6E7ct3lu6ZdO7AP1ZDgw Y9fQU4fKgkUNTgK7fx4WI37kQRfoRNfgoYef6Jnqgwn9CXx4vjFSzrz6yHL4n2ye phJ7tHaFEIyKle92crPC5CyhA5IVvQ== =O65D -----END PGP SIGNATURE----- --s34zflirz6cxjcg5--