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 Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 4BF13C433F5 for ; Fri, 22 Apr 2022 01:30:44 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1443069AbiDVBdd (ORCPT ); Thu, 21 Apr 2022 21:33:33 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34220 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1443059AbiDVBd0 (ORCPT ); Thu, 21 Apr 2022 21:33:26 -0400 Received: from mga17.intel.com (mga17.intel.com [192.55.52.151]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DF8AE4990A for ; Thu, 21 Apr 2022 18:30:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1650591034; x=1682127034; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=3k2qXYWOLVFM/z5sIkslOyGvLMSj+q4CmmEvjHeetaQ=; b=R07JI9RYnmUPVWxKbgG4tDnEczfbUpk2qR71phSWBjgIvSX59krjcH7N jqY+ZfyIiXMj0hFKWp4DAKYzRHWEZcDAfgZN+VlgAOa7leW4cURXvGNQ/ 0PuPjFlZOGJh+NG1VcQb+a44GPCD+QABo6daWj5blWLTrbNfSwjWpoP5K hHe+IMCH6y8bpt0/FG8bn+atedSVBO1RdgWgYqWq04S/nK78GMezEcjPM +tBDCHrdA5dqQS6daUhyFjgL9pTUcA3PEHdOE23GYRFWX6o9osbZvYy46 6gf1CSGG5lGRJLtWNQMR8okxcrLWGCoKTa3K0veCJ0vL5wVQ8Yt+seFxn A==; X-IronPort-AV: E=McAfee;i="6400,9594,10324"; a="245109312" X-IronPort-AV: E=Sophos;i="5.90,280,1643702400"; d="scan'208";a="245109312" Received: from orsmga008.jf.intel.com ([10.7.209.65]) by fmsmga107.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 21 Apr 2022 18:30:34 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.90,280,1643702400"; d="scan'208";a="577583833" Received: from lkp-server01.sh.intel.com (HELO 3abc53900bec) ([10.239.97.150]) by orsmga008.jf.intel.com with ESMTP; 21 Apr 2022 18:30:31 -0700 Received: from kbuild by 3abc53900bec with local (Exim 4.95) (envelope-from ) id 1nhi7y-00094F-Qq; Fri, 22 Apr 2022 01:30:30 +0000 Date: Fri, 22 Apr 2022 09:29:42 +0800 From: kernel test robot To: Conor Dooley , Palmer Dabbelt Cc: kbuild-all@lists.01.org, Paul Walmsley , Albert Ou , linux-kernel@vger.kernel.org, linux-riscv@lists.infradead.org, daire.mcnamara@microchip.com, lewis.hanly@microchip.com, cyril.jean@microchip.com, Conor Dooley Subject: Re: [PATCH v2 3/4] riscv: select vitesse phy driver for polarfire soc Message-ID: <202204220928.KoW0NzCu-lkp@intel.com> References: <20220421085805.1220195-4-conor.dooley@microchip.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220421085805.1220195-4-conor.dooley@microchip.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Conor, I love your patch! Yet something to improve: [auto build test ERROR on linus/master] [also build test ERROR on v5.18-rc3 next-20220421] [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/intel-lab-lkp/linux/commits/Conor-Dooley/polarfire-soc-kconfig-maintainers-updates/20220421-172138 base: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git b253435746d9a4a701b5f09211b9c14d3370d0da config: riscv-randconfig-r005-20220420 (https://download.01.org/0day-ci/archive/20220422/202204220928.KoW0NzCu-lkp@intel.com/config) compiler: riscv64-linux-gcc (GCC) 11.2.0 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 # https://github.com/intel-lab-lkp/linux/commit/dc055eafe9cad74b3b01bed537c6f1496cddabe4 git remote add linux-review https://github.com/intel-lab-lkp/linux git fetch --no-tags linux-review Conor-Dooley/polarfire-soc-kconfig-maintainers-updates/20220421-172138 git checkout dc055eafe9cad74b3b01bed537c6f1496cddabe4 # save the config file mkdir build_dir && cp config build_dir/.config COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross W=1 O=build_dir ARCH=riscv SHELL=/bin/bash If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot All errors (new ones prefixed by >>): init/main.o: in function `initcall_blacklisted': main.c:(.text+0x4): relocation truncated to fit: R_RISCV_HI20 against `.LANCHOR0' init/main.o: in function `set_reset_devices': main.c:(.init.text+0x0): relocation truncated to fit: R_RISCV_HI20 against symbol `reset_devices' defined in .sbss section in init/main.o init/main.o: in function `run_init_process': main.c:(.text.unlikely+0x4): relocation truncated to fit: R_RISCV_HI20 against `.LANCHOR0' init/main.o: in function `rest_init': (.ref.text+0x10): relocation truncated to fit: R_RISCV_HI20 against `kernel_init' init/do_mounts.o: in function `rootfs_init_fs_context': do_mounts.c:(.text+0x4): relocation truncated to fit: R_RISCV_HI20 against `.LC1' init/do_mounts.o: in function `.L6': do_mounts.c:(.init.text+0x48): relocation truncated to fit: R_RISCV_HI20 against `root_wait' init/do_mounts_initrd.o: in function `no_initrd': do_mounts_initrd.c:(.init.text+0x0): relocation truncated to fit: R_RISCV_HI20 against `.LANCHOR0' init/initramfs.o: in function `wait_for_initramfs': (.text+0x0): relocation truncated to fit: R_RISCV_HI20 against `initramfs_cookie' init/initramfs.o: in function `error': initramfs.c:(.init.text+0x0): relocation truncated to fit: R_RISCV_HI20 against `.LANCHOR0' init/calibrate.o: in function `read_current_timer.isra.0': calibrate.c:(.text+0x0): relocation truncated to fit: R_RISCV_HI20 against symbol `clint_time_val' defined in .sbss section in drivers/clocksource/timer-clint.o init/calibrate.o: in function `lpj_setup': calibrate.c:(.init.text+0x12): additional relocation overflows omitted from the output riscv64-linux-ld: drivers/net/phy/vitesse.o: in function `phy_write': vitesse.c:(.text+0x10): undefined reference to `mdiobus_write' riscv64-linux-ld: drivers/net/phy/vitesse.o: in function `vsc73xx_config_init': vitesse.c:(.text+0x3e): undefined reference to `phy_modify' riscv64-linux-ld: vitesse.c:(.text+0x64): undefined reference to `phy_modify' riscv64-linux-ld: drivers/net/phy/vitesse.o: in function `vsc739x_config_init': vitesse.c:(.text+0x8e): undefined reference to `phy_modify' riscv64-linux-ld: vitesse.c:(.text+0xbe): undefined reference to `phy_modify' riscv64-linux-ld: vitesse.c:(.text+0xd2): undefined reference to `phy_modify' riscv64-linux-ld: drivers/net/phy/vitesse.o:vitesse.c:(.text+0xfe): more undefined references to `phy_modify' follow riscv64-linux-ld: drivers/net/phy/vitesse.o: in function `vsc739x_config_init': vitesse.c:(.text+0x19e): undefined reference to `mdiobus_read' riscv64-linux-ld: vitesse.c:(.text+0x1d0): undefined reference to `phy_modify' riscv64-linux-ld: drivers/net/phy/vitesse.o: in function `vsc738x_config_init': vitesse.c:(.text+0x200): undefined reference to `phy_modify' riscv64-linux-ld: vitesse.c:(.text+0x214): undefined reference to `phy_modify' riscv64-linux-ld: vitesse.c:(.text+0x240): undefined reference to `phy_modify' riscv64-linux-ld: vitesse.c:(.text+0x278): undefined reference to `phy_modify' riscv64-linux-ld: drivers/net/phy/vitesse.o:vitesse.c:(.text+0x2f4): more undefined references to `phy_modify' follow riscv64-linux-ld: drivers/net/phy/vitesse.o: in function `vsc738x_config_init': >> vitesse.c:(.text+0x46a): undefined reference to `phy_error' riscv64-linux-ld: drivers/net/phy/vitesse.o: in function `vsc824x_config_init': vitesse.c:(.text+0x48e): undefined reference to `phy_trigger_machine' riscv64-linux-ld: drivers/net/phy/vitesse.o: in function `vsc8601_config_init': vitesse.c:(.text+0x584): undefined reference to `genphy_setup_forced' riscv64-linux-ld: drivers/net/phy/vitesse.o: in function `vsc82x4_config_aneg': vitesse.c:(.text+0x636): undefined reference to `__genphy_config_aneg' >> riscv64-linux-ld: vitesse.c:(.text+0x652): undefined reference to `__mdiobus_write' >> riscv64-linux-ld: vitesse.c:(.text+0x664): undefined reference to `__mdiobus_read' Kconfig warnings: (for reference only) WARNING: unmet direct dependencies detected for VITESSE_PHY Depends on NETDEVICES && PHYLIB Selected by - SOC_MICROCHIP_POLARFIRE -- 0-DAY CI Kernel Test Service https://01.org/lkp