Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp261905imu; Thu, 8 Nov 2018 08:00:22 -0800 (PST) X-Google-Smtp-Source: AJdET5cpWAiO/hQ/21YDgqPlsWr3jgEOjMyuRUGZS9tgTtfWmovbXiC7PP+fE8AeIFHF5aDL8vS9 X-Received: by 2002:a63:f960:: with SMTP id q32-v6mr4097910pgk.213.1541692822785; Thu, 08 Nov 2018 08:00:22 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1541692822; cv=none; d=google.com; s=arc-20160816; b=mMisudhKF7HeohGHIrJG6N0GSzh4ZDbBP3g3I36ydNSn4Vm5ORseOOzERfLTj5zk7K rW6Sp/IOjXCY7F0mlRNupd9UZe12dLXiaPAagBlOubN8u57MysuWKNUNEMO0/YJxYwbK UkGyeDBolar3iyjoSuMmfZ23baPLe8LH/mHFVWoch5kcylq1/KG2Ad5ie9uhHpHrhEym 3y+Qr9boIuvSQFiY2j9QjmzdgLrcOXo7mERXC1Afw4LDRJchqeUlfzGm73s04+tR4e5V hef38wZMW99wiu89SYyG45DqB960sGrjXrsFD6ZzzOaOpG9Y2etY2JOWFyzXGUhFY1hF /Dkw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :organization:references:in-reply-to:message-id:subject:cc:to:from :date; bh=Auio27LqTxLOI4bcdU0AX/QnT+E89Lo8HQWc6+bBOvM=; b=cXlvYJTy/UPHAGb79XDpYaVrv5fhmUclInXLJUd7rNNIYP0LqtZqGqYa2JydOgfBZ4 G7tpMNlfMy02eeHLvzXAFMo02Wv/dlvfhXjbaT7pNpk3OUmwDt2HnUrQ/fXrFQoKeo1M /Xiz2Ec0inGJQMu/FEGK8A1wa5udMJeNSELVlhZsWVQr4wh3aPdGsQToZYibl7fanoQn OdZIE8Igug2rgGox6XqO4es5sMRvMgAdMIW+IarIcCrOhu3AsGCaRQVaN7gOu+EpEUcj 1rl3E0an3IMYzDp/kxgi/QzKmNkIVhGPfwxBeJitjMjM3wlulkpKsId7zszWo5dRjSuY TEpQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d13-v6si3850946pgv.84.2018.11.08.08.00.05; Thu, 08 Nov 2018 08:00:22 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727029AbeKIBfv convert rfc822-to-8bit (ORCPT + 99 others); Thu, 8 Nov 2018 20:35:51 -0500 Received: from mail.bootlin.com ([62.4.15.54]:44216 "EHLO mail.bootlin.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726700AbeKIBfv (ORCPT ); Thu, 8 Nov 2018 20:35:51 -0500 Received: by mail.bootlin.com (Postfix, from userid 110) id 0DCF7207B8; Thu, 8 Nov 2018 16:59:41 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mail.bootlin.com X-Spam-Level: X-Spam-Status: No, score=-1.0 required=5.0 tests=ALL_TRUSTED,SHORTCIRCUIT shortcircuit=ham autolearn=disabled version=3.4.2 Received: from windsurf (aaubervilliers-681-1-30-49.w90-88.abo.wanadoo.fr [90.88.15.49]) by mail.bootlin.com (Postfix) with ESMTPSA id 74344206D8; Thu, 8 Nov 2018 16:59:40 +0100 (CET) Date: Thu, 8 Nov 2018 16:59:40 +0100 From: Thomas Petazzoni To: Robin Murphy Cc: Rob Herring , Will Deacon , Mark Rutland , devicetree@vger.kernel.org, Kumar Gala , Grant Likely , Arnd Bergmann , Tom Rini , Frank Rowand , Linus Walleij , Pantelis Antoniou , "linux-kernel@vger.kernel.org" , Bjorn Andersson , Mark Brown , Geert Uytterhoeven , Jonathan Cameron , Olof Johansson , linuxppc-dev , "moderated list:ARM/FREESCALE IMX / MXC ARM ARCHITECTURE" Subject: Re: [PATCH 13/36] dt-bindings: arm: Convert PMU binding to json-schema Message-ID: <20181108165940.64ad52f1@windsurf> In-Reply-To: <08738708-1c38-fab7-eb34-694e5f4d4b7e@arm.com> References: <20181005165848.3474-1-robh@kernel.org> <20181005165848.3474-14-robh@kernel.org> <20181009115713.GE6248@arm.com> <08738708-1c38-fab7-eb34-694e5f4d4b7e@arm.com> Organization: Bootlin (formerly Free Electrons) X-Mailer: Claws Mail 3.15.1-dirty (GTK+ 2.24.32; x86_64-redhat-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8BIT Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello, I'm jumping into the discussion, but I clearly don't have all the context of the discussion. On Thu, 8 Nov 2018 15:54:31 +0000, Robin Murphy wrote: > >> This seems like a semantic different between the two representations, or am > >> I missing something here? Specifically, both the introduction of > >> interrupts-extended and also dropping any mention of using a single per-cpu > >> interrupt (the single combined case is no longer support by Linux; not sure > >> if you want to keep it in the binding). > > > > In regards to no support for the single combined interrupt, it looks > > like Marvell Armada SoCs at least (armada-375 is what I'm looking at) > > have only a single interrupt. Though the interrupt gets routed to MPIC > > which then has a GIC PPI. So it isn't supported or happens to work > > still since it is a PPI? > > Well, the description of the MPIC in the Armada XP functional spec says: > > "Interrupt sources ID0–ID28 are private events per CPU. Thus, each > processor has a different set of events map interrupts ID0–ID28." > > Odd grammar aside, that would seem to imply that <&mpic 3> is a per-cpu > interrupt itself, thus AFAICS so long as it's cascaded to a GIC PPI and > not an SPI then there's no issue there. The Armada XP does not have a GIC at all, but only a MPIC as the primary interrupt controller. However the Armada 38x has both a GIC and a MPIC, and indeed the parent interrupts of the MPIC towards the GIC is: interrupts = ; Best regards, Thomas -- Thomas Petazzoni, CTO, Bootlin Embedded Linux and Kernel engineering https://bootlin.com