From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1759021AbcGKOh0 (ORCPT ); Mon, 11 Jul 2016 10:37:26 -0400 Received: from mail-yw0-f196.google.com ([209.85.161.196]:35436 "EHLO mail-yw0-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1758927AbcGKOhY (ORCPT ); Mon, 11 Jul 2016 10:37:24 -0400 Date: Mon, 11 Jul 2016 09:37:16 -0500 From: Rob Herring To: Marc Zyngier Cc: linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-rockchip@lists.infradead.org, Heiko Stuebner , Will Deacon , cf@rock-chips.com, huangtao@rock-chips.com, jay.xu@rock-chips.com, Caesar Wang , David Wu , Brian Norris , Mark Rutland Subject: Re: [PATCH v2] drivers/perf: arm-pmu: Handle per-interrupt affinity mask Message-ID: <20160711143716.GA9267@rob-hp-laptop> References: <1467815627-4061-1-git-send-email-marc.zyngier@arm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1467815627-4061-1-git-send-email-marc.zyngier@arm.com> User-Agent: Mutt/1.5.24 (2015-08-30) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 > --- > * 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(-)