Received: by 10.223.148.5 with SMTP id 5csp7453032wrq; Thu, 18 Jan 2018 05:46:56 -0800 (PST) X-Google-Smtp-Source: ACJfBosDDiBu6lF1RqZB/dN9f43YDO9YR8fhH2UlshahpaS93bF+VD2JF+TBGaeCi6iN6LgXDJnd X-Received: by 10.98.215.70 with SMTP id v6mr14416684pfl.83.1516283216851; Thu, 18 Jan 2018 05:46:56 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1516283216; cv=none; d=google.com; s=arc-20160816; b=zxSwFesOsdx4CXVNqjxw2l4D7fPxS3LUNfj5to3WuPYx6RIQ+Y/WPHupErfZqzrLH1 kSoUB//Er19Nwyl88pi04lBu1zYoEkvYZFTj8O3JVKHFzRSrTJEP+7F2cqMq5xITOuhO xk1X+EK0+b5NIX0+Cc3iYG+4D4NNrHMGusCrH0gXaOgvzaniXnuS0MBOBvwXiL2gpyVX MSj7ZLuFpVvaY6GxHTz1qs9WRn0fZXHMoIAHbnuIzVIkf8BzBlfHaa/gjG0SK8SX8USz 3hzFLxZU+7xPgI5AKKfOpPHkufqyUaThVUqRK8PkYzjRabuAUF0m+XU/u0E7xuTF8jOI fDkg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:arc-authentication-results; bh=ytaeiHtWqWKqypMk2FUPAlrJxe16ry6LertXaWaxxZk=; b=iXLZVvxLozj+b8Z3y9wgIx47zp1tRjB9UKDjbavnqCf+GIXxW9YVUZoompL0CYv+iC Q43B0IYQk+G02V7KrV/NaajZNudSVN7MvzA5LItjuMRYlfO9O1358BWUdH3H4SInzN7L 7oDwDuQhg5iDJGRYJXzDyGeZwjiFDcZNaeAVORWmOpVISsyb/EzEYpSq+kHtSj4JVFhO 6cQGntJnIaabCzbIPgTBAt//QoAc52wgLlo1aFTozq1dcbSqR9gWl1Ge+ipLd72Oca92 rbLldvA0UDYeK4n6Mv2KAiujVEpks1+E72wFVcLFhjV8IkPuv6FNnRIEsFJ+0GzkeEO7 1xvw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id k9si231936pgo.748.2018.01.18.05.46.42; Thu, 18 Jan 2018 05:46:56 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756363AbeARNp3 (ORCPT + 99 others); Thu, 18 Jan 2018 08:45:29 -0500 Received: from foss.arm.com ([217.140.101.70]:55732 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756185AbeARNp2 (ORCPT ); Thu, 18 Jan 2018 08:45:28 -0500 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.72.51.249]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 6DBAC1435; Thu, 18 Jan 2018 05:45:28 -0800 (PST) Received: from red-moon (red-moon.cambridge.arm.com [10.1.206.55]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id BB7EA3F487; Thu, 18 Jan 2018 05:45:26 -0800 (PST) Date: Thu, 18 Jan 2018 13:46:31 +0000 From: Lorenzo Pieralisi To: Arnd Bergmann , vigneshr@ti.com, kishon@ti.com, niklas.cassel@axis.com Cc: Bjorn Helgaas , Jingoo Han , Peter Robinson , linux-pci@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] PCI: dwc: dra7xx: add back CONFIG_PCI dependency for endpoint Message-ID: <20180118134631.GA11777@red-moon> References: <20180118131612.871559-1-arnd@arndb.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180118131612.871559-1-arnd@arndb.de> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Jan 18, 2018 at 02:15:54PM +0100, Arnd Bergmann wrote: > It was a nice idea to split out the PCI host and endpoint mode configuration > into separate options. Unfortunately it doesn't build: > > drivers/pci/dwc/pci-dra7xx.c:229:11: error: 'pci_irqd_intx_xlate' undeclared here (not in a function) It is two series tripping over each others in my pci/dwc branch and the kbuild bot did not manage to test the merged result with a config that fails - so here we go. Niklas, Vignesh, Kishon, is this the way you want to get this fixed ? Otherwise please send a patch asap on top of my pci/dwc branch. Thanks, Lorenzo > This is certainly a fixable problem, but since it's clear that this > configuration was never tested, let's maybe revert back to the > dependency for now, until it can be done in a way that works > better. > > Fixes: b052835c6385 ("PCI: dwc: dra7xx: Refactor Kconfig and Makefile handling for host/ep mode") > Signed-off-by: Arnd Bergmann > --- > drivers/pci/dwc/Kconfig | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/pci/dwc/Kconfig b/drivers/pci/dwc/Kconfig > index 0fb96c7754de..540419527a92 100644 > --- a/drivers/pci/dwc/Kconfig > +++ b/drivers/pci/dwc/Kconfig > @@ -36,7 +36,7 @@ config PCI_DRA7XX_HOST > config PCI_DRA7XX_EP > bool "TI DRA7xx PCIe controller Endpoint Mode" > depends on SOC_DRA7XX || COMPILE_TEST > - depends on PCI_ENDPOINT > + depends on PCI && PCI_ENDPOINT > depends on OF && HAS_IOMEM && TI_PIPE3 > select PCIE_DW_EP > select PCI_DRA7XX > -- > 2.9.0 >