From patchwork Mon Mar 8 15:24:46 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 12122741 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-19.2 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 85BB1C433DB for ; Mon, 8 Mar 2021 15:26:02 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 31EF06526A for ; Mon, 8 Mar 2021 15:26:02 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229697AbhCHPZa (ORCPT ); Mon, 8 Mar 2021 10:25:30 -0500 Received: from mail.kernel.org ([198.145.29.99]:58432 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230453AbhCHPZF (ORCPT ); Mon, 8 Mar 2021 10:25:05 -0500 Received: by mail.kernel.org (Postfix) with ESMTPSA id 2CC8365266; Mon, 8 Mar 2021 15:25:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1615217105; bh=9UP28SBg+yJVhjwpCAUxQepgdABblFJ40H4Y6XxbpqQ=; h=From:To:Cc:Subject:Date:From; b=nE4N2hfKbocgNLXt+Hv8JMazX4mu1DcJlNr9yfqQk0IWWdxbvRgWvEnMtIB11ASzS RyLuYG9Lmd2Qy08SYhUh37iNIKs0r1htj9AMkeX8gGOwf7xx0T5HGRDLpYOuDePryX kGlZEDRmOxtdc2zkj5uveJ/OsIns2J9lQGT4Q0uL7DEsH8njlGXTqQ3lQIW55zsiBl 9LAbcXVfxnieOlHBrZs+fHCDQ+4ldyMJXVmiYvMBJzaj4UKofkfmKT3wN6QsKdlqAY xRoG52ltSLpGKmipFIg/aKKr/Ewv8V+EBeA9TI21Myou6vqyTJyi2DcQ0Rqe8jdV4v D4jWeTP5VtA0A== From: Arnd Bergmann To: Lorenzo Pieralisi , Bjorn Helgaas Cc: Arnd Bergmann , Rob Herring , linux-pci@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 1/3] PCI: controller: al: select CONFIG_PCI_ECAM Date: Mon, 8 Mar 2021 16:24:46 +0100 Message-Id: <20210308152501.2135937-1-arnd@kernel.org> X-Mailer: git-send-email 2.29.2 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-pci@vger.kernel.org From: Arnd Bergmann Compile-testing this driver without ECAM support results in a link failure: ld.lld: error: undefined symbol: pci_ecam_map_bus >>> referenced by pcie-al.c >>> pci/controller/dwc/pcie-al.o:(al_pcie_map_bus) in archive drivers/built-in.a Select CONFIG_ECAM like the other drivers do. Signed-off-by: Arnd Bergmann Reviewed-by: Krzysztof WilczyƄski --- 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 5a3032d9b844..d981a0eba99f 100644 --- a/drivers/pci/controller/dwc/Kconfig +++ b/drivers/pci/controller/dwc/Kconfig @@ -311,6 +311,7 @@ config PCIE_AL depends on OF && (ARM64 || COMPILE_TEST) depends on PCI_MSI_IRQ_DOMAIN select PCIE_DW_HOST + select PCI_ECAM help Say Y here to enable support of the Amazon's Annapurna Labs PCIe controller IP on Amazon SoCs. The PCIe controller uses the DesignWare