From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S965486AbbKDNfX (ORCPT ); Wed, 4 Nov 2015 08:35:23 -0500 Received: from www.linutronix.de ([62.245.132.108]:49569 "EHLO Galois.linutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S965398AbbKDNfW (ORCPT ); Wed, 4 Nov 2015 08:35:22 -0500 Date: Wed, 4 Nov 2015 14:34:34 +0100 (CET) From: Thomas Gleixner To: Marc Zyngier cc: Jiang Liu , Jason Cooper , Ma Jun , linux-arm-kernel@lists.infradead.org, linux-pci@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH RFC 0/7] Adding core support for wire-MSI bridges In-Reply-To: <5620B9D6.1010708@arm.com> Message-ID: References: <1444923568-17413-1-git-send-email-marc.zyngier@arm.com> <56205917.7090001@linux.intel.com> <5620B9D6.1010708@arm.com> User-Agent: Alpine 2.11 (DEB 23 2013-08-11) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Linutronix-Spam-Score: -1.0 X-Linutronix-Spam-Level: - X-Linutronix-Spam-Status: No , -1.0 points, 5.0 required, ALL_TRUSTED=-1,SHORTCIRCUIT=-0.0001 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Marc, On Fri, 16 Oct 2015, Marc Zyngier wrote: > On 16/10/15 02:55, Jiang Liu wrote: > > There's a working to enable Intel VMD storage device, which > > has the similar requirement. Basically a PCIe hierarchy is hidden > > behind a parent PCIe device, so we need to use the PCIe irqs on parent > > to de-multiple PCIe IRQs from hidden PCIe devices. Seems a chance for > > consolidation here. > > Do you know if there is a 1-1 mapping between the interrupts seen by the > parent device and those seen by the hidden devices? Or is it a case of > having to demultiplex the MSIs? Looks like the former, but I'd like to > be sure. Yes, it's a demultiplexer. No 1:1 mapping. > Sure, will do when I repost this (probably in a few weeks), and assuming > this fits the bill for Thomas and the MBIGEN folks. It doesn't look that bad and the resulting mbigen stuff is way less horrible than it was before. So I agree this is a possible solution to the problem. Thanks, tglx