Received: by 2002:ac0:98c7:0:0:0:0:0 with SMTP id g7-v6csp525024imd; Thu, 1 Nov 2018 00:57:35 -0700 (PDT) X-Google-Smtp-Source: AJdET5dCnXwEoVUtKjiE4hGxazaOTcVoGlDlqow70lfj67jhKmsSo8inI7tuJtJbUQ18oi/GmBPJ X-Received: by 2002:a17:902:7201:: with SMTP id ba1-v6mr6682411plb.79.1541059055715; Thu, 01 Nov 2018 00:57:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1541059055; cv=none; d=google.com; s=arc-20160816; b=dY1wFVPbWsytqUl2kqcz8PyS3vsITZf+OBIAbreYB55pggs7yep9uVkCsfSyO9bOlv 4OJMPovt78phg+sC7UvF6Yh9CIWS4FDH9SLELQcb1ZXPagHRd8VZ1vTMnfpE/kYO6uHm V/xvVvDRzultPykm6/m6PZCnuRKQxDeiLO/RVZT0QwfnuJdhxAAuzIsWJynSmSnYKBGr E6eWLiWT8yCuj8wQx+LrJ9t/CR8/YkHt4qDBn6iMD/ww550JXPi1lmjiCTNVkzcb5fwy hRGCq2BBXtD1BimV92r/m3g15BwCNqSMmvvm7MOtZ2VjXh1xSuad9exzz33sAD2YifxX WAxg== 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=VAkII7CKLsgoe3uTdzWtbgF0XnBT2Tex9f7gYXtFUW8=; b=zizyXFH6/3k5x8XPzREL0AFR8V+F8oAhbewytX4xHcNvsVwIZ4tQZpYso91NOw2ljM /9DThRUVnhldkWOENZCkgyuIpvL77SJgJHTvoT2yvftpyFH9k0Bf1F9Zww5Oqgaxc9cR 9rdkgkwZmgSuy5eac1lgRkCdABupVmwz3xTbFrOsa4mWRaVeqS5nLzwOK66Htfd78EiW No8p7BWmpI5Dx33L9J/23d3snAarZZK8wIprY+enFYbI69AodEO1PHytE32XJhhOa3R2 wQ8Tm+NdDz9gbjcfn+NzYVUd0jJyZ0Hh/LYTCtbm27guYdYp8oRyTQdfHg4JstiAcqqY hJOA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=I+pH013F; 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 s1-v6si19346555pfb.148.2018.11.01.00.57.21; Thu, 01 Nov 2018 00:57:35 -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=I+pH013F; 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 S1727823AbeKAQ51 (ORCPT + 99 others); Thu, 1 Nov 2018 12:57:27 -0400 Received: from lelv0143.ext.ti.com ([198.47.23.248]:55188 "EHLO lelv0143.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727704AbeKAQ51 (ORCPT ); Thu, 1 Nov 2018 12:57:27 -0400 Received: from fllv0034.itg.ti.com ([10.64.40.246]) by lelv0143.ext.ti.com (8.15.2/8.15.2) with ESMTP id wA17ss1W074055; Thu, 1 Nov 2018 02:54:54 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1541058894; bh=VAkII7CKLsgoe3uTdzWtbgF0XnBT2Tex9f7gYXtFUW8=; h=Subject:To:CC:References:From:Date:In-Reply-To; b=I+pH013FXjri/kM3wzCQ2qL3+18DCl8ZzVKsr3qiSq762VDPYKTgUB1/wqJEB4tLY odCElDQt3lzSgag35N4Z7LaC1StXn8qWnKR6kFoLgXfwHps6StUOn+CPrJGK+9Ivos iQTSpG6PHnzbShtD//LV+H3RoWmHWXV0aBVMnGsU= Received: from DLEE102.ent.ti.com (dlee102.ent.ti.com [157.170.170.32]) by fllv0034.itg.ti.com (8.15.2/8.15.2) with ESMTPS id wA17ssXA011053 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Thu, 1 Nov 2018 02:54:54 -0500 Received: from DLEE109.ent.ti.com (157.170.170.41) by DLEE102.ent.ti.com (157.170.170.32) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1466.3; Thu, 1 Nov 2018 02:54:53 -0500 Received: from dflp33.itg.ti.com (10.64.6.16) by DLEE109.ent.ti.com (157.170.170.41) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.1466.3 via Frontend Transport; Thu, 1 Nov 2018 02:54:53 -0500 Received: from [192.168.2.10] (ileax41-snat.itg.ti.com [10.172.224.153]) by dflp33.itg.ti.com (8.14.3/8.13.8) with ESMTP id wA17soik022460; Thu, 1 Nov 2018 02:54:51 -0500 Subject: Re: [PATCH v2 09/10] irqchip: ti-sci-inta: Add support for Interrupt Aggregator driver To: Lokesh Vutla , Marc Zyngier CC: Nishanth Menon , Device Tree Mailing List , Grygorii Strashko , , Sekhar Nori , , Tero Kristo , Rob Herring , Santosh Shilimkar , , Linux ARM Mailing List References: <20181018154017.7112-1-lokeshvutla@ti.com> <20181018154017.7112-10-lokeshvutla@ti.com> <9969f24c-cdb0-1f5c-d0f4-b1c1f587325c@ti.com> <86va5ssrfm.wl-marc.zyngier@arm.com> <63ba5353-8470-b4c1-64a8-a1df5bf48614@ti.com> <86va5myz7t.wl-marc.zyngier@arm.com> <81136b74-4b45-f44b-0168-23d191a4fb5e@ti.com> From: Peter Ujfalusi Message-ID: <49029695-79a0-141b-a9da-9764cb0ed60f@ti.com> Date: Thu, 1 Nov 2018 09:55:12 +0200 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: <81136b74-4b45-f44b-0168-23d191a4fb5e@ti.com> 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 Lokesh, On 10/29/18 3:04 PM, Lokesh Vutla wrote: >>> With the above information, linux should send a message to >>> system-controller using TISCI protocol. After policing the given >>> information, system-controller does the following: >>> - Attaches the interrupt(INTA input) to the device resource index >>> - Muxes the interrupt(INTA input) to corresponding vint(INTA output) >>> - Muxes the vint(INTR input) to GIC irq(INTR output). >> >> Isn't there a 1:1 mapping between *used* INTR inputs and outputs? >> Since INTR is a router, there is no real muxing. I assume that the >> third point above is just a copy-paste error. > > Right, my bad. INTR is just a router and no read muxing. INTR can mux M interrupt inputs to N interrupt outputs. One selects which interrupt input is outputted on the given interrupt output. It is perfectly valid (but not sane) to select the same interrupt input to be routed to _all_ interrupt output for example. Not sure if we are going to use this for anything but 1:1 mapping, but might worth keeping in mind... - Peter Texas Instruments Finland Oy, Porkkalankatu 22, 00180 Helsinki. Y-tunnus/Business ID: 0615521-4. Kotipaikka/Domicile: Helsinki