mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Mike Tipton <mdtipton@codeaurora.org>
To: sboyd@kernel.org, mturquette@baylibre.com
Cc: linux-clk@vger.kernel.org, linux-kernel@vger.kernel.org,
	tdas@codeaurora.org
Subject: Re: [PATCH] clk: Add support for enabling/disabling clocks from debugfs
Date: Mon, 20 Jul 2020 19:30:19 -0700	[thread overview]
Message-ID: <d8af2119-1d1e-44b1-a18b-3b99069b1ca0@codeaurora.org> (raw)
In-Reply-To: <20200630003024.6282-1-mdtipton@codeaurora.org>

On 6/29/2020 5:30 PM, Mike Tipton wrote:
> For test and debug purposes, it's often necessary to enable or disable
> clocks from shell. Add a new debugfs file (clk_prepare_enable) that
> calls clk_prepare_enable() when writing "1" and clk_disable_unprepare()
> when writing "0".
> 
> This can have security implications, so only support it when the code
> has been modified to #define CLOCK_ALLOW_WRITE_DEBUGS.
> 
> Signed-off-by: Mike Tipton <mdtipton@codeaurora.org>
> ---
>   drivers/clk/clk.c | 38 ++++++++++++++++++++++++++++++++++----
>   1 file changed, 34 insertions(+), 4 deletions(-)
> 

Friendly reminder.

Thanks,
Mike

  reply	other threads:[~2020-07-21  2:31 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-06-30  0:30 Mike Tipton
2020-07-21  2:30 ` Mike Tipton [this message]
2020-07-24  9:06 ` Stephen Boyd

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=d8af2119-1d1e-44b1-a18b-3b99069b1ca0@codeaurora.org \
    --to=mdtipton@codeaurora.org \
    --cc=linux-clk@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mturquette@baylibre.com \
    --cc=sboyd@kernel.org \
    --cc=tdas@codeaurora.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®