Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp2196331rwl; Thu, 30 Mar 2023 07:16:27 -0700 (PDT) X-Google-Smtp-Source: AKy350ZefaBjF0iyT60NsNPeRjQklj0rG7+ritesYxsJdxd/iRiXj0kdaWtHcqcFMS1yn5v5XEuA X-Received: by 2002:a17:906:7382:b0:93b:dddf:4be2 with SMTP id f2-20020a170906738200b0093bdddf4be2mr1907177ejl.3.1680185787118; Thu, 30 Mar 2023 07:16:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680185787; cv=none; d=google.com; s=arc-20160816; b=gBIPkJZQPGdLFwuYppLL5hh39yHKQzRyHX946jZQdjS/CRU5ka+XXb2lgbNTu0STm4 zlyzd4DipHZ0P/v4hwG+ZB1jAzJ4Yq3exoBehQw1s9fchg47+14JWONr7m/pYMiJMTAA Z1n0j2EExx/wkZGi+lRub6L2b0Esgklj3FN+aqawVccNqglOTLkc5ull1LkH4gAbGXyr 3vFLjl4v6UxGIrC17Ib/OS4aSjPZfPmm1ZT+iYcj5xWRf4DsAaR1XKXWt4Xfkt4bRnHQ Q+kKLP9hQezci9QSuN03ljenOQovvJa8VyJpFAHR6oVWWPEnpo7/6bmfISf+/QlbOPMx XX6g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=R4zCvOc1mMH56XgSR/h8YQ6LP3eLzSrZLD7OODqShKc=; b=eh/FifXM0mBANrCe4CwNRJNi3tSG1gePKAIlNr6JJROWjS0gQtPhCpftR16Hn9bJwC lenpQQX116+m6NNIamb5S3FandbFb6RQ+jx2dGspMbcj860HYJ3oNdo4zQTWcg+7TCpE NrsC8KnXGVp8CoLfCe9kaNBHy7LEIqDOrrtMoKvoa+J0e1lULQZx4vyawk+2t5dV0XCd d9CtsJmws3YdoSIi/qzSKlhNGZ7JyS9QP05ZHIQZby4Sp5S/s7mKtzLv+Njsm3Ejs8Pg V6+8jQUbMB7T3dWi/D/L7nk/IF2qiE35qahu/OB3UYNhRShe29KPgsm3/sIBbvwXv9+a almw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=McFGJYod; 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=redhat.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id nb21-20020a1709071c9500b0093e13f7efbesi2645274ejc.393.2023.03.30.07.15.58; Thu, 30 Mar 2023 07:16:27 -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=@redhat.com header.s=mimecast20190719 header.b=McFGJYod; 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=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232304AbjC3OHZ (ORCPT + 99 others); Thu, 30 Mar 2023 10:07:25 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54076 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232333AbjC3OHD (ORCPT ); Thu, 30 Mar 2023 10:07:03 -0400 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 45DFBAD0C for ; Thu, 30 Mar 2023 07:05:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1680185149; 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: in-reply-to:in-reply-to:references:references; bh=R4zCvOc1mMH56XgSR/h8YQ6LP3eLzSrZLD7OODqShKc=; b=McFGJYodP73y6IottNzJ6yX0TZJrfAIN30PV3nYKswcSuRh/NON7F69iL9BsOFr5pSBpem g7zU2XzJAuafhVST54AZFgWIsaF/UoaahnMJt0hDnA7wQ5SQGpPy6FB2uIydS7OioMRapC OcH7PZRJzWgv8q31JCPTKMtGaje62ik= Received: from mail-oi1-f200.google.com (mail-oi1-f200.google.com [209.85.167.200]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-665-DJKpS5O_PjC4oCAJ9HoPVQ-1; Thu, 30 Mar 2023 10:05:42 -0400 X-MC-Unique: DJKpS5O_PjC4oCAJ9HoPVQ-1 Received: by mail-oi1-f200.google.com with SMTP id f18-20020a05680814d200b003877ce3bfb4so4449881oiw.3 for ; Thu, 30 Mar 2023 07:05:42 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1680185141; h=user-agent:in-reply-to:content-disposition:mime-version:references :message-id:subject:cc:to:from:date:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=R4zCvOc1mMH56XgSR/h8YQ6LP3eLzSrZLD7OODqShKc=; b=h+i4iraN33TcENOKx3tKTIIVMr0+5uBrOpihFsfVrRtZ2mJvv/xjOATHnoEgECFeWo lUL9rN+GJJ+LwH7UmawrCDc2WZ/lKC3JZN1Xt83cyxPggRx+cgy/Zu9WgwNh9tLa+ljl vKI9LvBu+cPuCGUnBlcaRAblnOwkINZAHsGiLjkrgsxmVOK1Wz1KSkwfkmcBDmDJ1ltF RD/PRl8pGuDG/nr041gWIcK0fbnGtoJ5IRKbcDMqFqxtV1EBX3jDc3wAqUq2wowzjjQG YuG/3XWyXtlvqY4q9oPes5CmeMpY3jRIh5X8oPR+smEmBCaJZTwGmHtRUDxwT+J2W7yg jyrw== X-Gm-Message-State: AO0yUKUbyBjXonak+b/T/GtyMyrcMRjRig1VmTWjFoRGBbCnoIEvDJ1G GOQxDO5/FmKFG8bh+h0lYAbZ8wIkInnX1H2zXr3Z6/IDc126Fi0po6nhd7RbUQNQgzEQFbQbAiZ X4pkogxH2up4cWil4vxOuxotE X-Received: by 2002:a9d:73c2:0:b0:68f:2134:9a3a with SMTP id m2-20020a9d73c2000000b0068f21349a3amr13731355otk.30.1680185141707; Thu, 30 Mar 2023 07:05:41 -0700 (PDT) X-Received: by 2002:a9d:73c2:0:b0:68f:2134:9a3a with SMTP id m2-20020a9d73c2000000b0068f21349a3amr13731343otk.30.1680185141411; Thu, 30 Mar 2023 07:05:41 -0700 (PDT) Received: from x1 ([2600:381:4303:f0c4:d889:8469:3106:3568]) by smtp.gmail.com with ESMTPSA id a20-20020a9d74d4000000b006a11998d20esm7092278otl.45.2023.03.30.07.05.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 30 Mar 2023 07:05:40 -0700 (PDT) Date: Thu, 30 Mar 2023 10:05:37 -0400 From: Brian Masney To: Stephen Boyd Cc: mturquette@baylibre.com, linux-clk@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] clk: add debug message showing which unused clocks are disabled on boot Message-ID: References: <20221117105829.256717-1-bmasney@redhat.com> <27ded6a4ebd67cef0d4b472a2aea442e.sboyd@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <27ded6a4ebd67cef0d4b472a2aea442e.sboyd@kernel.org> User-Agent: Mutt/2.2.7 (2022-08-07) X-Spam-Status: No, score=-0.2 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_NONE 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 On Wed, Mar 29, 2023 at 02:49:50PM -0700, Stephen Boyd wrote: > 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. > > > > 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. Sure, I can do that. I see there's a section 'Disabling clock gating of unused clocks' in Documentation/driver-api/clk.rst where I think this would be appropriate. Brian