From mboxrd@z Thu Jan 1 00:00:00 1970 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=-10.5 required=3.0 tests=BAYES_00,MAILING_LIST_MULTI, MENTIONS_GIT_HOSTING,NICE_REPLY_A,SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_1 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 CB510C48BE5 for ; Mon, 21 Jun 2021 09:27:11 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id 7181F601FD for ; Mon, 21 Jun 2021 09:27:11 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 7181F601FD Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=owner-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix) id E7D726B007E; Mon, 21 Jun 2021 05:27:10 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id E55636B0082; Mon, 21 Jun 2021 05:27:10 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id CF5EB8D0001; Mon, 21 Jun 2021 05:27:10 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0066.hostedemail.com [216.40.44.66]) by kanga.kvack.org (Postfix) with ESMTP id 9CA756B007E for ; Mon, 21 Jun 2021 05:27:10 -0400 (EDT) Received: from smtpin10.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay02.hostedemail.com (Postfix) with ESMTP id 3CE3AAF9B for ; Mon, 21 Jun 2021 09:27:10 +0000 (UTC) X-FDA: 78277202220.10.4CFF159 Received: from mail-ed1-f51.google.com (mail-ed1-f51.google.com [209.85.208.51]) by imf24.hostedemail.com (Postfix) with ESMTP id DDF6DA0021DA for ; Mon, 21 Jun 2021 09:27:09 +0000 (UTC) Received: by mail-ed1-f51.google.com with SMTP id c7so17017819edn.6 for ; Mon, 21 Jun 2021 02:27:09 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=2bJhduk1JE2/nlWsz97OoiHm5V97FfHENyACfDAcD8Y=; b=naF9ocnUi/md515iYQD6AtgEti6hqxHGVUTjx3gQ57WOeh0x3qKclNXtxLwRDodmfT TXNJtmsFuMvPD1FEa9Ia4+X3nwlpv+y+YTl1LJLGwzakXWRaIFLtpDZ4R06pOlkm6y+1 uGdeXC6ZM4dta/4v1yKt2xH2zbbNBa1IVxGk3vQCYZvA24Q2pH7vlwIY7mnF9mqd2a61 C1NJ/sRhKIUmwhkF+ujmgUIzxGoY2azQ8LCRP6AH/EruTRGWJJSxGGv2vkoiyArIT6xP Jx5OmBS2V/RIIT31g5XOCEB2WQROp8y3FtcGqZUj9HV5ODVRPUqAXgghXOobDSxS4ewf ydVw== X-Gm-Message-State: AOAM532HghKNbjL3jp0PoC3cAdCLmtVit7k03cSlDCh6idU2Dy8kYDeZ Mf+uaZftlrfKpTomLihxIkPbrruhef4= X-Google-Smtp-Source: ABdhPJy7DQcj3NuVNMxm8zyndxmbCCD1BInjSECTXo8oO4WezUeNSeWgeKH05ya9SrXQqaecRSfR5Q== X-Received: by 2002:aa7:d799:: with SMTP id s25mr19113429edq.161.1624267627645; Mon, 21 Jun 2021 02:27:07 -0700 (PDT) Received: from [192.168.1.115] (xdsl-188-155-177-222.adslplus.ch. [188.155.177.222]) by smtp.googlemail.com with ESMTPSA id og37sm2625982ejc.100.2021.06.21.02.27.06 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 21 Jun 2021 02:27:06 -0700 (PDT) Subject: Re: [linux-next:master 5946/11253] ld.lld: error: undefined symbol: reset_controller_register To: Philipp Zabel , Thierry Reding , kernel test robot , Olof Johansson Cc: Dmitry Osipenko , "kbuild-all@lists.01.org" , "clang-built-linux@googlegroups.com" , Linux Memory Management List References: <202106182243.KgZxMD9A-lkp@intel.com> <5455875a86b33ecbbc94156c0c799e7224bba93a.camel@pengutronix.de> From: Krzysztof Kozlowski Message-ID: Date: Mon, 21 Jun 2021 11:27:06 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.8.1 MIME-Version: 1.0 In-Reply-To: <5455875a86b33ecbbc94156c0c799e7224bba93a.camel@pengutronix.de> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Authentication-Results: imf24.hostedemail.com; dkim=none; spf=pass (imf24.hostedemail.com: domain of kkozlowskik@gmail.com designates 209.85.208.51 as permitted sender) smtp.mailfrom=kkozlowskik@gmail.com; dmarc=fail reason="SPF not aligned (relaxed), No valid DKIM" header.from=kernel.org (policy=none) X-Stat-Signature: m35z7wkndby6e4n5b6pr3o6zz6iajci7 X-Rspamd-Server: rspam04 X-Rspamd-Queue-Id: DDF6DA0021DA X-HE-Tag: 1624267629-21981 X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: On 18/06/2021 17:53, Philipp Zabel wrote: > Hi Krzysztof, Olof, > > On Fri, 2021-06-18 at 16:55 +0200, Krzysztof Kozlowski wrote: >> On 18/06/2021 16:52, Thierry Reding wrote: >>> On Fri, Jun 18, 2021 at 04:21:45PM +0200, kernel test robot wrote: >>>> tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master >>>> head: e71e3a48a7e89fa71fb70bf4602367528864d2ff >>>> commit: 56ebc9b0d77e0406aba2d900c82e79204cc7dc32 [5946/11253] memory: tegra: Enable compile testing for all drivers >>>> config: x86_64-randconfig-a001-20210618 (attached as .config) >>>> compiler: clang version 13.0.0 (https://github.com/llvm/llvm-project 64720f57bea6a6bf033feef4a5751ab9c0c3b401) >>>> reproduce (this is a W=1 build): >>>> wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross >>>> chmod +x ~/bin/make.cross >>>> # install x86_64 cross compiling tool for clang build >>>> # apt-get install binutils-x86-64-linux-gnu >>>> # https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=56ebc9b0d77e0406aba2d900c82e79204cc7dc32 >>>> git remote add linux-next https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git >>>> git fetch --no-tags linux-next master >>>> git checkout 56ebc9b0d77e0406aba2d900c82e79204cc7dc32 >>>> # save the attached .config to linux build tree >>>> COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=x86_64 >>>> >>>> If you fix the issue, kindly add following tag as appropriate >>>> Reported-by: kernel test robot >>>> >>>> Note: the linux-next/master HEAD e71e3a48a7e89fa71fb70bf4602367528864d2ff builds fine. >>>> It may have been fixed somewhere. >>>> >>>> All errors (new ones prefixed by >>): >>>> >>>>>> ld.lld: error: undefined symbol: reset_controller_register >>>> >>> referenced by mc.c >>>> >>> memory/tegra/mc.o:(tegra_mc_probe) in archive drivers/built-in.a >>> >>> Ugh... more fallout from that compile-test enablement. It looks like >>> that compile-test stubs addition patch for reset hasn't found its way >>> into linux-next yet. >> >> Does it mean reset tree is not in linux-next? > > No, it is. It just has been merged into arm-soc/arm/drivers a day too > late: > > $ git log --pretty=oneline arm-soc/arm/drivers | head -n2 > 25da503ecce8f523c1c1c678659cb484d3bcd73f Merge tag 'reset-for-v5.14-2' of git://git.pengutronix.de/pza/linux into arm/drivers > 1eb5f83ee936de6a69b2bcee95088a6e0ab7c202 Merge tag 'memory-controller-drv-tegra-5.14-2' of https://git.kernel.org/pub/scm/linux/kernel/git/krzk/linux-mem-ctrl into arm/drivers > > memory-controller-drv-tegra-5.14-2 contains the offending commit > 56ebc9b0d77e, which depends on commit 48a74b1147f7 in reset-for-v5.14-2. > > Is the arm-soc/arm/drivers branch still mutable? IIUC this could be > fixed by reordering the two merges. It won't change the bisectability, just the scope will be few commits narrower. The damage is unfortunately done. Best regards, Krzysztof