From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 3312D3EBF16 for ; Tue, 17 Mar 2026 14:13:14 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=170.10.129.124 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1773756795; cv=none; b=lpaaDojJYiFKVs9kcy6TkVQToSBnsWYUe2X5HBOzZBo/LMTRnrJr6SuZ6aR2skqR4brATlzLgy1FiihFxdLSKGCzCb5n56eV8YhZrUoEafbDalRlP0Fsok0l8KeoU+3X/AzT/lxUWoMPvuQg0mLp8wvBX4CZUHFh+qjuy5tda90= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1773756795; c=relaxed/simple; bh=91BKEugAixdxcjS7gsISaPOceXdhb9ubhvIKgagWg70=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=roGQKq3TLSEZyM7oCX4zDu34m+Gu5jmFJZ/VW4qolN0CZcmEeLMVZVuJnikVYIAIPtDe12HfrECaMCrlUCn/415OCjuuVDi7YDCDawIV/8fg0dhQuQSqlygP6Rw5fsNPjuDQ4bjF0Zishy7pu2UIpvBmk3X2LA9iYhXh4cqBJyI= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=redhat.com; spf=pass smtp.mailfrom=redhat.com; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b=P7Iv96k1; dkim=pass (2048-bit key) header.d=redhat.com header.i=@redhat.com header.b=BJAm93gw; arc=none smtp.client-ip=170.10.129.124 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=redhat.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=redhat.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="P7Iv96k1"; dkim=pass (2048-bit key) header.d=redhat.com header.i=@redhat.com header.b="BJAm93gw" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1773756793; 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=91BKEugAixdxcjS7gsISaPOceXdhb9ubhvIKgagWg70=; b=P7Iv96k1HFlDwAeuNcJtuj0CdyXvZM5XgsE0chJvJjm/34dT8ogsZOOjS+HqMIZiDkXnO6 xoYCiC++ZguHBehzJhgklDbBI0enWVKsGfpLI/BvBXdr7SCrWqDFwvML515bJUm5Plj0gN NPoaW7Rbwud3p7i0g3LuPIN3DU29rBs= Received: from mail-qv1-f70.google.com (mail-qv1-f70.google.com [209.85.219.70]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-623-UrBRp4YVMt6mraNM8MgJ1Q-1; Tue, 17 Mar 2026 10:13:12 -0400 X-MC-Unique: UrBRp4YVMt6mraNM8MgJ1Q-1 X-Mimecast-MFC-AGG-ID: UrBRp4YVMt6mraNM8MgJ1Q_1773756791 Received: by mail-qv1-f70.google.com with SMTP id 6a1803df08f44-89c3f19d4faso45422806d6.1 for ; Tue, 17 Mar 2026 07:13:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=google; t=1773756791; x=1774361591; darn=vger.kernel.org; h=user-agent:in-reply-to:content-disposition:mime-version:references :message-id:subject:cc:to:from:date:from:to:cc:subject:date :message-id:reply-to; bh=91BKEugAixdxcjS7gsISaPOceXdhb9ubhvIKgagWg70=; b=BJAm93gwx4pZEMDQDJKGvlpEAGQojSTU7iIABEJ0nEyxUHc4RsaduUvhP6qrMkg5YQ 1DYqeu4Z8fAELKyxOhTtnGcRpnN8Sy3EKEQTsIqlyskWBTDzjlWj1D+8HPPKIBIKXuoc SBYjeR1XDJep6/ckJ1czkwPAfvHC/erif3RdCPq9Cnz5S/BE/a70xDuwXEYmJLuh7Vya pA2cVvH1HfjeUwVdXJZaWtUz3Z+kKB7ZU1SEtByJ0/gNbJcBaKkgdz0X/9Oe0vZ3BSeS wJ2NRgBBq0co3SvHsrejfy3CnCGkfGXNPhISC542NfuLZNKp3zUJ+0yD/bPKkU6JuIQ9 ZQvA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1773756791; x=1774361591; h=user-agent:in-reply-to:content-disposition:mime-version:references :message-id:subject:cc:to:from:date:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=91BKEugAixdxcjS7gsISaPOceXdhb9ubhvIKgagWg70=; b=KYjZ4QhyBOZkrzJjdWMsXEHc2B3ljn77Cab3AwId68orpN+4NkCxHt3jtXU5w9LWnS OQtgZVv22wa7SvAFv98lxepM4BH9IYgxmd+2cMBwJRZJkh1Q0F4N2ZtkBZcehJvAbaiQ hYQa/Plp+uhoK7duYOmzOidESV0Huh3Hnauy4q9nJntioAICfWVBSjTUeUyWVsX5+g/h 8//mQ8CCwRbQijgPjFrg3UClCMMOBbNOTmDueBn+2NbeYBetFBKCkpDHtLhjrtH0QATS J2BgpAyxLUykHqH4qEXvF+wWblIbtaP59NT9nBjHclbrnHj/s5MDbfKhltShrmFM9kbM W1nA== X-Forwarded-Encrypted: i=1; AJvYcCXU0+IK0vy5zUg8AE+FxZVWyWJrb5Ijs/hdLUZOveYJBOc3n4Y0wwF5TQIFBF1y/rNmeRD1kFp4OlhY8Zk=@vger.kernel.org X-Gm-Message-State: AOJu0YyN8UHyCJ8bG3cSeXY/S86CbVFQZy2+iQCzRLoQdyibGSdNeTMz 9Sdqs6KPHToxvnEgo+lVPGzFvpe6s65eA7Vhu5qsVk7+/coXTr0UBRJNimkDmPzO22RBQ0+lheK iZ+tBxaxWA9ELB5SVTNTvUA4rlTqDFGnEy6T7AiocOVI4i2QZB8cymFYFSDaazDME90Q1C/Hv6w == X-Gm-Gg: ATEYQzyTEgJlm8o882D2/l2+szLT1MgHT9l+hK+zElzl0l9eimb7VQtogcwYjU11r4N Z0nR/epWLDj05qOkSHg5mfU8LkcI4mRGtZP0o1plrYFUdFgHorGiUxc5JQ/v4S3S9CIQ4I4A++2 LGD0LafuG2WvGlF3M5O/o0l9tMIkuCqfw7LP4LrMDf1ktULmDX4pXqa2KPz87EMk4/sATP6YkIl UfzQj4xXW8esO/sHQbE3QI8gFzWVvMqykVuc2VERfQQBIiaZkon43tBE7D8BNpXSeOjP/ZGNrBk TfCaqdHceHDSCeJ4FCj7kV1znCVFPaqZsuBGFqzADMSe4uAxv/uHXvHofxLSEvvgtIwwJYIwIoj n8xSTEElYX/XU+m4rRmTp1IMlO0e6JZ/UMoTeDJ8AN2nSf1tTPmjb1rCD X-Received: by 2002:a05:6214:c2f:b0:89c:5bbe:1e73 with SMTP id 6a1803df08f44-89c5e3f07e5mr52990456d6.32.1773756791607; Tue, 17 Mar 2026 07:13:11 -0700 (PDT) X-Received: by 2002:a05:6214:c2f:b0:89c:5bbe:1e73 with SMTP id 6a1803df08f44-89c5e3f07e5mr52989886d6.32.1773756791055; Tue, 17 Mar 2026 07:13:11 -0700 (PDT) Received: from redhat.com (c-73-183-52-120.hsd1.pa.comcast.net. [73.183.52.120]) by smtp.gmail.com with ESMTPSA id 6a1803df08f44-89c4feaaedbsm47275346d6.40.2026.03.17.07.13.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 17 Mar 2026 07:13:10 -0700 (PDT) Date: Tue, 17 Mar 2026 10:13:08 -0400 From: Brian Masney To: Abel Vesa Cc: Maxime Ripard , Jonathan Corbet , Shuah Khan , Michael Turquette , Stephen Boyd , Abel Vesa , Hans de Goede , Saravana Kannan , linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, linux-clk@vger.kernel.org Subject: Re: [PATCH] clk: add new Kconfig to control default behavior of disabling unused clocks Message-ID: References: <20260316-clk-ignore-unused-kconfig-v1-1-6e95a4fb0c94@redhat.com> <20260317-almond-leech-of-correction-2a2ef6@houat> <20260317-notorious-classic-sunfish-d016d5@houat> <2dsd7hq4bn25dibqk62a7o56tt2tecf645tq3upccneq4hby67@cmjjc5d6ximt> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <2dsd7hq4bn25dibqk62a7o56tt2tecf645tq3upccneq4hby67@cmjjc5d6ximt> User-Agent: Mutt/2.3.0 (2026-01-25) On Tue, Mar 17, 2026 at 03:21:17PM +0200, Abel Vesa wrote: > The solution has been already discussed for a long time now and it is: > drop the clk_ignore_unused late_initcall entirely and then make a > generic sync_state callback that the clock providers can use (or they > could implement one themselves). This way, until sync_state is reached > for a specific clock provider driver, all unused clocks remain as is. I'm willing to work on the sync state support once my clk scaling series [1] lands upstream. I believe that Saravana posted a series related to clk sync state, and I need to look at that. FWIW, the only reason I posted this patch is because at the end of Stephen's LPC talk I got the impression that this was also an acceptable change. I'm fine with dropping this change. [1] https://lore.kernel.org/linux-clk/20260313-clk-scaling-v6-0-ce89968c5247@redhat.com/ Brian