Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp1015091yba; Thu, 4 Apr 2019 02:28:19 -0700 (PDT) X-Google-Smtp-Source: APXvYqzIpwCGwU0ioZaI/SNM+BJh1j2ETXmkSxHuzVmm2rhiwZGgKK7R3eHcBweD7cTe/8DgZGEG X-Received: by 2002:aa7:8ac8:: with SMTP id b8mr4761853pfd.234.1554370099392; Thu, 04 Apr 2019 02:28:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1554370099; cv=none; d=google.com; s=arc-20160816; b=QGER9OqsA4zaS7L/8ClepPT0rQKV3Ljp0jfD+EqcQbNMFMJ452Te+NaEeXpqrBrOUv F42mO59zyP6KDR5F4MH0tGg0bPPhpQfmyRx0ZElyAJCsmlwoe5G7eV7pHfBlLwfUiOx0 HXtPe/Pz7+JMLD6uWsEX+LVnLDRrTfvg3GKTYaipdrNWEbOpZioVa8s+GaYHoDcaIjp1 s15oMN6iMHU2/nNyU86GbtkuOdO/fMVzwdmhuEl94JpmTfK6PpYs/mNUt6b2VxrvlTSF Yco/ccaK3IZyaak1XIExB21yX7PzMxmQfb1QAwSZ1ii24fuyaaaPck9CF+YzHrhtnDfw qK0w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=PGvNjeryXyb+/rYrr/FpEsJSeECc5OWgRxJ2eHp0MZw=; b=YSjRia17t6EwFtUFGEaocO8J1wm897no05rSriiAaJO71JHZb6FfgcMOo582bcILM3 +PZUv87M29hRY7OJ4mE4GQrj+3FNEA8iho3MLaQmXugE+IK7l+swG3nATPwQLpx9UzZz 5JK4PToBL2N6ury4/lrn2FJUGyTF7/AoKKAw4dhQ9aRj8ARgU/zvg8MA2PEOvweGzq1g rBy41maiOACaaQ/yuL5iTUjETbBUnLCD9fkFeq+8OKKslR2PtA1GDvcezzxP2zwE3ZNc g9zRgjVBsDVdgSQh9bZ7kMLSG/J6jPPiZFoG+lqBJmpaCe8VoxlxpGihB1FerEfUzlr0 F4YA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=pgC1TDaP; 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 l62si7424081pge.579.2019.04.04.02.28.04; Thu, 04 Apr 2019 02:28:19 -0700 (PDT) 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; dkim=pass header.i=@kernel.org header.s=default header.b=pgC1TDaP; 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 S1733101AbfDDJM2 (ORCPT + 99 others); Thu, 4 Apr 2019 05:12:28 -0400 Received: from mail.kernel.org ([198.145.29.99]:52452 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1733311AbfDDJMZ (ORCPT ); Thu, 4 Apr 2019 05:12:25 -0400 Received: from localhost (83-86-89-107.cable.dynamic.v4.ziggo.nl [83.86.89.107]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id B02442147C; Thu, 4 Apr 2019 09:12:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1554369144; bh=5CVdNzNVIl8Z4xpNUdyZ11p2qDuMYmRx7E56Bo7WVSM=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=pgC1TDaPq7HLNifG8meLlHDQP6Hg+KULMmPJPyY5pEAAPq1Iv5DbamxhSPKT1Dmm7 vxHQCczW/AKjBuA08Hubcgjl4XcVdjGwgFWZuhSZgVPvDVt29/uE6/FCSd8Ag7J+Q7 jZZcksg0nesSpYhfel+yKpEaWUk9OkYh7Sd4n/j4= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Randy Dunlap , Christoph Hellwig , Michael Ellerman , Sasha Levin Subject: [PATCH 5.0 100/246] powerpc/44x: Force PCI on for CURRITUCK Date: Thu, 4 Apr 2019 10:46:40 +0200 Message-Id: <20190404084622.646031355@linuxfoundation.org> X-Mailer: git-send-email 2.21.0 In-Reply-To: <20190404084619.236418459@linuxfoundation.org> References: <20190404084619.236418459@linuxfoundation.org> User-Agent: quilt/0.65 X-stable: review X-Patchwork-Hint: ignore MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 5.0-stable review patch. If anyone has any objections, please let me know. ------------------ [ Upstream commit aa7150ba378650d0e9d84b8e4d805946965a5926 ] The recent rework of PCI kconfig symbols exposed an existing bug in the CURRITUCK kconfig logic. It selects PPC4xx_PCI_EXPRESS which depends on PCI, but PCI is user selectable and might be disabled, leading to a warning: WARNING: unmet direct dependencies detected for PPC4xx_PCI_EXPRESS Depends on [n]: PCI [=n] && 4xx [=y] Selected by [y]: - CURRITUCK [=y] && PPC_47x [=y] Prior to commit eb01d42a7778 ("PCI: consolidate PCI config entry in drivers/pci") PCI was enabled by default for currituck_defconfig so we didn't see the warning. The bad logic was still there, it just required someone disabling PCI in their .config to hit it. Fix it by forcing PCI on for CURRITUCK, which seems was always the expectation anyway. Fixes: eb01d42a7778 ("PCI: consolidate PCI config entry in drivers/pci") Reported-by: Randy Dunlap Reviewed-by: Christoph Hellwig Signed-off-by: Michael Ellerman Signed-off-by: Sasha Levin --- arch/powerpc/platforms/44x/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/powerpc/platforms/44x/Kconfig b/arch/powerpc/platforms/44x/Kconfig index 4a9a72d01c3c..35be81fd2dc2 100644 --- a/arch/powerpc/platforms/44x/Kconfig +++ b/arch/powerpc/platforms/44x/Kconfig @@ -180,6 +180,7 @@ config CURRITUCK depends on PPC_47x select SWIOTLB select 476FPE + select FORCE_PCI select PPC4xx_PCI_EXPRESS help This option enables support for the IBM Currituck (476fpe) evaluation board -- 2.19.1