[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-id: <2526828.VLyJR8Xy8B@amdc1976>
Date: Mon, 27 Jul 2015 18:37:08 +0200
From: Bartlomiej Zolnierkiewicz <b.zolnierkie@...sung.com>
To: Viresh Kumar <viresh.kumar@...aro.org>
Cc: Rafael Wysocki <rjw@...ysocki.net>, linaro-kernel@...ts.linaro.org,
linux-pm@...r.kernel.org, rob.herring@...aro.org,
arnd.bergmann@...aro.org, nm@...com, broonie@...nel.org,
mturquette@...libre.com, sboyd@...eaurora.org,
Sudeep.Holla@....com, viswanath.puttagunta@...aro.org,
l.stach@...gutronix.de, thomas.petazzoni@...e-electrons.com,
linux-arm-kernel@...ts.infradead.org, ta.omasab@...il.com,
kesavan.abhilash@...il.com, khilman@...aro.org,
santosh.shilimkar@...cle.com,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
Len Brown <len.brown@...el.com>,
open list <linux-kernel@...r.kernel.org>,
Pavel Machek <pavel@....cz>
Subject: Re: [PATCH V2 10/11] opp: Add helpers for initializing CPU OPPs
Hi,
On Monday, July 27, 2015 10:32:40 AM Viresh Kumar wrote:
> With "operating-points-v2" its possible to tell which devices share
> OPPs. We already have infrastructure to decode that information.
>
> This patch adds following APIs:
> - of_get_cpus_sharing_opps: Returns cpumask of CPUs sharing OPPs (only
> valid with v2 bindings).
> - of_cpumask_init_opp_table: Initializes OPPs for all CPUs present in
> cpumask.
> - of_cpumask_free_opp_table: Frees OPPs for all CPUs present in cpumask.
>
> - set_cpus_sharing_opps: Sets which CPUs share OPPs (only valid with old
> OPP bindings, as this information isn't present in DT).
>
> Signed-off-by: Viresh Kumar <viresh.kumar@...aro.org>
Reviewed-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@...sung.com>
Best regards,
--
Bartlomiej Zolnierkiewicz
Samsung R&D Institute Poland
Samsung Electronics
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists