[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20221102053744.jq7dug6oyalu6uhj@vireshk-i7>
Date: Wed, 2 Nov 2022 11:07:44 +0530
From: Viresh Kumar <viresh.kumar@...aro.org>
To: Hector Martin <marcan@...can.st>
Cc: "Rafael J. Wysocki" <rafael@...nel.org>,
Matthias Brugger <matthias.bgg@...il.com>,
Sven Peter <sven@...npeter.dev>,
Alyssa Rosenzweig <alyssa@...enzweig.io>,
Rob Herring <robh+dt@...nel.org>,
Krzysztof Kozlowski <krzysztof.kozlowski+dt@...aro.org>,
Stephen Boyd <sboyd@...nel.org>,
Ulf Hansson <ulf.hansson@...aro.org>,
Marc Zyngier <maz@...nel.org>,
Mark Kettenis <mark.kettenis@...all.nl>, asahi@...ts.linux.dev,
linux-arm-kernel@...ts.infradead.org, linux-pm@...r.kernel.org,
devicetree@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH v3 3/5] cpufreq: Generalize
of_perf_domain_get_sharing_cpumask phandle format
On 24-10-22, 13:39, Hector Martin wrote:
> of_perf_domain_get_sharing_cpumask currently assumes a 1-argument
> phandle format, and directly returns the argument. Generalize this to
> return the full of_phandle_args, so it can be used by drivers which use
> other phandle styles (e.g. separate nodes). This also requires changing
> the CPU sharing match to compare the full args structure.
>
> Also, make sure to of_node_put(args.np) (the original code was leaking a
> reference).
>
> Signed-off-by: Hector Martin <marcan@...can.st>
> ---
> drivers/cpufreq/mediatek-cpufreq-hw.c | 14 +++++++++-----
> include/linux/cpufreq.h | 28 +++++++++++++++------------
> 2 files changed, 25 insertions(+), 17 deletions(-)
Applied. Thanks.
--
viresh
Powered by blists - more mailing lists