Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp2212287ybl; Thu, 9 Jan 2020 08:44:30 -0800 (PST) X-Google-Smtp-Source: APXvYqwMoyIG1/p6Jv6mXfJ4UhJPwOddtHBr4qHWOGCBAtuZyb/J7lnPOE6P7sIhOK6dXMgFRGpT X-Received: by 2002:a9d:4f18:: with SMTP id d24mr9410151otl.179.1578588270754; Thu, 09 Jan 2020 08:44:30 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1578588270; cv=none; d=google.com; s=arc-20160816; b=FHtVOArdbsoBiq33t5jxjPjFySQGKV9VDPCECmWdAjV1DUyfAH98fUQlnVzCHwQxcs bBV1w7wyi02pk68uSV35+B80Nmv80kRSt2OzFGaC/ibFEdQS/Wbrx0J9uzRE/NGFMpmD jAcFZwO9Ybgfs9eKf0ptLmbNMYlZuhE+bsENmhiHIzuNAvH9C6STesESH2h+DptN8+Pe p7rhYAXziKGEbidH9aLjRVrVzMSjmUg6MkcZeHaqKZSeSTCtTdszPV/lm4hIE8yY6miI /GlS6PDKcwe3Wc15SUNMrF6u3qQFgqztshidSTDGZYtZxJgCIzf7tKX9r+OaRIyhCAnX +CNg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=b8xbfR1e+uIythd38166wCVY5KnjUVf+wZJ6jFWaQhg=; b=lhVFWOc30tkWBA5/OUSmy3pCNl1aL9138gmIq+SVUhqyCSYiqxo0PLD4aHg6qDEsG+ M272drkb/0GAzUD+69ZNe2BVtDPF3rgD5YS9sbTcUXRVVRaXafswv2ehRTfd/8tDvtaP povVjxjNjhdZHJjXlIxjblZbfKLbVQRagi0XTcr/9xc2sX5Y1HrYYkTI4vpJUYMojOju V3Yc4jmVvOLZZi7qlrn6ylqQwvRl7kYuCIq86nCD0FMIkPx6gzyfb+AFQVOy+COo+cKE 5jtKOpbXboQxL48djKWiob2CTk1fnCCnXu5zMDx7iYAaIp0sYcUExk1856nHkkJnYFXq w/Mw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=wQpb3FJk; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id l204si3851279oif.261.2020.01.09.08.44.18; Thu, 09 Jan 2020 08:44:30 -0800 (PST) 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=@linaro.org header.s=google header.b=wQpb3FJk; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731399AbgAIOAn (ORCPT + 99 others); Thu, 9 Jan 2020 09:00:43 -0500 Received: from mail-wr1-f67.google.com ([209.85.221.67]:42394 "EHLO mail-wr1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730444AbgAIOAn (ORCPT ); Thu, 9 Jan 2020 09:00:43 -0500 Received: by mail-wr1-f67.google.com with SMTP id q6so7471768wro.9 for ; Thu, 09 Jan 2020 06:00:42 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=b8xbfR1e+uIythd38166wCVY5KnjUVf+wZJ6jFWaQhg=; b=wQpb3FJkQMvVRdPTLz/ZEeOxsu9Om4MJxR1KRtPYR5JbY+7EuRwAbGeEmQe7twR+fg 7z5ww8hk7wZpIF52etX2RsjS0jhKsWl5LI+eq9DMciZX0adY4/KfVzkwlsy4veLC9zWH 1SZwYGAdfy5uLmSn5+uCPz35k9qJcHwtxtTEedlQTUDC2qZx/aquR+9ndc1kmBJfeg1z oRLeLE0PvIP82BDJ4f6twG7ILqFJkO9Ze0GkXrVj9x7C998Nce4kZvk8rZBnq9g89Mut 2IrC6AbyAUuL8Flh2irof4z2acmkGF4Kl0GEE/1Jri6DfibaUPz/pmcUXMYx/PR/BU/m XTYw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=b8xbfR1e+uIythd38166wCVY5KnjUVf+wZJ6jFWaQhg=; b=SGhj/E28by/PNck51jAud9U6Apo650hSdqW64OQTGqbUMaTKbAcp6IjI0yDygvp9Wv fy0tmpqbWRCTG7yN0HbLT/DOlt2xgYZQbvp5qiXilVjKyPbbm02yH99hcefAwErLN3yF hEAXloLbPVcylv9kxdUEGDE4BA8dQ8Ofg3ZRQE5uENQ3ADEdXuRp3hOM56M5tnwdemG+ KYk9ipneoLEs+1rKfjTlG/wPgnm99KqIO7A1Ez84ulMkIKAgUgS0dq72kSgTuOTitYBA dqmrUDVcD3rM698YJZD5sOOggTlV17MZ7sfZQviKaT3njGX27ZxHj3vNmOEj3/vMOg7O b8bw== X-Gm-Message-State: APjAAAV9jDvvvOCh7ZZyQZsPrDFaNQQrjt8E/SNvJ7jEu2UHNBqXjUqT u47AygcgNyqWJEc+iB8qpXk2r8Njbu5xrLeCt9gxOA== X-Received: by 2002:adf:cf0a:: with SMTP id o10mr10711881wrj.325.1578578441234; Thu, 09 Jan 2020 06:00:41 -0800 (PST) MIME-Version: 1.0 References: <20191224044146.232713-1-saravanak@google.com> <201912252258.5LQtnCYg%lkp@intel.com> In-Reply-To: From: Ard Biesheuvel Date: Thu, 9 Jan 2020 15:00:30 +0100 Message-ID: Subject: Re: [PATCH v2] efi: arm: defer probe of PCIe backed efifb on DT systems To: Saravana Kannan Cc: kbuild test robot , kbuild-all@lists.01.org, Ard Biesheuvel , linux-arm-kernel , Will Deacon , Bjorn Helgaas , Greg Kroah-Hartman , Android Kernel Team , linux-efi , LKML Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 9 Jan 2020 at 03:23, Saravana Kannan wrote: > > On Wed, Dec 25, 2019 at 6:46 AM kbuild test robot wrote: > > > > Hi Saravana, > > > > I love your patch! Yet something to improve: > > > > [auto build test ERROR on efi/next] > > [cannot apply to rockchip/for-next keystone/next arm64/for-next/core arm-soc/for-next shawnguo/for-next clk/clk-next arm/for-next linux-rpi/for-rpi-next at91/at91-next v5.5-rc3 next-20191220] > > [if your patch is applied to the wrong git tree, please drop us a note to help > > improve the system. BTW, we also suggest to use '--base' option to specify the > > base tree in git format-patch, please see https://stackoverflow.com/a/37406982] > > > > url: https://github.com/0day-ci/linux/commits/Saravana-Kannan/efi-arm-defer-probe-of-PCIe-backed-efifb-on-DT-systems/20191225-182253 > > base: https://git.kernel.org/pub/scm/linux/kernel/git/efi/efi.git next > > config: arm64-alldefconfig (attached as .config) > > compiler: aarch64-linux-gcc (GCC) 7.5.0 > > reproduce: > > wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross > > chmod +x ~/bin/make.cross > > # save the attached .config to linux build tree > > GCC_VERSION=7.5.0 make.cross ARCH=arm64 > > > > If you fix the issue, kindly add following tag > > Reported-by: kbuild test robot > > > > All errors (new ones prefixed by >>): > > > > drivers/firmware/efi/arm-init.o: In function `efifb_add_links': > > >> arm-init.c:(.text+0x64): undefined reference to `of_pci_range_parser_init' > > arm-init.c:(.text+0x64): relocation truncated to fit: R_AARCH64_CALL26 against undefined symbol `of_pci_range_parser_init' > > >> arm-init.c:(.text+0x78): undefined reference to `of_pci_range_parser_one' > > arm-init.c:(.text+0x78): relocation truncated to fit: R_AARCH64_CALL26 against undefined symbol `of_pci_range_parser_one' > > Ard, > > Not sure what's going on here. of_pci_range_parser_init() and > of_pci_range_parser_one() has a stub if CONFIG_OF_ADDRESS isn't > defined. So not sure why the bot is reporting "undefined symbol". > Thoughts? > You'll need a #ifdef CONFIG_PCI somewhere, I guess. > Also, thoughts on my patch? > Looks ok to me, but I haven't had a chance to test it yet.