Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1440661 > unrolled thread

Re: [PATCH v2] drivers/perf: arm-pmu: Handle per-interrupt affinity mask

Started byRob Herring <robh@kernel.org>
First post2016-07-11 16:40 +0200
Last post2016-07-11 16:50 +0200
Articles 2 — 2 participants

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: [PATCH v2] drivers/perf: arm-pmu: Handle per-interrupt affinity  mask Rob Herring <robh@kernel.org> - 2016-07-11 16:40 +0200
    Re: [PATCH v2] drivers/perf: arm-pmu: Handle per-interrupt affinity  mask Will Deacon <will.deacon@arm.com> - 2016-07-11 16:50 +0200

#1440661 — Re: [PATCH v2] drivers/perf: arm-pmu: Handle per-interrupt affinity mask

FromRob Herring <robh@kernel.org>
Date2016-07-11 16:40 +0200
SubjectRe: [PATCH v2] drivers/perf: arm-pmu: Handle per-interrupt affinity mask
Message-ID<rTKxk-8gc-23@gated-at.bofh.it>
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@arm.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(-)

[toc] | [next] | [standalone]


#1440686

FromWill Deacon <will.deacon@arm.com>
Date2016-07-11 16:50 +0200
Message-ID<rTKH1-8jQ-57@gated-at.bofh.it>
In reply to#1440661
On Mon, Jul 11, 2016 at 09:37:16AM -0500, Rob Herring wrote:
> 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@arm.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.

This is queued in arm64/for-next/core, but I spotted your Ack and added
it when I sent the patch to Catalin.

Will

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web