From mboxrd@z Thu Jan 1 00:00:00 1970 Received: with ECARTIS (v1.0.0; list linux-mips); Thu, 25 Feb 2016 16:43:34 +0100 (CET) Received: from mail.kernel.org ([198.145.29.136]:58440 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by eddie.linux-mips.org with ESMTP id S27011906AbcBYPncmMvEV (ORCPT ); Thu, 25 Feb 2016 16:43:32 +0100 Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 4F3D12026C; Thu, 25 Feb 2016 15:43:29 +0000 (UTC) Received: from localhost (173-27-161-33.client.mchsi.com [173.27.161.33]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id DA13720222; Thu, 25 Feb 2016 15:43:27 +0000 (UTC) Date: Thu, 25 Feb 2016 09:43:26 -0600 From: Bjorn Helgaas To: Paul Burton Cc: Rob Herring , Linux-MIPS , Bharat Kumar Gogada , Michal Simek , Ravikiran Gummaluri , Ley Foon Tan , Arnd Bergmann , Bjorn Helgaas , Phil Edworthy , Scott Branden , Stanimir Varbanov , "linux-kernel@vger.kernel.org" , Duc Dang , "linux-pci@vger.kernel.org" , Gabriele Paoloni , Marc Zyngier , Geert Uytterhoeven , Ray Jui , Hauke Mehrtens Subject: Re: [PATCH v3 6/6] PCI: xilinx: Allow build on MIPS platforms Message-ID: <20160225154326.GE8120@localhost> References: <1454602213-967-1-git-send-email-paul.burton@imgtec.com> <1454602213-967-7-git-send-email-paul.burton@imgtec.com> <20160204175325.GB31145@NP-P-BURTON> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20160204175325.GB31145@NP-P-BURTON> User-Agent: Mutt/1.5.21 (2010-09-15) X-Virus-Scanned: ClamAV using ClamSMTP Return-Path: X-Envelope-To: <"|/home/ecartis/ecartis -s linux-mips"> (uid 0) X-Orcpt: rfc822;linux-mips@linux-mips.org Original-Recipient: rfc822;linux-mips@linux-mips.org X-archive-position: 52261 X-ecartis-version: Ecartis v1.0.0 Sender: linux-mips-bounce@linux-mips.org Errors-to: linux-mips-bounce@linux-mips.org X-original-sender: helgaas@kernel.org Precedence: bulk List-help: List-unsubscribe: List-software: Ecartis version 1.0.0 List-Id: linux-mips X-List-ID: linux-mips List-subscribe: List-owner: List-post: List-archive: X-list: linux-mips On Thu, Feb 04, 2016 at 05:53:25PM +0000, Paul Burton wrote: > On Thu, Feb 04, 2016 at 11:46:28AM -0600, Rob Herring wrote: > > On Thu, Feb 4, 2016 at 10:10 AM, Paul Burton wrote: > > > Allow the xilinx-pcie driver to be built on MIPS platforms. This will be > > > used on the MIPS Boston board. > > > > > > Signed-off-by: Paul Burton > > > > > > --- > > > > > > Changes in v3: > > > - Split out from Boston patchset. > > > > > > Changes in v2: None > > > > > > drivers/pci/host/Kconfig | 2 +- > > > 1 file changed, 1 insertion(+), 1 deletion(-) > > > > > > diff --git a/drivers/pci/host/Kconfig b/drivers/pci/host/Kconfig > > > index 75a6054..0aee193 100644 > > > --- a/drivers/pci/host/Kconfig > > > +++ b/drivers/pci/host/Kconfig > > > @@ -81,7 +81,7 @@ config PCI_KEYSTONE > > > > > > config PCIE_XILINX > > > bool "Xilinx AXI PCIe host bridge support" > > > - depends on ARCH_ZYNQ > > > + depends on ARCH_ZYNQ || MIPS > > > > Why don't you just remove the dependency? Then it gets better build coverage. > > > > Rob > > That seems like a call best made by whomever has to maintain this - if > that's the preferred way to go I'm fine with it. I'm in favor of removing the dependency if possible. I guess Michal would be the person to ack that. Right now (in my current "next" branch), drivers/pci/host/pcie-xilinx.c uses struct hw_pci, which is only defined by arm. Bjorn