[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date: Tue, 10 Oct 2017 10:38:11 +0100
From: Suzuki K Poulose <Suzuki.Poulose@....com>
To: Leo Yan <leo.yan@...aro.org>
Cc: linux-arm-kernel@...ts.infradead.org, linux-kernel@...r.kernel.org,
mark.rutland@....com, robh@...nel.org, will.deacon@....com,
sudeep.holla@....com, frowand.list@...il.com,
devicetree@...r.kernel.org, Jonathan.Cameron@...wei.com,
marc.zyngier@....com, peterz@...radead.org,
mathieu.poirier@...aro.org
Subject: Re: [PATCH v7 3/6] coresight: of: Use of_cpu_node_to_id helper
On 09/10/17 03:58, Leo Yan wrote:
> Hi Suzuki,
>
> On Fri, Oct 06, 2017 at 11:36:07AM +0100, Suzuki K Poulose wrote:
>> Reuse the new generic helper, of_cpu_node_to_id() to map a
>> given CPU phandle to a logical CPU number.
>>
>> Cc: Leo Yan <leo.yan@...aro.org>
>> Acked-by: Mathieu Poirier <mathieu.poirier@...aro.org>
>> Signed-off-by: Suzuki K Poulose <suzuki.poulose@....com>
>
> Tested-by: Leo Yan <leo.yan@...aro.org>
>
> BTW, I think the function get_cpu_for_node() in the file
> arch/arm64/kernel/topology.c we also can refactor with the same
> function, just reminding for this.
>
Leo,
Thanks for the testing and the pointer. Yes we can move that to
use the new helper. On another take, I found that the arm_pmu
can also use it for pmu_parse_irq_affinity(). I will add
them to the series.
Cheers
Suzuki
Powered by blists - more mailing lists