[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <d8af2119-1d1e-44b1-a18b-3b99069b1ca0@codeaurora.org>
Date: Mon, 20 Jul 2020 19:30:19 -0700
From: Mike Tipton <mdtipton@...eaurora.org>
To: sboyd@...nel.org, mturquette@...libre.com
Cc: linux-clk@...r.kernel.org, linux-kernel@...r.kernel.org,
tdas@...eaurora.org
Subject: Re: [PATCH] clk: Add support for enabling/disabling clocks from
debugfs
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@...eaurora.org>
> ---
> drivers/clk/clk.c | 38 ++++++++++++++++++++++++++++++++++----
> 1 file changed, 34 insertions(+), 4 deletions(-)
>
Friendly reminder.
Thanks,
Mike
Powered by blists - more mailing lists