Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp1832802pxb; Mon, 8 Mar 2021 07:26:54 -0800 (PST) X-Google-Smtp-Source: ABdhPJxaoWr360A8jgCHcpPEX6xONVPQRFhY5XXRQ2pbWzfX/T+sqOKJsfg2q0uKxSbSOTYsaA7E X-Received: by 2002:a50:e1c4:: with SMTP id m4mr22518868edl.182.1615217213826; Mon, 08 Mar 2021 07:26:53 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1615217213; cv=none; d=google.com; s=arc-20160816; b=eSjSomVQHFfRUElKglo3T+N/6ooNq/FUdRGllalZGgrwPhITcVzIFdOynWMWljAL/x AzcyRX5HniwWGxxsuRsIfJ7SB6LcXkWfVXGwllQKVDrwjtjofdh3EoA5HtG4F7Zcrhcn dNhhRtnoucYgGtx+JEPExPoYi4MLzef1AfM0B8v+mLemUhfalWc4YCrjiadmUZrERVNP +U6OgyS2yVI3E3deZQzA1aLdLD3kVqNP/2RiJBgepiZxvFOGnKeT/B61VBzelk726zxG 81C1+667fPLjtCOmNCvme5Bj6HwTJjdhj+1GMd3kTjxj8ZC7X7CuW+6/n9NsVh78efm9 hk0Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=qg0GQsRUBhTu3l5IuvyqhsnE/IpPIXr+2CnlM+nXTfQ=; b=OctkGCZKrdKov0CdoaVgt7M0bIAaPabOLd6gXSw7bDiJTatD46v2eqEx7SCfLItMTN n/Xe/lM+jKZH3ryVgrZalVmW44usUkSZ4hOZT/aiDEf/5EPF4G05sGPRIiDw0Eu3PfBg Fnz1WGOs93lX8UCfIy0usMPh8/2cDVlJ6NFBwOf5I+zEf7DpmPAgDfb26fRzmfRrbzkE pImq/mgHnfX5bVqkGKC7Ej+rLCyLxeMnILxeZlkRizLYs2bDdBATsbihgyLw8pqMXXDV /Dnl4vJOK14KKQSM+vwzWRvXikWrxP8KktF5VhQqSpTk9MudzPZcyuxqodNJ0LZTFzFj 8O4w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=nE4N2hfK; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id u18si6892887ejb.504.2021.03.08.07.26.30; Mon, 08 Mar 2021 07:26:53 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=nE4N2hfK; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229805AbhCHPZa (ORCPT + 99 others); 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 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@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 --- 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 -- 2.29.2