Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp3656452imu; Mon, 28 Jan 2019 08:32:01 -0800 (PST) X-Google-Smtp-Source: ALg8bN5EXNdAt8az1wGD6f51aWUAnMXsYtCAnvp0xlQKZR8J0FI8n06DJq94ofYSwCahatmIIto9 X-Received: by 2002:a62:4549:: with SMTP id s70mr22289161pfa.233.1548693121758; Mon, 28 Jan 2019 08:32:01 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1548693121; cv=none; d=google.com; s=arc-20160816; b=a4xFeWwwBNER121T8UQsBsCY1fdNM7eJjmJdJ/CVIw+kFpW4n7KRP2WMYRMGGqvd6K OyercBHuBbfJ0wmHRmfkE0nD2xSCqW2LjUeYkaPeM7Q0KpIyHbZzk33czewNK8bqCEVm 0BcC5+wIDRzKVjON2rqMF8PPWaWt3cwSoHdjUwpeHsie1Nk2gfGnTEqkZ8b/YLj9k+bX f+QZT0Fri41LwmhOecAXgoX5L2q40kI6MTFCtWuK+NPtK8Ib0220l33paW2QAVCHw5ts CBs96Qi1H0zda1AUdggNwhPnKBF238vfbh0jGw88hZvToC+vlbwqEtNP+KPKuYuHJ/xD sZoA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=afkxU8B163R9+1TjnSSrQMJVy78j3isfMsboWHelv9c=; b=KbmM3GxoSxZaSHRR9TKNIJJCIfvNRAQgGf4LpW9/Cr1a0ixMF0Mnyo/nuy9HcvqioV pxZOuZKALV85IfJ7cdXIQP2/6EqznLZ0fO8hTd/MZbZqef7jEQgDL+hWYI6U3Vterw6j tTjqIeOWOwDwv3cFdRoslx6QWcZnprDoRXlOKJmU6vY9rZ/vZ1duggpEOAMTr+x0eOke cu1MWquGwjiGenZZfOH/Aq+1GN1NLFL6fCNujHNfW5p0xgXbmpDekNyeBoa6+MX32Naa /3DUK4YXa5Hw2hQVHkA5c4GW/vSgLop091L5kBK/2NMfiLkty12wb8CA3m2QuM/5zsZw t5jg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=QX+ww8Ih; 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 c4si1086845pfi.110.2019.01.28.08.31.45; Mon, 28 Jan 2019 08:32:01 -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; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=QX+ww8Ih; 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 S2389957AbfA1Qas (ORCPT + 99 others); Mon, 28 Jan 2019 11:30:48 -0500 Received: from bombadil.infradead.org ([198.137.202.133]:34040 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2389950AbfA1Q1Y (ORCPT ); Mon, 28 Jan 2019 11:27:24 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20170209; h=In-Reply-To:Content-Type:MIME-Version :References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=afkxU8B163R9+1TjnSSrQMJVy78j3isfMsboWHelv9c=; b=QX+ww8IhFhtKeBdohM4Kq9igW cB/F+MuWirXcCakdZmAGmIAYsYsVZCgmN+q1t2DYLvz/fC2inctyZzkIueewtIbVXYAjI5+8VHtV1 SSXN2gkocydYgcqFuUoaUXRVbp2gxE5uyQU4Ls+yrxnJuum/5NmHlqfkao0TPZWScVsstDuKdhJA2 vlp1p1o035UBEGAa7KNXV/qFsRvEqRGpZXRLgFJ5zZ2cAqd26VXwt4dlb1oYza1lfNRhYJJ7aYuFk p+89DSDOOOwsG+YCghkQX2apFUtQxpiMFQNcry/WLmCqeRL7CzZi6aXifoMklSIisb3l39rKwYcs+ 8D6E/XNUQ==; Received: from hch by bombadil.infradead.org with local (Exim 4.90_1 #2 (Red Hat Linux)) id 1go9kn-0000nL-Ky; Mon, 28 Jan 2019 16:27:21 +0000 Date: Mon, 28 Jan 2019 08:27:21 -0800 From: Christoph Hellwig To: Thomas Bogendoerfer Cc: Christoph Hellwig , Bjorn Helgaas , James Hogan , linux-kernel@vger.kernel.org, linux-mips@vger.kernel.org, linux-pci@vger.kernel.org, Lorenzo Pieralisi , Paul Burton , Ralf Baechle Subject: Re: [PATCH 7/7] MIPS: SGI-IP27: abstract chipset irq from bridge Message-ID: <20190128162721.GA25378@infradead.org> References: <20190124174728.28812-1-tbogendoerfer@suse.de> <20190124174728.28812-8-tbogendoerfer@suse.de> <20190128133317.GD744@infradead.org> <20190128150135.66f85834ab80813e6dc5ddf5@suse.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190128150135.66f85834ab80813e6dc5ddf5@suse.de> User-Agent: Mutt/1.9.2 (2017-12-15) X-SRS-Rewrite: SMTP reverse-path rewritten from by bombadil.infradead.org. See http://www.infradead.org/rpr.html Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Jan 28, 2019 at 03:01:35PM +0100, Thomas Bogendoerfer wrote: > On Mon, 28 Jan 2019 05:33:17 -0800 > Christoph Hellwig wrote: > > > Shouldnt this just use chained irqchip drivers instead? > > you mean using irq_set_chained_handler() ? If yes, this IMHO doesn't look usefull > because it's used for adding a secondary interrupt controller. But what I need > is telling bridge ASIC to direct the xtalk IRQ packet to a specific HUB/HEART/BEDROCK > from the HUB/HEART/BEDROCK specific code. And want to avoid dragging in bridge details > to that specific code. Yes, but don't we have nested interrupt controllers here? Even if they don't really do much in the fast path the setup does look chained to me. Then again I'm not really an expert in the irq handling code nor in this hardware, so maybe Thomas or Marc might have a better idea.