Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp8849717ybi; Tue, 23 Jul 2019 16:41:33 -0700 (PDT) X-Google-Smtp-Source: APXvYqwI34q7np4en1Yr9IrKtBDw7MzSMqm702gThZrt/u57gJMKNP82MVxZ0fKpz4HoVVfapZ4Z X-Received: by 2002:a17:90a:26ef:: with SMTP id m102mr83500075pje.50.1563925292855; Tue, 23 Jul 2019 16:41:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1563925292; cv=none; d=google.com; s=arc-20160816; b=RFKIMYb7zuyND/5bs+VqsVITG1wnlUkeR68PSUQs/rloeSSzJwRnKNhaTB4qZbA93G KoByYwXfAZB7uTZMNd+4h5ct6EXPLZnM0W7gkwBKh9gZmglCpP/7nDuF0b0VZlKKC3Ob Vgmn/wmomZVjiqFtfm+bLFqJY3Qs5XD9f8ooe5O2NFCAi20BozaclTZBwAA5bihxtPk5 LmPpm5k4380QSBhtoHMbzfa739pLeb8LXsDWNa6Fm7buvroaJOjFcQbngX5/NW5e3dqO 9peZhxCzB8tbdlu/6YxadbDlUgjOLOqPBdhZyPei7WeeSpO8+RbcQ3Q5pQ33ELljcgkz b27Q== 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=6Dck4gO4V5pnVJYCW/w9BCIIyokmJANz2CsTs7Xl2Y0=; b=xdDEyUBbsD6uYJ7lZv/YZrYBB7q/nQD1kcemXDuy5Z208Sm1ReQ4SepZ/JFDkt5Ax5 qfPLR58KPLrHfipUp192dw+SpKOmPMOnT5PSPWf7TYEJjYg1VAx3Efso5cImGo0XmVpJ TNeRgBGcYUp6M2lhwEgHgtYSL9zX7GNyt2FKzIB5Isa4bhHwH6cYnS9zt2PXyKGy1fBo 8LqpoV5bmLZty0toVAdLNZ1lYcUS/4eU/R0Wrs00NgKWF4vFUZ7bvemveMFyeTRZX/CI piQ48Zrnl8nGo2ofyzxcb9aDH9gt5UcPcUDdH/1vMyxm5bP3Rvt+uaeHqGm6ticKGJR+ WrzQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=umYZMvAK; 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 u190si13625969pgd.547.2019.07.23.16.41.16; Tue, 23 Jul 2019 16:41: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=umYZMvAK; 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 S2390308AbfGWNgD (ORCPT + 99 others); Tue, 23 Jul 2019 09:36:03 -0400 Received: from lelv0142.ext.ti.com ([198.47.23.249]:56042 "EHLO lelv0142.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725827AbfGWNgC (ORCPT ); Tue, 23 Jul 2019 09:36:02 -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 x6NDZjpQ018789; Tue, 23 Jul 2019 08:35:45 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1563888945; bh=6Dck4gO4V5pnVJYCW/w9BCIIyokmJANz2CsTs7Xl2Y0=; h=Subject:To:CC:References:From:Date:In-Reply-To; b=umYZMvAKS0FeHtrhOnvVhYaa883PV5QS5KaqSE/finBhJKdSpfmREJxUSllYNZjr0 DfdUJA6FaH8VNbuOv67vBN1K3sO/14ERt02jHbutq6VLntshkC4bh7zzOW/nKDTXJ/ 6J54n3/b/RsXw5B054GW9ld8onhV++nOJR1Zd4IE= Received: from DFLE109.ent.ti.com (dfle109.ent.ti.com [10.64.6.30]) by lelv0265.itg.ti.com (8.15.2/8.15.2) with ESMTPS id x6NDZj9C037519 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Tue, 23 Jul 2019 08:35:45 -0500 Received: from DFLE103.ent.ti.com (10.64.6.24) by DFLE109.ent.ti.com (10.64.6.30) 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:35:45 -0500 Received: from lelv0327.itg.ti.com (10.180.67.183) by DFLE103.ent.ti.com (10.64.6.24) 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:35:45 -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 x6NDZgYw073346; Tue, 23 Jul 2019 08:35:43 -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> <04e80def-c8e3-a403-036e-2a64db935ed4@ti.com> From: Lokesh Vutla Message-ID: <2c331e5a-d47f-ceac-1c17-412816ff7369@ti.com> Date: Tue, 23 Jul 2019 19:05:01 +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: 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 6:45 PM, Marc Zyngier wrote: > On 23/07/2019 13:59, Lokesh Vutla wrote: >> >> >> 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. > > First, 1020-1023 is the special INTID range. You can't have anything > else there. > > Then, making the range contiguous could imply that the range is also > contiguous in the register space, which isn't possible (note that the > EPPI range does it the other way around -- it is discontinuous in the > INTID space, and yet continuous in the register space). > > Finally, the decision to push the numbering out towards the LPI range > allows the ESPI space to be grown easily up to 4k. okay, got it. > > But frankly, none of that really matters. They are just numbers. > >> Either ways, just to be consistent with hardware numbering can ESPI range be 3 >> and EPPI range be 2? > > Well, the way I see it is that it is more logical for the binding > itself. We already have 0 for SPIs and 1 for PPIs, despite PPIs being > before SPIs in the INTID space. Agreed. Patch looks good to me. FWIW: Reviewed-by: Lokesh Vutla Thanks and regards, Lokesh > > Thanks, > > M. >