Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752179AbbH2BqG (ORCPT ); Fri, 28 Aug 2015 21:46:06 -0400 Received: from mga09.intel.com ([134.134.136.24]:7181 "EHLO mga09.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751691AbbH2BqD (ORCPT ); Fri, 28 Aug 2015 21:46:03 -0400 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.17,428,1437462000"; d="scan'208";a="634346636" Subject: Re: [RFC PATCH 1/2] x86: PCI bus specific MSI operations To: Thomas Gleixner , Keith Busch References: <1440715146-16578-1-git-send-email-keith.busch@intel.com> <1440715146-16578-2-git-send-email-keith.busch@intel.com> Cc: x86@kernel.org, LKML , Bryan Veal , Dan Williams , linux-pci@vger.kernel.org From: Jiang Liu Organization: Intel Message-ID: <55E10ED8.1010809@linux.intel.com> Date: Sat, 29 Aug 2015 09:46:00 +0800 User-Agent: Mozilla/5.0 (Windows NT 6.2; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.1.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1324 Lines: 28 On 2015/8/29 0:54, Thomas Gleixner wrote: > On Thu, 27 Aug 2015, Keith Busch wrote: > >> This patch adds struct x86_msi_ops to x86's PCI sysdata. This gives a >> host bridge driver the option to provide alternate MSI Data Register >> and MSI-X Table Entry programming for devices in PCI domains that do >> not subscribe to usual "IOAPIC" format. > > I'm not too fond about more ad hoc indirection and special casing. We > should be able to handle this with hierarchical irq domains. Jiang > might have an idea how to do that for your case. Hi Thomas and Keith, I have noticed this patch set yesterday, but still investigating the better way to handle this. Basically I think we should build per-domain/per-bus/per-device PCI MSI irqdomain, just like what ARM have done. That will give us a clear picture. But I need more information about the hardware topology to correctly build up the hierarchical irqdomain, especially the relationship between the embedded host bridge and IOMMU units. Keith, could you please help to provide some doc with hardware details? Thanks! Gerry -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/