Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp3622991pxu; Tue, 8 Dec 2020 17:39:25 -0800 (PST) X-Google-Smtp-Source: ABdhPJzi6GE90UAywQa3qN7/1HYuDIbyFL7xB4DZdPqBxQ2zKtNhYd5FmCmjcuau9lC+0hdJQe3r X-Received: by 2002:a50:8d89:: with SMTP id r9mr663830edh.144.1607477965723; Tue, 08 Dec 2020 17:39:25 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1607477965; cv=none; d=google.com; s=arc-20160816; b=vZSob/1W9hOncxDvm0mFXgLJ6lFpropvgY/q1DC3vWdjBRRCmrkW7sNypH3dF5Xu4V JhQTLkiMBT/5qzwsCaoHWGoMmwA7FyrHZPN/McxSinHqSzfE5aY+djSJiRA2CQ7rUqhM b70cfqL510bzoUBfRNxscbvDGcYQ6ObSoP3itshDxres8OY7wZoOINYsDtWKX3vWlDWy qzP629roP8reJxsA85CQuxQgPtWxbJLssZi1meQT15hIOvk2OFsT56rDC180KNZD7gyH vmPFW4VaO7r442feBQTWtCqIM4F/rpTxqPJLJfTZvuQAawW9tULVS3QFzgMIALPx8Si2 pD/A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=N9+OxDZjSo4wCo8oLDWS807OvNQxIgRZodAcG7UCd+I=; b=QjmjgNcCkpJo+SI9JHamDUi3AN1DzbGpAGAaZmoW+k/F9rz9DQe3HLQBaVffdTfTGy xZnMGKEyz1EBTqrUerlkHX42wnufRTN3NmIN45GD2Wdp8csdTxb/HkyM43LmHOLuhX92 rDlVP9NCrl34wHT95nLbgCYnLu8LikeOzJ4Q7KTTyHbE50JgjEfmW+YuIybvM6Tgtsoq EiVUURbIRrwmJQcdSQMoT2T/q6OJ7yeabtmoEo5pdYZOg+NR1WVCjmhspVBiuXSwTEHV Guxl4MzjPbChZwmpkVeqdlIzxr+yF5B+phAM/JRk4uKKtXQ6BvOCmsQiuBBPdOIu6LO+ 32zA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@sifive.com header.s=google header.b=c+FIQKRz; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id l14si26806edv.255.2020.12.08.17.39.00; Tue, 08 Dec 2020 17:39:25 -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=@sifive.com header.s=google header.b=c+FIQKRz; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726031AbgLIBgM (ORCPT + 99 others); Tue, 8 Dec 2020 20:36:12 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58742 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725796AbgLIBgL (ORCPT ); Tue, 8 Dec 2020 20:36:11 -0500 Received: from mail-ot1-x342.google.com (mail-ot1-x342.google.com [IPv6:2607:f8b0:4864:20::342]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 86297C0613D6 for ; Tue, 8 Dec 2020 17:35:25 -0800 (PST) Received: by mail-ot1-x342.google.com with SMTP id h18so656046otq.12 for ; Tue, 08 Dec 2020 17:35:25 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sifive.com; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=N9+OxDZjSo4wCo8oLDWS807OvNQxIgRZodAcG7UCd+I=; b=c+FIQKRzvGpriFZSl9JtbrzU0NguMQjaMPEbpiHOTHcIFq3uhJuskhM97RuWyO6rT/ jWV3CWSv61wM3itCcUqI5AgZFxfqifjuZxGXA07jMUhBghT9I/JdxPwtLSpBazuDstSW xy6siT4ao5gylL5EH9ebhFwScl3FXat3aVhSwAl3y7rdHk8TyQIeSv2imtSShpZ+9VyB xYP7pyMc3SnS6vdAZZ4RlW7EVZMxdWjDZ3P0obL49rwBHc+lL3oJeTJwTrBNtvhKBKRD 5Fgyjyf1NbaVopWjgqC5qCmhPukDeVeU04Txc1FDIaVVwgPU6Vx3kHyd22hyxgcGxb8o ST+A== 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=N9+OxDZjSo4wCo8oLDWS807OvNQxIgRZodAcG7UCd+I=; b=Q4GG0JS4ocX4bdzQapvbY+eCCTUCCy3FR86wVZ1iEXTR1l+S+3xL3ArWPxWFBzHvMY FLXW6vuujDctIMxb4zLE4dC1u9LwqyGi8Km1oXor5bQPAPFDN+bkeXd4uAH19XV9JlzQ uyCyy/PJ4BwiKEu1IDoryS4q82O7VwvvicvlCMyiR/F8199jzmz5uLIWrEzytG7gjGpq FRGQexO7sk0zERhaBWXg3URBh2R9TrlIzOZUJOX7crRzmTyy1JvgcAwZqJu1wYQYPwL7 vkZpd2eHB4MstraOExUFEhxPF/VqiCDqjxglm75UA2LGIX8QsuQYyvjg+shoAIh6I0wI MABg== X-Gm-Message-State: AOAM532/045cQZzQ2XVa+o2lTg1/mRvVC9op3m20d1cwnN0kVQg6IGC7 n78A8K2IOgJqo2l0wCoeOVTFgzfI9sECfpvdAACE2w== X-Received: by 2002:a9d:646:: with SMTP id 64mr827164otn.18.1607477724926; Tue, 08 Dec 2020 17:35:24 -0800 (PST) MIME-Version: 1.0 References: <20201208071432.55583-2-zong.li@sifive.com> <202012090131.cj4wycAZ-lkp@intel.com> In-Reply-To: <202012090131.cj4wycAZ-lkp@intel.com> From: Zong Li Date: Wed, 9 Dec 2020 09:35:13 +0800 Message-ID: Subject: Re: [PATCH v6 1/5] clk: sifive: Extract prci core to common base To: kernel test robot Cc: Paul Walmsley , Palmer Dabbelt , Stephen Boyd , Andreas Schwab , Pragnesh Patel , Albert Ou , Michael Turquette , Yash Shah , "linux-kernel@vger.kernel.org List" , linux-clk@vger.kernel.org, kbuild-all@lists.01.org, clang-built-linux@googlegroups.com Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Dec 9, 2020 at 1:08 AM kernel test robot wrote: > > Hi Zong, > > Thank you for the patch! Yet something to improve: > > [auto build test ERROR on clk/clk-next] > [also build test ERROR on robh/for-next linux/master linus/master v5.10-rc7 next-20201208] > [If your patch is applied to the wrong git tree, kindly drop us a note. > And when submitting patch, we suggest to use '--base' as documented in > https://git-scm.com/docs/git-format-patch] > > url: https://github.com/0day-ci/linux/commits/Zong-Li/clk-add-driver-for-the-SiFive-FU740/20201208-151711 > base: https://git.kernel.org/pub/scm/linux/kernel/git/clk/linux.git clk-next > config: x86_64-randconfig-a016-20201208 (attached as .config) > compiler: clang version 12.0.0 (https://github.com/llvm/llvm-project a2f922140f5380571fb74179f2bf622b3b925697) > 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://github.com/0day-ci/linux/commit/5bfdddc125b80d4541a5a925918efec9b6fe0282 > git remote add linux-review https://github.com/0day-ci/linux > git fetch --no-tags linux-review Zong-Li/clk-add-driver-for-the-SiFive-FU740/20201208-151711 > git checkout 5bfdddc125b80d4541a5a925918efec9b6fe0282 > # 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 > > All errors (new ones prefixed by >>): > > >> ld.lld: error: undefined symbol: wrpll_configure_for_rate > >>> referenced by sifive-prci.c > >>> clk/sifive/sifive-prci.o:(sifive_prci_wrpll_round_rate) in archive drivers/built-in.a > >>> referenced by sifive-prci.c > >>> clk/sifive/sifive-prci.o:(sifive_prci_wrpll_set_rate) in archive drivers/built-in.a > -- > >> ld.lld: error: undefined symbol: wrpll_calc_output_rate > >>> referenced by sifive-prci.c > >>> clk/sifive/sifive-prci.o:(sifive_prci_wrpll_round_rate) in archive drivers/built-in.a > >>> referenced by sifive-prci.c > >>> clk/sifive/sifive-prci.o:(sifive_prci_wrpll_recalc_rate) in archive drivers/built-in.a > -- > >> ld.lld: error: undefined symbol: wrpll_calc_max_lock_us > >>> referenced by sifive-prci.c > >>> clk/sifive/sifive-prci.o:(sifive_prci_wrpll_set_rate) in archive drivers/built-in.a > -- > >> ld.lld: error: undefined symbol: __prci_init_clocks_fu540 > >>> referenced by sifive-prci.c > >>> clk/sifive/sifive-prci.o:(prci_clk_fu540) in archive drivers/built-in.a > > --- > 0-DAY CI Kernel Test Service, Intel Corporation > https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org This issue should be fixed in the v5 version, it seems to be a mess in our v6 internal branch, I would rebase the codebase and send the v7 patches.