[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20160711143716.GA9267@rob-hp-laptop>
Date: Mon, 11 Jul 2016 09:37:16 -0500
From: Rob Herring <robh@...nel.org>
To: Marc Zyngier <marc.zyngier@....com>
Cc: linux-kernel@...r.kernel.org, linux-arm-kernel@...ts.infradead.org,
devicetree@...r.kernel.org, linux-rockchip@...ts.infradead.org,
Heiko Stuebner <heiko@...ech.de>,
Will Deacon <will.deacon@....com>, cf@...k-chips.com,
huangtao@...k-chips.com, jay.xu@...k-chips.com,
Caesar Wang <wxt@...k-chips.com>,
David Wu <david.wu@...k-chips.com>,
Brian Norris <briannorris@...omium.org>,
Mark Rutland <mark.rutland@....com>
Subject: Re: [PATCH v2] drivers/perf: arm-pmu: Handle per-interrupt affinity
mask
On Wed, Jul 06, 2016 at 03:33:47PM +0100, Marc Zyngier wrote:
> On a big-little system, PMUs can be wired to CPUs using per CPU
> interrups (PPI). In this case, it is important to make sure that
> the enable/disable do happen on the right set of CPUs.
>
> So instead of relying on the interrupt-affinity property, we can
> use the actual percpu affinity that DT exposes as part of the
> interrupt specifier. The DT binding is also updated to reflect
> the fact that the interrupt-affinity property shouldn't be used
> in that case.
>
> Signed-off-by: Marc Zyngier <marc.zyngier@....com>
> ---
> * From v1:
> - propagate the error if irq_get_percpu_devid_partition fails
>
> Documentation/devicetree/bindings/arm/pmu.txt | 4 +++-
I acked v1, please add acks.
Rob
> drivers/perf/arm_pmu.c | 27 ++++++++++++++++++++++-----
> 2 files changed, 25 insertions(+), 6 deletions(-)
Powered by blists - more mailing lists