Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp551138pxf; Wed, 10 Mar 2021 11:34:33 -0800 (PST) X-Google-Smtp-Source: ABdhPJw150hOubBgeeZr1HMAW4UxNgbB84F6E/HNUqb0MdWNww3BbZA2FRNzmJCrEQ4tha093N1f X-Received: by 2002:a17:906:c051:: with SMTP id bm17mr39294ejb.21.1615404873039; Wed, 10 Mar 2021 11:34:33 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1615404873; cv=none; d=google.com; s=arc-20160816; b=W1E/Np2JkO4BDU8qDm2q6lWq9ANQIKTyLEuKKnOTiwuGF/OEff37l3Z4r34+1JfSUr UtvkXnqKByJdo/Uykt7wiL172k2+0COe55s+gkpQyfLNeMLf1BqjyfQERHKBZqOTD1Tk kRGS6F9VJtyOoIC3Pd1jlyqhrGcnENaNFlvRk9lIWYB7oMOGnfr2PFM38LqSzOR2R7b3 KlR4u+Tzacy90hxocS2xIy2ytinA9PM4ZmgBlGJpsegCSbCAZsmQq6y/BSGBF8MZb847 kyhBZyfdzsiuKwOFmkQPtQzuYTlnlHX+TIBNu4M5CPzMX2JyBeEV3RnjWe3grJCyf65c WPaA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :message-id:subject:cc:to:from:date:dkim-signature; bh=krrhcprADhFBTtvzhkZRhDtoTqCekDR3ji/79rm1EsI=; b=YXRMV3/zg/fym0AHMl8k4LaZtjaQ9g28km+gS+5TuJ3d2w9mhZUtJnLILu1NFfMQIT PxtN0SISrtuQC0P+CxDewQFRnsePSdev5UYBDs2XWBjhCW9AzJaMYQsvZamCmBeAFmE2 /ktrmk41exequAW90iKVEvEITTDcK9BWIrOfeObxr+za/UQrtCYJKX/J8CbZGpsvRQn4 oHpmEWHUTWHqwJUTH4M4KHRXCR7OTf+64zn/Qoc7t0xqZ8OIDCkmEBc8UNWm4rvOyJRG Yga7eL0BJowzmotfC53EeBRVEFnA3uFbH4zDJsjiWBFnnKTBArVjcO41F/Cx86fQgiHq Qcvw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=fUbYZ64I; 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 af9si187195ejc.470.2021.03.10.11.34.09; Wed, 10 Mar 2021 11:34:33 -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=fUbYZ64I; 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 S233921AbhCJTct (ORCPT + 99 others); Wed, 10 Mar 2021 14:32:49 -0500 Received: from mail.kernel.org ([198.145.29.99]:49054 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233992AbhCJTcs (ORCPT ); Wed, 10 Mar 2021 14:32:48 -0500 Received: by mail.kernel.org (Postfix) with ESMTPSA id 33EEF64FB2; Wed, 10 Mar 2021 19:32:48 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1615404768; bh=f5/lUJllLGXsUxKTawCkR3n1Ver3P//PbBnMTRmYk/o=; h=Date:From:To:Cc:Subject:In-Reply-To:From; b=fUbYZ64I87gmzgnsW41cv2cHvR1Ba5VaKcad5Du7xG5eVNOyr715DL+39NQuGyE02 QcI3yJOBiah1yKhatbZOpU4WUOjQv85YQXB726vwjqgB+/EB0fSpVZx96oHkkSsM9I m8rv2HkKtGUhf1wrvkPvfrTWQxbLqlXJakLmPUx0L5zRd6fkp7s7mss8K7rAin3chl XgKlvGRwIpf7cXK5aLu+ddEEGinavXXwLmnBGK0RIKBeilic6qfpjhbyqN9I5527b5 gk89tI+MGJ9iX8ote//aWqqqD0Eewn3Gro8vC4LZG4+Ky4eJm+FFaqOUJqVQ0cGpkV 3nT7vmIcMmEVg== Date: Wed, 10 Mar 2021 13:32:46 -0600 From: Bjorn Helgaas To: Arnd Bergmann Cc: Lorenzo Pieralisi , Bjorn Helgaas , Arnd Bergmann , Rob Herring , linux-pci@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 1/3] PCI: controller: al: select CONFIG_PCI_ECAM Message-ID: <20210310193246.GA2033984@bjorn-Precision-5520> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210308152501.2135937-1-arnd@kernel.org> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Mar 08, 2021 at 04:24:46PM +0100, Arnd Bergmann wrote: > 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. Did we add these compile issues in the v5.12-rc1? I.e., are the fixes candidates for v5.12? > 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 >