Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp1234334rwl; Wed, 29 Mar 2023 14:52:24 -0700 (PDT) X-Google-Smtp-Source: AKy350afQV4uxM7N6Dedlf6RfYJ14rmkl9B3kPaStWCVgxbCjOtnJL+8GoFe7o6ZiDdBT5i31XZl X-Received: by 2002:a17:906:c003:b0:92f:7c42:8637 with SMTP id e3-20020a170906c00300b0092f7c428637mr22047707ejz.30.1680126744254; Wed, 29 Mar 2023 14:52:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680126744; cv=none; d=google.com; s=arc-20160816; b=pBIlDNB1wjNRqn5KlELsvc8H1C0sLe1IZyRwLhC34z1t98uyjOx39QxK9lXsDfbCA8 ppRg7VfVhRIhBYJJZdVKJDxajT2VhmtWRfLnIs2FGS0ugsSYnQo6rX3vZTFN3/Hh6Odo O3jXKdBDC1amOPbAR1YdOh59EmfVNjhDCPp8GwJ0cKiIxkSlmkE8DH1yJx2DqGONElai TPCATbkyUeuZygritbFlyNCh/v5mOYMmVHUq1b/16VAMJZpyVKke6RCFZDFfHnDz8JsT 6udCt/UCOg5SBkwc2jXBiw2Ynr+C5Bo+jANdO5CeD3znXjt9FcAVgEg5hB2WGKf6zGMq P3Yg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:date:to:cc:from:subject:references :in-reply-to:content-transfer-encoding:mime-version:message-id :dkim-signature; bh=UXCvv8muYJ21IdoMOB/bG/WWb+6yCZdVWfTUTQypW6g=; b=tjLZ2poBc42mJOzSpjoE4/3PH5FkZEwHNxMz96MHDNVsmksBz+nRNYHZKGJzuCGFVz uut2C1ZoJa3Znn8UMsfA/xvXHnR/A/By53FhuP6z/KWdcSDP5DuLot2z4MS8AT0i1Iew 0K9KaJsasRL3VVpowDBmBuzOAb3rAd5wE9fq+eOr/SBJryxqpf6C71j76KGIpK535lCM A7VU9AHMdWYKVOFkVAg+9UjD6usrZDxbDOF/6Ekaojbw8M8VUquW3g+5feSN6HzyyWJ+ LLEfpkm+0MEnlB2DipWWSeZwytfrKBkiulg3Z4xTO3Rg8jNxRdtstrKF54D4fmadIPeS ESNA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=uoLOBv7g; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id vw9-20020a170907a70900b00934f9a52925si28426044ejc.76.2023.03.29.14.51.58; Wed, 29 Mar 2023 14:52:24 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=uoLOBv7g; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229955AbjC2VuA (ORCPT + 99 others); Wed, 29 Mar 2023 17:50:00 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42334 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229942AbjC2Vt5 (ORCPT ); Wed, 29 Mar 2023 17:49:57 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E408E4EEF; Wed, 29 Mar 2023 14:49:54 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 8F3A9B82341; Wed, 29 Mar 2023 21:49:53 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 4C39CC433D2; Wed, 29 Mar 2023 21:49:52 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1680126592; bh=UXCvv8muYJ21IdoMOB/bG/WWb+6yCZdVWfTUTQypW6g=; h=In-Reply-To:References:Subject:From:Cc:To:Date:From; b=uoLOBv7g/NPF9bnjoNWSKb7NNBSMmnd2gAvwaJrgKNHWsHHyw9fFYOz1YE3hjxEyO 73jM0cDbS8B6e+ryXPDlLHBEolIoMkmPOXIX7qmadMG8D6lwJ3udWuX29Wom+H+aOz NCmH/Wts9MQTrsK40L1rReX/b1av6D9ZhbPn7G+xgifOi9rzVTitnx8M+4GcI33MKR EADeLWcwMYv8RGKfeZd/Xar4ZaAU7nZNzlDH8yA+EMAK1bTYnDEOR7OBcN+BN7yLIE ymMh1MlsxH5hwcLQL8g2O1byrcCPHqpRt36O2ZonuDkjTx/+SlUYRchmpMp7kNz97M b4aV+pL3I3Yhw== Message-ID: <27ded6a4ebd67cef0d4b472a2aea442e.sboyd@kernel.org> Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable In-Reply-To: <20221117105829.256717-1-bmasney@redhat.com> References: <20221117105829.256717-1-bmasney@redhat.com> Subject: Re: [PATCH] clk: add debug message showing which unused clocks are disabled on boot From: Stephen Boyd Cc: linux-clk@vger.kernel.org, linux-kernel@vger.kernel.org To: Brian Masney , mturquette@baylibre.com Date: Wed, 29 Mar 2023 14:49:50 -0700 User-Agent: alot/0.10 X-Spam-Status: No, score=-5.2 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI,SPF_HELO_NONE, SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Quoting Brian Masney (2022-11-17 02:58:29) > The clk framework on bootup will automatically disable all unused clocks > on bootup unless the clk_ignore_unused kernel parameter is present. > Let's add a basic debugging log statement here that shows which clocks > are disabled. There is already tracepoint present here as well, but > there's nothing like a simple, good ol' fashioned printk for simplicity. >=20 > Signed-off-by: Brian Masney > --- I'd like to see a documentation update instead that covers how to enable the tracepoint on the kernel commandline and have it print to the serial console.