Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp10414536imu; Thu, 6 Dec 2018 00:12:05 -0800 (PST) X-Google-Smtp-Source: AFSGD/WOA+D0A+Cw05pyvDDfQx+wJs3xFk3a9Gq2cEXDHK5bhzC4EEdszFZyZPUOO7xlJi8rFyUg X-Received: by 2002:a62:4bcf:: with SMTP id d76mr28977504pfj.170.1544083925341; Thu, 06 Dec 2018 00:12:05 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1544083925; cv=none; d=google.com; s=arc-20160816; b=DoFxAep+YkFrVwsC/gsKQUhwwzs0/FWvWwXARml3dH+5XRb7yo55fQOaBwvrYHqkVy dw9HwxNSqUtyt8A0Q0fL5Oxd/06t+vmleUCrM1njhhoZw68HlAC+/aX38+zIXwZbPQLl VlGus0XmlGqeexjFFJN4GqgLlTPTmQByGaMjVNLPhrc3F3bmCCKoXkdj35omJjKWvHiz HOx3GDVnk3c3NF/iE/L42zvTjbOiEuRyJdICI0uu48+gRm7tZow7TOJmK7EaxMppYNyT v8VNLQS+M82+CMXsAPqzzTWjQidLfqqcq4x8Z0bNllDRYDBRicNOr18WFVizCeywp9Se Kivw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:message-id:date:in-reply-to :subject:cc:to:from:user-agent:references; bh=/iOVJ6kU9c2V/dtYHFjk1UAydfq+T6x9HozeM1IDB34=; b=jBDohLdExgjC4sNVR/S5RPTQudh0COWM1kVi/XqAJjf+aIbq31ULOtJL/ZvTbbpRFE ORchjbhoy/K0gz9E/rBXAscroMGZnqxcppUM6Z/H8HFgQDKjy5b2O+86V70BxD6N0mA9 7dA6Z74lU3c4oLwBVg3fSNV2iPmBXYj5YVsC8TcvjUxkLio5zR+iLJ0UMyh2RssQrvc6 iUAY2GJTSMiaJf6AxPcvcal/3eNxYId2RhAx0QIWCiBTZiVXJME1DvHddNJn14T5QXQe U0+maCyEOPh2VTNRGirWQ6GDx8ApXCaweOtybTEV5Qi9NtxcD/JsJrKDgxwOLYNKFxNk DziA== 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 j6si21515465pfc.57.2018.12.06.00.11.49; Thu, 06 Dec 2018 00:12:05 -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 S1729287AbeLFIKq (ORCPT + 99 others); Thu, 6 Dec 2018 03:10:46 -0500 Received: from guitar.tcltek.co.il ([192.115.133.116]:49705 "EHLO mx.tkos.co.il" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728909AbeLFIKq (ORCPT ); Thu, 6 Dec 2018 03:10:46 -0500 Received: from tarshish (unknown [10.0.8.6]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx.tkos.co.il (Postfix) with ESMTPS id 7E2B744011A; Thu, 6 Dec 2018 10:10:43 +0200 (IST) References: <20181206074555.19579-1-andrew.smirnov@gmail.com> User-agent: mu4e 1.0; emacs 25.2.2 From: Baruch Siach To: Andrey Smirnov , Robert Hancock Cc: linux-pci@vger.kernel.org, "A.s. Dong" , Richard Zhu , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-imx@nxp.com, bhelgaas@google.com, Leonard Crestez , cphealy@gmail.com, l.stach@pengutronix.de, Trent Piepho Subject: Re: [PATCH] PCI: controller: dwc: Make PCI_IMX6 depend on PCIEPORTBUS In-reply-to: <20181206074555.19579-1-andrew.smirnov@gmail.com> Date: Thu, 06 Dec 2018 10:10:43 +0200 Message-ID: <87o99zjcsc.fsf@tkos.co.il> MIME-Version: 1.0 Content-Type: text/plain Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Andrey, Adding Robert Hancock who reported[1] on a PCIe MSI issue with i.MX6. Andrey Smirnov writes: > Building a kernel with CONFIG_PCI_IMX6=y, but CONFIG_PCIEPORTBUS=n > produces a system where built-in PCIE bridge (16c3:abcd) isn't bound > to pcieport driver. This, in turn, results in a PCIE bus that is > capable of enumerating attached PCIE device, but lacks functional > interrupt support. Robert, does that fix your issue? > Signed-off-by: Andrey Smirnov > --- > > Assuming this is a reasonable dependency, shold this be done to more > than just i.MX6 driver? > > drivers/pci/controller/dwc/Kconfig | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/drivers/pci/controller/dwc/Kconfig b/drivers/pci/controller/dwc/Kconfig > index 2b139acccf32..44ededbeab85 100644 > --- a/drivers/pci/controller/dwc/Kconfig > +++ b/drivers/pci/controller/dwc/Kconfig > @@ -92,6 +92,7 @@ config PCI_IMX6 > bool "Freescale i.MX6 PCIe controller" > depends on SOC_IMX8MQ || SOC_IMX6Q || (ARM && COMPILE_TEST) > depends on PCI_MSI_IRQ_DOMAIN > + depends on PCIEPORTBUS This effectively disables PCIe in imx_v6_v7_defconfig, since CONFIG_PCIEPORTBUS is not enabled there. Maybe do 'select' instead? > Select PCIE_DW_HOST > > config PCIE_SPEAR13XX baruch [1] http://lists.infradead.org/pipermail/linux-arm-kernel/2018-November/614800.html -- http://baruch.siach.name/blog/ ~. .~ Tk Open Systems =}------------------------------------------------ooO--U--Ooo------------{= - baruch@tkos.co.il - tel: +972.52.368.4656, http://www.tkos.co.il -