Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp279371imu; Thu, 8 Nov 2018 08:13:04 -0800 (PST) X-Google-Smtp-Source: AJdET5cIbPVWrRKuX1oVSEIf5oHmoi1JMSfFIQlYsYL629UOAQ8jmS7i513Sn+1o0EMcFQAwPVNH X-Received: by 2002:a17:902:be0f:: with SMTP id r15-v6mr5002839pls.170.1541693584469; Thu, 08 Nov 2018 08:13:04 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1541693584; cv=none; d=google.com; s=arc-20160816; b=gVAXnEHWLxWzvL9VtVjfSa53CNy2TFvh0Yql81TWf/k4xmQdgaOQwhy7Ji99Id2la5 yCgMF4CTHqiWPX//XowGFU0p4pNNprb6TIRd+hnGPUB7wqy5sgWLKPhEJTP0tLg0uXwg MziClWSSxJb+X+RVywkfjLJg/kHpNm9A+hj92K/wUuo3f+TsDZYgN5tayKzjXbyz2siR mezLxkU6bu0FsoFFL1SfWuTjKMM36+fGxyVF7Bl1M9JEsMnOgV90WzuOaRl0y4mYX3ki tt7KMpeBqB7ufza9Ea5SuFyW+emtPAt8oyNd4tF2TefDI7YtgzLUm6Eu6j1ePQfjseHC EQUg== 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 :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject; bh=ZA55MkaGYxbpXEa4asCMOHkh9jO+Wlp/VfLDitI+yhM=; b=CeA0dWPDSbgk21/a5WVe4zU9S9yKstqKiraCR/CiF1CXXwv2W0w1nN1u3F7+hPDekF OPMAwdYS8hQoZTsh6+SfJUfl0YMsk+gWgBxbSiC1DXyrVKCpdFgJmAITYLEf/YlPuVGL UrWHUnWuAAS8RvfVLwLF46PYemZzmh00hr/BsRYZTU4oDE3jrsJvx4tBPndHU99i0h29 2d1rGm12rj3Q8mP8i0T3dITM4O/8BXh39TrMiPJ2ZPL74MVSVlTFsCh8oPrT2Px2W0Zr 61DrtbskLHapr25UOArs0Pwo3tvLCZ1H7uIMhY8k83VEER0CIPx1fviHF6/3LOY9ZP/0 iUYA== 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 p3si3814565pgi.0.2018.11.08.08.12.47; Thu, 08 Nov 2018 08:13:04 -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 S1727430AbeKIBqo (ORCPT + 99 others); Thu, 8 Nov 2018 20:46:44 -0500 Received: from foss.arm.com ([217.140.101.70]:44484 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726584AbeKIBqo (ORCPT ); Thu, 8 Nov 2018 20:46:44 -0500 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.72.51.249]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id DA14180D; Thu, 8 Nov 2018 08:10:32 -0800 (PST) Received: from [10.1.196.75] (e110467-lin.cambridge.arm.com [10.1.196.75]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id BD8CE3F5CF; Thu, 8 Nov 2018 08:10:29 -0800 (PST) Subject: Re: [PATCH 13/36] dt-bindings: arm: Convert PMU binding to json-schema To: Thomas Petazzoni 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" References: <20181005165848.3474-1-robh@kernel.org> <20181005165848.3474-14-robh@kernel.org> <20181009115713.GE6248@arm.com> <08738708-1c38-fab7-eb34-694e5f4d4b7e@arm.com> <20181108165940.64ad52f1@windsurf> From: Robin Murphy Message-ID: <8eb3b6e5-6dc4-491f-5988-d9cb2031054d@arm.com> Date: Thu, 8 Nov 2018 16:10:28 +0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.2.1 MIME-Version: 1.0 In-Reply-To: <20181108165940.64ad52f1@windsurf> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-GB Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 08/11/2018 15:59, Thomas Petazzoni wrote: > 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 = ; Yeah, perhaps I should have clarified that the XP manual was the only publicly-available one I could find, but I'm inferring from the binding and driver that the MPIC in 375/38x still behaves the same. Robin.