Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp4852454pxb; Thu, 14 Oct 2021 13:19:10 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxg0mIU5p760lOQvhHaDp0ai44ffrwuc0SHr3JQ0vHC3WQ3qa5M5lBlt33ARDqZdY8KWIiK X-Received: by 2002:a17:902:8494:b0:13b:9365:6f12 with SMTP id c20-20020a170902849400b0013b93656f12mr6911320plo.19.1634242750591; Thu, 14 Oct 2021 13:19:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1634242750; cv=none; d=google.com; s=arc-20160816; b=oeeujefeXIHyIs7m4Kdmv9eATLjxVhYcQzV4jprvf/VpgANiu5S/LZxT5dL29Gyx0V bFMlvOYRU/TM+jseut/79+oGAtaEF/UcofY8vvmrmJ33L8HdFHhuwSTPoQWqBdGTwvt3 LjfJpcKhNF7S/Oh2tp8XV/SLm1xogHmUv/l4qhYdYJ+oCyrOmKqiK0GXTmHvfbiM6uGy AhvfNSY7SzBbuBHm5eQvn0Wb1+eya0Ishq2Ji4/QkoHO3nK/5vW6j68ziQN97YA46fM9 y3SnJ1asI7jYYfvuaTL7eWkbXPfFI3L42MadSSX4ghZU2ZtsXC2hHqdYHeZNJNhHflD6 kaOw== 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=3LT0nSJpp0LSyWQ4cxvCuCaBNZdeTvT+NfTCBTBMoII=; b=ndMUkSiYxmYURMU0I3Wwo7UKX/E8qOwj5XhBRrQYlSlk6E9ImWSxvRoA6U+EtBYLz3 SowiVNJ2rwtnlGifFGaesiapqJJyrQ4UGZ6T86MPFLYA3ONSPkXtxQmCNDe4i/AIBCVo Bf4A8VDxcftxArlbNqDGPNnCsS3hvnuv5DBGQmByh9qEaHqwnZnIU9RFLyB+G/p/d89U T26I9jAC5AlTWmfeas+NVAVFQPDb/psKKQ96KaoCfucdIC9sbRFq4NKiZcv/zSRZwkst xgUPqoXeUQUs9aIEMOdPrUzYON5SPGwLNpcY5cECNqnspeVpyrqGC3J3jCTRj/npLgfc pJbw== 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 u20si5740114pfk.107.2021.10.14.13.18.53; Thu, 14 Oct 2021 13:19:10 -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 S232480AbhJNPpS (ORCPT + 99 others); Thu, 14 Oct 2021 11:45:18 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57488 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232395AbhJNPpR (ORCPT ); Thu, 14 Oct 2021 11:45:17 -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 0EC46C061570 for ; Thu, 14 Oct 2021 08:43:13 -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 1mb2su-0002sB-Qj; Thu, 14 Oct 2021 17:43:08 +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 1mb2su-00074v-0K; Thu, 14 Oct 2021 17:43:08 +0200 Received: from ukl by ptz.office.stw.pengutronix.de with local (Exim 4.92) (envelope-from ) id 1mb2st-000453-Vb; Thu, 14 Oct 2021 17:43:07 +0200 Date: Thu, 14 Oct 2021 17:43:07 +0200 From: Uwe =?utf-8?Q?Kleine-K=C3=B6nig?= To: Michael Turquette , Stephen Boyd Cc: linux-kernel@vger.kernel.org, Jonathan Corbet , linux-clk@vger.kernel.org, kernel@pengutronix.de, linux-doc@vger.kernel.org Subject: Re: [PATCH v2] clk: expand clk_ignore_unused mechanism to keep only a few clks on Message-ID: <20211014154307.eb3y3sh5lca4426t@pengutronix.de> References: <20210819121403.337833-1-u.kleine-koenig@pengutronix.de> <20210922081549.kit3lsek7lh6w6ji@pengutronix.de> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="dh5ic32cncbw4ucf" Content-Disposition: inline In-Reply-To: <20210922081549.kit3lsek7lh6w6ji@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 --dh5ic32cncbw4ucf Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hello, On Wed, Sep 22, 2021 at 10:15:49AM +0200, Uwe Kleine-K=F6nig wrote: > 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 >=20 > I consider this patch really helpful, it helped me to debug a clk issue > without having to recompile the kernel for each bisection step. >=20 > 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). Any thoughts on this patch? Would be great if it makes it into the next merge window. Thanks for considering, Uwe --=20 Pengutronix e.K. | Uwe Kleine-K=F6nig | Industrial Linux Solutions | https://www.pengutronix.de/ | --dh5ic32cncbw4ucf Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEfnIqFpAYrP8+dKQLwfwUeK3K7AkFAmFoUAgACgkQwfwUeK3K 7Aktygf/cdio49GPc9UkYKY+3xrQTW8959xvhu4EU90eE3NquxbG6EbX82LLacD/ gzmrCE/3ZNaGEWkwjp2NQJZxlimjRA+RXqS3UsX2vXdBz0xwcOPVpx3HbJfzBdeN uLh+ZHxTX7zeq7TRiaO1jbKzGdKa2f0VusXDTet9OChGBuZmXdvazdF0OQPbOk/K tWvrLwDqEyEWR+6DkjxB8eI14eVHj0GwS+0gQuA+ZitdZE/J6cDEudWJhVCQq2oH hRQcdIg4RLtNcCVoOuIpbW/xJpYrascLZzU+1BrlqvebDCRZtedqVdf5TqqO+AXt Cx28VH+3r6ZLSBPq617FL+6IvYvPQw== =QxHw -----END PGP SIGNATURE----- --dh5ic32cncbw4ucf--