Received: by 2002:ac0:a582:0:0:0:0:0 with SMTP id m2-v6csp359582imm; Wed, 17 Oct 2018 01:04:21 -0700 (PDT) X-Google-Smtp-Source: ACcGV61ITT4HYk3ZDS41l2/mpxNdHlEaxu0A69sQxMKLjsuMAA5caHYAOSbxswPmlFWZfzbgu4I9 X-Received: by 2002:a62:d206:: with SMTP id c6-v6mr392490pfg.8.1539763461876; Wed, 17 Oct 2018 01:04:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1539763461; cv=none; d=google.com; s=arc-20160816; b=DBtDnt+zewv5CR6MxNLz8cLOO/5lD2HNEsXsUJVH1Txj/TD7wNOt6ajit/h23Dgcvt GkC4xR4Z+Tgvk+uzRSd2jtS0CFo5ZKrGbhepyjSxHra0rM9cJT/eYQqXDILC/lXlPble Ef5WZfQFxx3wED7aePHnQ45YzV+KULH9nxUDODHqfItgRCUXdEER3rwLpIQeXkeDIKUS 4Vmts1c+/gcRlecDVRXpYicOHzAGp1rB9zRGPhikHXjs6tASHvosL+u46iv5ROxBGdkD Xv+G2Sd6pY2uteEO6aW71T9FTMxNlmewGAw9iQbMmn1NCcN9JdW3Av9vzHPpmOU8asJZ c1bw== 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 :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=NU8hc3wOH75SjWyKDE305NVPfLPJR7iXVJpwS3eg4UQ=; b=JbmZ034Ed3CV2m4nKaLEEs1RJ7Q1Bz0R41OzToyvWwpxjPKAAt2ODSRsCu3ByDUoFl B1W4/1c8VyYjC7Bc7qDhj2+QYfzV1TEDtucZGUlGtCKUw4s/b5hRHLbvO5CWmq3CaXGs xhjbPxfyiQApjNwRyd4uz+H1y8hjaAggKXITXwtrurlUfehLZzgMm/h347RQHk/J1uzl CaRcPJOiG9goJaHurJ6TiZGS+td+C+lnhyjU580jltt9prNhAffu7BLfYaDbUJArNkmi zqVlbfz4+ZwzKr29tCUJCcxmLg1HvSwxbze/7RZ15juDsCcMB5b7ACd0nL/zbV+FMfd0 fcPA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b="JHK/8Gde"; 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 x1-v6si17200286pgo.144.2018.10.17.01.04.06; Wed, 17 Oct 2018 01:04:21 -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=fail header.i=@infradead.org header.s=bombadil.20170209 header.b="JHK/8Gde"; 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 S1727659AbeJQP4w (ORCPT + 99 others); Wed, 17 Oct 2018 11:56:52 -0400 Received: from bombadil.infradead.org ([198.137.202.133]:50716 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726691AbeJQP4v (ORCPT ); Wed, 17 Oct 2018 11:56:51 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20170209; h=Content-Transfer-Encoding: MIME-Version:References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From:Sender :Reply-To:Content-Type:Content-ID:Content-Description:Resent-Date:Resent-From :Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help: List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=NU8hc3wOH75SjWyKDE305NVPfLPJR7iXVJpwS3eg4UQ=; b=JHK/8GdeZw3cG+c7MPDYm1+/Ks mSx0WfGiOF8BPxsc/nGNM5btL7DT3HZpprZEHsBhEdUnblkiXH0BGR53cf253UDVKUbfui54lwgsy 95/Q269n8x4i8oZsXNgfHnozTkVhqmC+w3k5FAEmTxyWQFAOLS96v5/ptMFRalpaaOKLxvgw6Ojuk P11lQTunIy1WsfmZBsC9q33jRm8B4HCoOPapDKP4hIlI3uB4Y9LVFEjtKh/yrTKIvdYqvGAb98Vdz 3H2faUZTxoc7+JN5nYDSq67XfdX7FJpqPAd+ktYHlZb8nzgaYR74FhOHWk6ULV9yUAGmAzUKhbey3 Izgq5/oA==; Received: from clnet-p19-102.ikbnet.co.at ([83.175.77.102] helo=localhost) by bombadil.infradead.org with esmtpsa (Exim 4.90_1 #2 (Red Hat Linux)) id 1gCgmT-0003Hh-Fm; Wed, 17 Oct 2018 08:02:13 +0000 From: Christoph Hellwig To: Masahiro Yamada Cc: Matt Porter , Alexandre Bounine , Dominik Brodowski , linux-kbuild@vger.kernel.org, linux-pci@vger.kernel.org, linux-scsi@vger.kernel.org, linux-arch@vger.kernel.org, linux-kernel@vger.kernel.org, linuxppc-dev@lists.ozlabs.org Subject: [PATCH 3/8] powerpc: PCI_MSI needs PCI Date: Wed, 17 Oct 2018 10:01:56 +0200 Message-Id: <20181017080201.10866-4-hch@lst.de> X-Mailer: git-send-email 2.19.1 In-Reply-To: <20181017080201.10866-1-hch@lst.de> References: <20181017080201.10866-1-hch@lst.de> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-SRS-Rewrite: SMTP reverse-path rewritten from by bombadil.infradead.org. See http://www.infradead.org/rpr.html Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Various powerpc boards select the PCI_MSI config option without selecting PCI, resulting in potentially not compilable configurations if the by default enabled PCI option is disabled. Explicitly select PCI to ensure we always have valid configs. Signed-off-by: Christoph Hellwig Acked-by: Thomas Gleixner --- arch/powerpc/platforms/40x/Kconfig | 1 + arch/powerpc/platforms/44x/Kconfig | 3 +++ 2 files changed, 4 insertions(+) diff --git a/arch/powerpc/platforms/40x/Kconfig b/arch/powerpc/platforms/40x/Kconfig index 60254a321a91..d5361e63e0bb 100644 --- a/arch/powerpc/platforms/40x/Kconfig +++ b/arch/powerpc/platforms/40x/Kconfig @@ -33,6 +33,7 @@ config KILAUEA select 405EX select PPC40x_SIMPLE select PPC4xx_PCI_EXPRESS + select PCI select PCI_MSI select PPC4xx_MSI help diff --git a/arch/powerpc/platforms/44x/Kconfig b/arch/powerpc/platforms/44x/Kconfig index a6011422b861..70856a213663 100644 --- a/arch/powerpc/platforms/44x/Kconfig +++ b/arch/powerpc/platforms/44x/Kconfig @@ -24,6 +24,7 @@ config BLUESTONE default n select PPC44x_SIMPLE select APM821xx + select PCI select PCI_MSI select PPC4xx_MSI select PPC4xx_PCI_EXPRESS @@ -78,6 +79,7 @@ config KATMAI select 440SPe select PCI select PPC4xx_PCI_EXPRESS + select PCI select PCI_MSI select PPC4xx_MSI help @@ -219,6 +221,7 @@ config AKEBONO select SWIOTLB select 476FPE select PPC4xx_PCI_EXPRESS + select PCI select PCI_MSI select PPC4xx_HSTA_MSI select I2C -- 2.19.1