Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp2405146ybi; Mon, 1 Jul 2019 11:26:19 -0700 (PDT) X-Google-Smtp-Source: APXvYqx1+WnoZDrRRpDkpfznacTqqXSbU72nojSLhUizlpcOmgAAruZmRxOra81BW5RxOvrGPgza X-Received: by 2002:a63:dc11:: with SMTP id s17mr26731117pgg.47.1562005579420; Mon, 01 Jul 2019 11:26:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1562005579; cv=none; d=google.com; s=arc-20160816; b=mx85WxnqVdzacPPlbRcp8xqK3G9yfMVVl4m59yVTMalq4VgLRE+kBLRODeZt2mpTDf gKjtjayFBLnTx5CNvnYmvq0NmJ7cU6jLLUq8e1b5ZqNzVr6U3izuW1AidlhGX3O6fWsS 3F/E+d6drbdgOnXJvgDLI7QC6LPswSGbn+/SuW6jjOkKR8Wy+mPkWJwjy+wr8qFY4nIo QaoZCCkH744nmFFVsYjWX7aU3kX8hAvsfssJBl4CXmWcCenej6FtaK0fbsJrQ/rC3/X7 mY7APwJeWhUQmrcN022eDSSzX18nX34ua9GjvBMqe5XG+xiF1Y5h1rUb+QE1bL8TEeUg jz7w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:message-id:date:user-agent :references:in-reply-to:subject:cc:to:from; bh=qWDr1ua72gnfVwpXv4guQkm8QJ98ufV3l6oWVax8RBo=; b=c5j7KuIpsMPUls+aIbylVclUjLI8YEAnzVVSGzwl1mKQK2FIVtbRx6Js5TfyPsHy2B prd/xTJtLrzpwonICQ/0kN40ARZxHabeW1XVImWL318j96a+6yRenJyAm1+k1vg966mv BYo0coZbyfuCE+F7xsj5LVhNFt0zF30K2kmYzlGmmEVgEiWXR44mEtRrH2pbg438Nhqt wPU30VrbimaP1jYMG3XRQeQNIiE1IuvX/heM5pJEZP6PbgeH4mfTfGKSiiJ6nQw51Xrn DsaYxP6cWgFJG3OWietKmGZuRRSRefa04rs1THYmzLFkl67yJ9Yf/EPqBWM00uj4PV4l EhPA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id l70si222819pje.68.2019.07.01.11.26.04; Mon, 01 Jul 2019 11:26:19 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726798AbfGASZl (ORCPT + 99 others); Mon, 1 Jul 2019 14:25:41 -0400 Received: from anholt.net ([50.246.234.109]:55472 "EHLO anholt.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726247AbfGASZl (ORCPT ); Mon, 1 Jul 2019 14:25:41 -0400 Received: from localhost (localhost [127.0.0.1]) by anholt.net (Postfix) with ESMTP id 1BD8A10A1260; Mon, 1 Jul 2019 11:25:40 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at anholt.net Received: from anholt.net ([127.0.0.1]) by localhost (kingsolver.anholt.net [127.0.0.1]) (amavisd-new, port 10024) with LMTP id vMEmiYf2-qnV; Mon, 1 Jul 2019 11:25:38 -0700 (PDT) Received: from eliezer.anholt.net (localhost [127.0.0.1]) by anholt.net (Postfix) with ESMTP id C7B8610A0431; Mon, 1 Jul 2019 11:25:38 -0700 (PDT) Received: by eliezer.anholt.net (Postfix, from userid 1000) id 566E62FE21CE; Mon, 1 Jul 2019 11:25:38 -0700 (PDT) From: Eric Anholt To: Rob Clark , dri-devel@lists.freedesktop.org, linux-arm-msm@vger.kernel.org Cc: Rob Clark , aarch64-laptops@lists.linaro.org, linux-pm@vger.kernel.org, Stephen Boyd , Michael Turquette , linux-kernel@vger.kernel.org, Andy Gross , freedreno@lists.freedesktop.org, linux-clk@vger.kernel.org Subject: Re: [PATCH 1/5] clk: inherit clocks enabled by bootloader In-Reply-To: <20190630150230.7878-2-robdclark@gmail.com> References: <20190630150230.7878-1-robdclark@gmail.com> <20190630150230.7878-2-robdclark@gmail.com> User-Agent: Notmuch/0.22.2+1~gb0bcfaa (http://notmuchmail.org) Emacs/26.1 (x86_64-pc-linux-gnu) Date: Mon, 01 Jul 2019 11:25:36 -0700 Message-ID: <8736jpzk67.fsf@anholt.net> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --=-=-= Content-Type: text/plain Rob Clark writes: > From: Rob Clark > > The goal here is to support inheriting a display setup by bootloader, > although there may also be some non-display related use-cases. > > Rough idea is to add a flag for clks and power domains that might > already be enabled when kernel starts, and which should not be > disabled at late_initcall if the kernel thinks they are "unused". > > If bootloader is enabling display, and kernel is using efifb before > real display driver is loaded (potentially from kernel module after > userspace starts, in a typical distro kernel), we don't want to kill > the clocks and power domains that are used by the display before > userspace starts. > > Signed-off-by: Rob Clark Raspberry Pi is carrying downstream hacks to do similar stuff, and it would be great to see CCF finally support this. --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEE/JuuFDWp9/ZkuCBXtdYpNtH8nugFAl0aUCAACgkQtdYpNtH8 nui9RBAAnmVfgiACM7S2QSkoxsuAb+2zUIY7QTEdS6E25ZqZzNmGPmMTISp/XxAA NLGeI6XUfygjG9EKv0VFXWqqYEmZakub2aySsyMeMen+ERcERfS48CJN5gt6iMdK GgOmuPB7ZzmNJBYtFtDi8gLluTJeN4IyPMSEro8rBE0PQbaQ58DBWHjFlpENnfP3 H3UiaafiPLs3FlkHoqat22EFkaykUwcuDHzrDhvHBeef8AQ/daG2wUJxqeMG09y7 f7w+vnehZUJD05TbUhGp27SspqL9zGv9+ZxMDnkT80TOjECCP9pux7uH/To3XF9u E/3Frxf4vRYWIMpdp291UCWqbxmeUojDqbKijBMOlrdWEmXAZZhgfGfJfJ+yBsmI Jo1lmr8/H3HU86e73OxYvMk1xMu3MJJIcaY60MNJ1TTKYMoEjMoOxGJC3GzzePzp 77f2Rj5qoyLXDhFIYjtAGHUoxsGbqTCZAVl3blEUUKxZ7NXcwkGnEdxamFcNGfR9 IEInM+oyCsjq1XebE0Oq/Rgst/w15nRblNpQyJFU7iQhMGo44wb1G4baTQ3Y+Zh0 YXHwx/goMr8Y3CufPNWSsVGRVQpKu187uSBQ99zlcF/cpceXvGPJqMQQGE7G34lV 2CMtjR2tL0dlpjYMTfYMRo7i/MevZYi2GyVWrzEJTeqmMVWthuc= =gR9l -----END PGP SIGNATURE----- --=-=-=--