From mboxrd@z Thu Jan 1 00:00:00 1970 From: arnd@arndb.de (Arnd Bergmann) Date: Thu, 04 Sep 2014 15:51:22 +0200 Subject: [PATCH 2/2] PCI: Layerscape: Add Layerscape PCIe driver In-Reply-To: <2799937.bNtU9KXR6t@wuerfel> References: <1409856338-1730-1-git-send-email-Minghuan.Lian@freescale.com> <1409856338-1730-2-git-send-email-Minghuan.Lian@freescale.com> <2799937.bNtU9KXR6t@wuerfel> Message-ID: <3055252.byHHPbPjpA@wuerfel> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org On Thursday 04 September 2014 14:14:48 Arnd Bergmann wrote: > > My impression is that you have two distinct MSI controller > implementations, one for LS1021A and the other one for everything > else. How about using separate pcie_host_ops for them, possibly > also moving them into separate files? > One more thing: you should really use the msi-parent property to find the MSI controller: Sooner or later this PCI block is likely to end up in a real product that has GICv2m or GICv3 support, so you will have to pick which of the two MSI controllers to use. Arnd