lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date:   Tue, 17 Sep 2019 21:25:27 +0530
From:   Sai Prakash Ranjan <saiprakash.ranjan@...eaurora.org>
To:     Raul Rangel <rrangel@...omium.org>
Cc:     Stephen Boyd <sboyd@...nel.org>,
        Bjorn Andersson <bjorn.andersson@...aro.org>,
        Michael Turquette <mturquette@...libre.com>,
        linux-clk@...r.kernel.org, linux-kernel@...r.kernel.org,
        linux-arm-msm@...r.kernel.org, Rob Clark <robclark@...il.com>,
        Sean Paul <seanpaul@...omium.org>,
        linux-arm-msm-owner@...r.kernel.org
Subject: Re: [RFC] clk: Remove cached cores in parent map during unregister

On 2019-09-17 21:04, Raul Rangel wrote:
> On Mon, Aug 26, 2019 at 02:24:14PM -0700, Stephen Boyd wrote:
>> >
>> > ---8<---
>> > diff --git a/drivers/clk/clk.c b/drivers/clk/clk.c
>> > index c0990703ce54..f42a803fb11a 100644
>> > --- a/drivers/clk/clk.c
>> > +++ b/drivers/clk/clk.c
>> > @@ -3737,6 +3737,37 @@ static const struct clk_ops clk_nodrv_ops = {
>> >         .set_parent     = clk_nodrv_set_parent,
>> >  };
>> >
>> > +static void clk_core_evict_parent_cache_subtree(struct clk_core *root,
>> > +                                               struct clk_core *target)
>> > +{
>> > +       int i;
>> > +       struct clk_core *child;
>> > +
>> > +       if (!root)
>> > +               return;
>> 
>> I don't think we need this part. Child is always a valid pointer.
>> 
> 
> Bjorn or Saiprakash
> Are there any plans to send out Stephen's proposed patch?
> 

Stephen has already sent out an updated patch for this here:

https://lore.kernel.org/lkml/20190828181959.204401-1-sboyd@kernel.org/

Thanks,
Sai

-- 
QUALCOMM INDIA, on behalf of Qualcomm Innovation Center, Inc. is a 
member
of Code Aurora Forum, hosted by The Linux Foundation



Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ