From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751011AbcCHSiy (ORCPT ); Tue, 8 Mar 2016 13:38:54 -0500 Received: from mail-pf0-f173.google.com ([209.85.192.173]:33046 "EHLO mail-pf0-f173.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750754AbcCHSit (ORCPT ); Tue, 8 Mar 2016 13:38:49 -0500 Subject: Re: [PATCH v2 03/15] MIPS: PCI: Compatibility with ARM-like PCI host drivers To: Paul Burton , linux-mips@linux-mips.org, Ralf Baechle References: <1454499045-5020-1-git-send-email-paul.burton@imgtec.com> <1454499045-5020-4-git-send-email-paul.burton@imgtec.com> Cc: Joshua Kinard , Lorenzo Pieralisi , Bjorn Helgaas , Zubair Lutfullah Kakakhel , Jens Axboe , linux-kernel@vger.kernel.org, Yijing Wang , John Crispin , Yinghai Lu From: Florian Fainelli Message-ID: <56DF1BDD.3070800@gmail.com> Date: Tue, 8 Mar 2016 10:37:17 -0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.5.1 MIME-Version: 1.0 In-Reply-To: <1454499045-5020-4-git-send-email-paul.burton@imgtec.com> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 03/02/16 03:30, Paul Burton wrote: > Introduce support for struct hw_pci & the associated pci_common_init_dev > function as used by the PCI drivers written for ARM platforms under > drivers/pci. This is in preparation for reusing the xilinx-pcie driver > on the MIPS Boston board. > > Platforms that make use of this more generic code will need to select > CONFIG_MIPS_GENERIC_PCI. Platforms which don't will continue to work as > they have, with the intent that PCI drivers be migrated towards struct > hw_pci & drivers/pci/ over time. > > Signed-off-by: Paul Burton Tested-by: Florian Fainelli FWIW , with a out of tree (for now) PCIE RC driver written with ARM PCI setup in mind, and this worked like a charm, thanks! -- Florian