Received: by 2002:ac0:98c7:0:0:0:0:0 with SMTP id g7-v6csp6437472imd; Wed, 31 Oct 2018 11:40:51 -0700 (PDT) X-Google-Smtp-Source: AJdET5crVE9JsiwFVHf9IyRyYzRh/G4PVlxAVBtCMY8ZvMlssavsD0u7/IxFUhX35+6ioPdoQ6MD X-Received: by 2002:a63:1c1b:: with SMTP id c27-v6mr4250476pgc.351.1541011251725; Wed, 31 Oct 2018 11:40:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1541011251; cv=none; d=google.com; s=arc-20160816; b=s56qAR1Dla9J0gincOKypktUjoZHAnaTktaz7z6D80h/oiEJjN0cHUNUHHZBfJtgkx J9wfWLSqpclNuBu0tcRfR2xfg64HHCnmrLAQNq5LVAXuxcbznyVtzhAGDSeLvF5NlJLV /NPHWVcOY5BCojrstcDEaRMv6McNS00WiToJlvfJ9zsfBsCUSCar0z/xJIpwVjqdObGd 1ft7wmtEBpdHTMt5kUwvrXAKVesrpYL5kVde8ZmufpeSGrK53KovCoajMnvt/e+63Lwv sl+YOJBcdtN80s3VDarAi/6XfF49nyejScLt1/mJzcSc6jndm1LFjJT7YzN33YHzZ6D+ jtHg== 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:organization:from:references:cc:to:subject :dkim-signature; bh=W3t2f2bAdmcADwFbXMNRdktXIiBY2gNdqS+7vxDZuSQ=; b=VthKbr1uz6/DDjsHd5ZD0Kr4IZHJhdi1DTl6PR3xGaLM6Sf+VB9DUw9DJeCXPWB1Nj VeAFdiBSrsgRWC5kxuhTj5YtAZVAyF6D0oaZh1wLkbdTkwea7AaOnABbQA+bzhAs/VIF 4RVeXRROcCG0mM/99QNwiCYAefizM7Z0YwboGoC+ELcNRO3phZc/SOIguSsAYO2trR8y iVoDVxKT2RuKxLq+dT0KBUey2xH47TuWZubLfbDmWxRLl5I2Tmr97WZ2sUOgZ3buEGA5 EqLW/dXP4VqnKYC80azBGthhAIvlQTuNdH/EfKcFVjgo0V9bfCaAUMdSoD8zFTTqosrw gJtA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@oracle.com header.s=corp-2018-07-02 header.b=NC2b1aoQ; 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=NONE sp=NONE dis=NONE) header.from=oracle.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id u23-v6si27748296pgg.410.2018.10.31.11.40.35; Wed, 31 Oct 2018 11:40:51 -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=@oracle.com header.s=corp-2018-07-02 header.b=NC2b1aoQ; 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=NONE sp=NONE dis=NONE) header.from=oracle.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730425AbeKADhz (ORCPT + 99 others); Wed, 31 Oct 2018 23:37:55 -0400 Received: from aserp2120.oracle.com ([141.146.126.78]:50220 "EHLO aserp2120.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730334AbeKADhz (ORCPT ); Wed, 31 Oct 2018 23:37:55 -0400 Received: from pps.filterd (aserp2120.oracle.com [127.0.0.1]) by aserp2120.oracle.com (8.16.0.22/8.16.0.22) with SMTP id w9VIYWtf173658; Wed, 31 Oct 2018 18:38:05 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=subject : to : cc : references : from : message-id : date : mime-version : in-reply-to : content-type : content-transfer-encoding; s=corp-2018-07-02; bh=W3t2f2bAdmcADwFbXMNRdktXIiBY2gNdqS+7vxDZuSQ=; b=NC2b1aoQMHRIkQIRqr81MQedctFvMWuxs5KDBqryglFuTmYfa4BhSN/ubSxRalirD6y8 68XPu4J3L7mDka3snGD6+tJtZao3++7s9n2QdHdlHfDlXggiEl9b9LxoHSgSRKIm3joV P5km5AJ+arexpFLk5NWnWX+d2SMMxYeNoeAXhfrQwoR9kJyEy/JjXN2aonaWBWZtikxi GGUf9WsSwn3XjwzsQIKVUBOq3716nYNU/LiOJWiJz6gRHzflWTFzCiNgMM27BKA9wTRp qcduCiPQsp5w1AzXireXmM3bs7YEDcD0xK1iQgz0eF8Gz2jmsD13LPolzoZbowklb+Nt 6w== Received: from aserv0022.oracle.com (aserv0022.oracle.com [141.146.126.234]) by aserp2120.oracle.com with ESMTP id 2ncfyq4xh7-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 31 Oct 2018 18:38:05 +0000 Received: from aserv0122.oracle.com (aserv0122.oracle.com [141.146.126.236]) by aserv0022.oracle.com (8.14.4/8.14.4) with ESMTP id w9VIc4cO008204 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 31 Oct 2018 18:38:04 GMT Received: from abhmp0007.oracle.com (abhmp0007.oracle.com [141.146.116.13]) by aserv0122.oracle.com (8.14.4/8.14.4) with ESMTP id w9VIc3Ia019232; Wed, 31 Oct 2018 18:38:03 GMT Received: from [10.209.243.127] (/10.209.243.127) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Wed, 31 Oct 2018 11:38:03 -0700 Subject: Re: [PATCH v2 09/10] irqchip: ti-sci-inta: Add support for Interrupt Aggregator driver To: Marc Zyngier , Grygorii Strashko , Lokesh Vutla Cc: Nishanth Menon , Santosh Shilimkar , Rob Herring , tglx@linutronix.de, jason@lakedaemon.net, Linux ARM Mailing List , linux-kernel@vger.kernel.org, Tero Kristo , Sekhar Nori , Device Tree Mailing List , Peter Ujfalusi 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> <2369ea50-55db-c97b-5b43-99d572c97dc9@ti.com> From: Santosh Shilimkar Organization: Oracle Corporation Message-ID: <18df8960-9165-ba50-2c25-9f00d32198e8@oracle.com> Date: Wed, 31 Oct 2018 11:38:00 -0700 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Proofpoint-Virus-Version: vendor=nai engine=5900 definitions=9063 signatures=668683 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=0 malwarescore=0 phishscore=0 bulkscore=0 spamscore=0 mlxscore=0 mlxlogscore=999 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1807170000 definitions=main-1810310152 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 10/31/2018 11:21 AM, Marc Zyngier wrote: > Hi Grygorii, > [...] > > Well, I'm convinced that we do not want a networking driver to be tied > to an interrupt architecture, and that the two should be completely > independent. But that's my own opinion. I can only see two solutions > moving forward: > > 1) You make the IA a real interrupt controller that exposes real > interrupts (one per event), and write your networking driver > independently of the underlying interrupt architecture. > > 2) you make the IA an integral part of your network driver, not exposing > anything outside of it, and limiting the interactions with the IR > *through the standard IRQ API*. You duplicate this knowledge throughout > the other client drivers. > > I believe that (2) would be a massive design mistake as it locks the > driver to a single of the HW (and potentially a single revision of the > firmware) while (1) gives you the required level of flexibility by > hiding the whole event "concept" at a single location. > > Yes, (1) makes you rewrite your existing, out of tree drivers. Oh well... > My preference is also not tie the network driver with IA. BTW, this is very standard functionality with other network drivers too. And this is handled using MSI-X. So strong NO for 1) from me as well. regards, Santosh