Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp8834334ybi; Tue, 23 Jul 2019 16:19:32 -0700 (PDT) X-Google-Smtp-Source: APXvYqxuzDU5452lTSUXXTvGmQ/xxwHH7I94N5m1pCRh7g4LwuupzUW8PJWXfIE28UbwTV+Q+CFt X-Received: by 2002:a17:902:8f81:: with SMTP id z1mr81060720plo.290.1563923972623; Tue, 23 Jul 2019 16:19:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1563923972; cv=none; d=google.com; s=arc-20160816; b=anRVhONu87NnI2b4J2rlU1Yk2sN5d/cTEjkWhOpR7gLw1kEPim4tQ4ibpEpVxcQBg9 TNNgg5ZT/dusveFDVp1o4rAoxzajL4BrqLb2iVEkUaeVjIZj+lNo8R1F30m1fIMvByQF CA8ev+nV1yP4Gve6et/raris55TVEHgDaNBO4EqBpeGG/24cV/0n9wjZb0SEOvO4PKiB h65oFjAYbSXtab+m3H8zNW/0gNC+UttfBYFhJCX2CdXVz2R5QEEPQHNqpN8ancmqiCzC 2wny6Qv7lraghIXFFEK67Xy1ns3pVkOaGy0vS7AQKJXQDEiKgsJXOM5INFm6ALcYcCor IbMw== 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:dkim-signature; bh=v2FDDSUbtY7+5lQxj8CvY2KwoTuATkdmytGBYizH/w8=; b=wrv9TTL3FGHCWSOcXP0LFoauQT5mFsU31aAEecKmfXkJGQLqai7VLRi8qPTsjZILwi ZcGORT6No2D7eZPjxl72TUeOarFw8OhimmwWLLYQzeIWM0C1yzvtYRM7HhnXwnVT38CK haMx0wXAkNLVwfbjZR1atrr+4snw6kZB1kMmON8PmWvtyIlMlTrJlzWJLfiDyDtMseVW DH55xUnbi02I8ax6+vYdjxFFCUwutF7i0I7xxT2TU4rn7vPaIysdzKU48RMCOOt/Cx5z ioEx8f0+GstooJ5BVjd4J9au1jTuqDCjUIcMpIQkaX9Nn9Fs67FU3wdbGF0MLE/wIbpM zJkA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=qpdlQrXM; 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; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id h8si13544846pgc.402.2019.07.23.16.19.16; Tue, 23 Jul 2019 16:19:32 -0700 (PDT) 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; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=qpdlQrXM; 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; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2390021AbfGWNAa (ORCPT + 99 others); Tue, 23 Jul 2019 09:00:30 -0400 Received: from lelv0142.ext.ti.com ([198.47.23.249]:51742 "EHLO lelv0142.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2390003AbfGWNA3 (ORCPT ); Tue, 23 Jul 2019 09:00:29 -0400 Received: from lelv0265.itg.ti.com ([10.180.67.224]) by lelv0142.ext.ti.com (8.15.2/8.15.2) with ESMTP id x6ND0Fm1009552; Tue, 23 Jul 2019 08:00:15 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1563886815; bh=v2FDDSUbtY7+5lQxj8CvY2KwoTuATkdmytGBYizH/w8=; h=Subject:To:CC:References:From:Date:In-Reply-To; b=qpdlQrXMzdmnxTxhAKPn3SppE/9DFnfOXvdFo39d2gDDC9a9QwynknJhG0kIpGg2e wdE3oFSIhVYZWsvBP2Bjf8IFhJiGCzCtSzqXYhsEZbMF0kcuTynsTHvFShQ9TzVsgu yVFWHc/zesbn5qIcteIfXDYnXkRnSUZ4/dbQ+fb0= Received: from DLEE114.ent.ti.com (dlee114.ent.ti.com [157.170.170.25]) by lelv0265.itg.ti.com (8.15.2/8.15.2) with ESMTPS id x6ND0FFT123355 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Tue, 23 Jul 2019 08:00:15 -0500 Received: from DLEE115.ent.ti.com (157.170.170.26) by DLEE114.ent.ti.com (157.170.170.25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1713.5; Tue, 23 Jul 2019 08:00:15 -0500 Received: from lelv0327.itg.ti.com (10.180.67.183) by DLEE115.ent.ti.com (157.170.170.26) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1713.5 via Frontend Transport; Tue, 23 Jul 2019 08:00:15 -0500 Received: from [172.24.190.117] (ileax41-snat.itg.ti.com [10.172.224.153]) by lelv0327.itg.ti.com (8.15.2/8.15.2) with ESMTP id x6ND0AM9021383; Tue, 23 Jul 2019 08:00:13 -0500 Subject: Re: [PATCH 3/9] dt-bindings: interrupt-controller: arm, gic-v3: Describe ESPI range support To: Marc Zyngier , Thomas Gleixner , Jason Cooper , Julien Thierry , Rob Herring CC: , References: <20190723104437.154403-1-maz@kernel.org> <20190723104437.154403-4-maz@kernel.org> From: Lokesh Vutla Message-ID: <04e80def-c8e3-a403-036e-2a64db935ed4@ti.com> Date: Tue, 23 Jul 2019 18:29:29 +0530 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.7.0 MIME-Version: 1.0 In-Reply-To: <20190723104437.154403-4-maz@kernel.org> Content-Type: text/plain; charset="utf-8" Content-Language: en-US Content-Transfer-Encoding: 7bit X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 23/07/19 4:14 PM, Marc Zyngier wrote: > GICv3.1 introduces support for new interrupt ranges, one of them being > the Extended SPI range (ESPI). The DT binding is extended to deal with > it as a new interrupt class. > > Signed-off-by: Marc Zyngier > --- > .../devicetree/bindings/interrupt-controller/arm,gic-v3.yaml | 5 +++-- > 1 file changed, 3 insertions(+), 2 deletions(-) > > diff --git a/Documentation/devicetree/bindings/interrupt-controller/arm,gic-v3.yaml b/Documentation/devicetree/bindings/interrupt-controller/arm,gic-v3.yaml > index c34df35a25fc..98a3ecda8e07 100644 > --- a/Documentation/devicetree/bindings/interrupt-controller/arm,gic-v3.yaml > +++ b/Documentation/devicetree/bindings/interrupt-controller/arm,gic-v3.yaml > @@ -44,11 +44,12 @@ properties: > be at least 4. > > The 1st cell is the interrupt type; 0 for SPI interrupts, 1 for PPI > - interrupts. Other values are reserved for future use. > + interrupts, 2 for interrupts in the Extended SPI range. Other values > + are reserved for future use. Any reason why hardware did not consider extending SPIs from 1020:2043? This way only EPPI would have been introduced. Just a thought. Either ways, just to be consistent with hardware numbering can ESPI range be 3 and EPPI range be 2? Thanks and regards, Lokesh > > The 2nd cell contains the interrupt number for the interrupt type. > SPI interrupts are in the range [0-987]. PPI interrupts are in the > - range [0-15]. > + range [0-15]. Extented SPI interrupts are in the range [0-1023]. > > The 3rd cell is the flags, encoded as follows: > bits[3:0] trigger type and level flags. >