Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp2820024pxb; Sun, 28 Feb 2021 14:54:23 -0800 (PST) X-Google-Smtp-Source: ABdhPJyN0Z07cRJ4Bi5/NM8312E1UmTIKvy/q3hA2BmM8OP2QzY0pqYVKuxV2unTdxng5xdbYwlW X-Received: by 2002:a05:6402:b2d:: with SMTP id bo13mr13557764edb.120.1614552862897; Sun, 28 Feb 2021 14:54:22 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1614552862; cv=none; d=google.com; s=arc-20160816; b=0KTpBhjZo/G6/hbpla7jrFV/zMynxsNdqsBWvY3V5pEYprpz74QgTA280a0jx4cocs EMyaiSRyUslzRQ+59AZeejmPI6lS7oI9+43d6O0fYxukYGvb8T8NfR9/vkiPVgw+Kgee dqrifmoLYFQrwcg2Yn/KOkHj7b53+hfZnnxcYkDeJGrZVtghGCuXIqb9iHtxpvh1tiMu gbM1SwgKMbkDXMUkwxBFQ/AQ4zfs/mWGIYG86QEc/7FXe6pORwiku1yZbXEY432hM+ci vMaSGO61Cz4ypZdF7DMXzAyPdAREKL4puQYkZ4wX01D5WI9+HB8u42fDPrTi/T5Nv4nm ks+w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:reply-to:message-id:subject:cc:to:from:date :dkim-signature; bh=JTjubYcjOSxSXL4/OTUQLLmwDakQ92dG7aifM9eaJOk=; b=I+x/T5+Y1ldDk+Ozu1xB1k7YQR6JSZL2O0T+w+ALtvfVH8pYwxFqMj7ZrSzVlhwAgV GJDd1qxk+a0tj/R8AMjoLSuEs7dB+YS6zElhKwQm0lF2R+na1dE1F+Qu0AK7JdiZoGmX hrkA3EM8zCa3AtCi2nRLcCDjBwO4CDPt/kJ+4vSLt5CcsSATj98bf70Vo1hbg13TJtxJ c3rCVwLzLonobLUjvaBzmW7uP5HGj4bwF+6sfXrmvlKn4Q4/sYDmo0hwXSIsHYm5x2SX 6+lCIKv7df2icZ3Tgp0gQDxDVevWm3zzuJuMj9KpxvOBEfAf2Kjvd/AsXg6agT4nau6B KgXg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=EmszaI2I; 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 fj2si10148696ejc.472.2021.02.28.14.54.00; Sun, 28 Feb 2021 14:54:22 -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=EmszaI2I; 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 S231567AbhB1Wdo (ORCPT + 99 others); Sun, 28 Feb 2021 17:33:44 -0500 Received: from mail.kernel.org ([198.145.29.99]:52808 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230437AbhB1Wdo (ORCPT ); Sun, 28 Feb 2021 17:33:44 -0500 Received: by mail.kernel.org (Postfix) with ESMTPSA id 1BED064E6B; Sun, 28 Feb 2021 22:33:03 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1614551583; bh=VObIh5CNbumDqgZFvzBZjm6yvpKD+a7f2t02dn0j1os=; h=Date:From:To:Cc:Subject:Reply-To:References:In-Reply-To:From; b=EmszaI2I4im8zuwZvhp6oj8YIQYDgt9ynsYMuWFC4CNiIuVM+GTDR9XiYd7S8FghT 0OhUKbcu8V5bz1EeJGE5Nsa2PZL9QlfOxGO9hDgtoOcoa5bO/IWZo0aNy9j1kMO6gS QmDKVCEmZl1cuZr29zegc50jEBdU28rDLUdGxdta0um2aJwZUWKvx9OsJfoh/cfMun cTqQJsSlM1acHk1l+EZgfoqrh/wbifK6ZEptT5C+ttCOQahs6smMJqEZkCG1Lr/Ndu p850v953S2v7zGTjbkg95MAC0rrGyV1G6Hb1rxed8dlBmKARhL9j4kpy7OJr0vodfE n7XpiQyl0XXqg== Received: by paulmck-ThinkPad-P72.home (Postfix, from userid 1000) id D915535239D3; Sun, 28 Feb 2021 14:33:02 -0800 (PST) Date: Sun, 28 Feb 2021 14:33:02 -0800 From: "Paul E. McKenney" To: Helge Deller Cc: kernel test robot , linux-parisc , kbuild-all@lists.01.org, linux-kernel@vger.kernel.org Subject: Re: hppa64-linux-ld: kernel/rcu/refscale.o(.init.text+0x228): cannot reach schedule_timeout_uninterruptible Message-ID: <20210228223302.GE2696@paulmck-ThinkPad-P72> Reply-To: paulmck@kernel.org References: <202102281205.3F9aEA0G-lkp@intel.com> <20210228050526.GD2696@paulmck-ThinkPad-P72> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.9.4 (2018-02-28) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, Feb 28, 2021 at 09:51:35PM +0100, Helge Deller wrote: > Adding parisc-parisc mailing list... > > On 2/28/21 6:05 AM, Paul E. McKenney wrote: > > On Sun, Feb 28, 2021 at 12:08:08PM +0800, kernel test robot wrote: > > > Hi Paul, > > > > > > First bad commit (maybe != root cause): > > > > > > tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master > > > head: 5695e51619745d4fe3ec2506a2f0cd982c5e27a4 > > > commit: 1fbeb3a8c4de29433a8d230ee600b13d369b6c0f refperf: Rename refperf.c to refscale.c and change internal names > > > date: 8 months ago > > > config: parisc-randconfig-s031-20210228 (attached as .config) > > > compiler: hppa64-linux-gcc (GCC) 9.3.0 > > > reproduce: > > > wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross > > > chmod +x ~/bin/make.cross > > > # apt-get install sparse > > > # sparse version: v0.6.3-241-geaceeafa-dirty > > > # https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=1fbeb3a8c4de29433a8d230ee600b13d369b6c0f > > > git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git > > > git fetch --no-tags linus master > > > git checkout 1fbeb3a8c4de29433a8d230ee600b13d369b6c0f > > > # save the attached .config to linux build tree > > > COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' ARCH=parisc > > > > > > If you fix the issue, kindly add following tag as appropriate > > > Reported-by: kernel test robot > > > > > > All errors (new ones prefixed by >>): > > > > I must confess that I have no idea what I can do about these errors. > > > > Did the kernel maybe grow larger than can be handled by the PA-RISC > > toolchain? > > No, I assume it's because the function calls from the .init section are > located too far away from the other code. Reason is probably because > huge pages are selected and thus I tried to pack the init section so that > it can get discarded after bootup. > > I'll look into it now... Thank you! Thanx, Paul > Helge > > > > > Thanx, Paul > > > > > hppa64-linux-ld: init/main.o(.init.text+0xdd8): cannot reach rest_init > > > init/main.o: in function `arch_call_rest_init': > > > (.init.text+0xdd8): relocation truncated to fit: R_PARISC_PCREL22F against symbol `rest_init' defined in .ref.text section in init/main.o > > > hppa64-linux-ld: init/main.o(.init.text+0x13d8): cannot reach build_all_zonelists > > > init/main.o: in function `start_kernel': > > > (.init.text+0x13d8): relocation truncated to fit: R_PARISC_PCREL22F against symbol `build_all_zonelists' defined in .ref.text section in mm/page_alloc.o > > > hppa64-linux-ld: init/main.o(.init.text+0x176c): cannot reach profile_init > > > (.init.text+0x176c): relocation truncated to fit: R_PARISC_PCREL22F against symbol `profile_init' defined in .ref.text section in kernel/profile.o > > > hppa64-linux-ld: init/main.o(.init.text+0x1ac0): cannot reach wait_for_completion > > > init/main.o: in function `kernel_init_freeable': > > > (.init.text+0x1ac0): relocation truncated to fit: R_PARISC_PCREL22F against symbol `wait_for_completion' defined in .sched.text section in kernel/sched/completion.o > > > hppa64-linux-ld: init/main.o(.ref.text+0x1c): cannot reach rcu_scheduler_starting > > > init/main.o: in function `rest_init': > > > (.ref.text+0x1c): relocation truncated to fit: R_PARISC_PCREL22F against symbol `rcu_scheduler_starting' defined in .init.text section in kernel/rcu/srcutiny.o > > > hppa64-linux-ld: init/main.o(.ref.text+0x17c): cannot reach unknown > > > init/main.o: in function `kernel_init': > > > (.ref.text+0x17c): relocation truncated to fit: R_PARISC_PCREL22F against `kernel_init_freeable' > > > hppa64-linux-ld: arch/parisc/mm/init.o(.ref.text+0x78): cannot reach unknown > > > arch/parisc/mm/init.o: in function `free_initmem': > > > (.ref.text+0x78): relocation truncated to fit: R_PARISC_PCREL22F against `map_pages' > > > hppa64-linux-ld: arch/parisc/mm/init.o(.ref.text+0xa0): cannot reach unknown > > > (.ref.text+0xa0): relocation truncated to fit: R_PARISC_PCREL22F against `map_pages' > > > hppa64-linux-ld: arch/parisc/mm/init.o(.ref.text+0xc4): cannot reach unknown > > > (.ref.text+0xc4): relocation truncated to fit: R_PARISC_PCREL22F against `map_pages' > > > hppa64-linux-ld: kernel/printk/printk.o(.init.text+0x768): cannot reach _raw_spin_lock > > > kernel/printk/printk.o: in function `setup_log_buf': > > > (.init.text+0x768): relocation truncated to fit: R_PARISC_PCREL22F against symbol `_raw_spin_lock' defined in .spinlock.text section in kernel/locking/spinlock.o > > > hppa64-linux-ld: kernel/printk/printk.o(.init.text+0x7c4): cannot reach _raw_spin_unlock > > > (.init.text+0x7c4): additional relocation overflows omitted from the output > > > hppa64-linux-ld: kernel/cgroup/cgroup.o(.init.text+0x228): cannot reach mutex_lock > > > hppa64-linux-ld: kernel/cgroup/cgroup.o(.init.text+0x440): cannot reach mutex_unlock > > > hppa64-linux-ld: kernel/cgroup/cgroup.o(.init.text+0x7a0): cannot reach mutex_lock > > > hppa64-linux-ld: kernel/cgroup/cgroup.o(.init.text+0x878): cannot reach mutex_unlock > > > hppa64-linux-ld: kernel/cgroup/cgroup.o(.init.text+0xad4): cannot reach mutex_lock > > > hppa64-linux-ld: kernel/cgroup/cgroup.o(.init.text+0xafc): cannot reach mutex_unlock > > > hppa64-linux-ld: kernel/resource.o(.init.text+0x32c): cannot reach _raw_write_lock > > > hppa64-linux-ld: kernel/resource.o(.init.text+0x4f8): cannot reach _raw_write_unlock > > > hppa64-linux-ld: kernel/time/clocksource.o(.init.text+0x90): cannot reach mutex_lock > > > hppa64-linux-ld: kernel/time/clocksource.o(.init.text+0xc4): cannot reach mutex_unlock > > > hppa64-linux-ld: kernel/time/clocksource.o(.init.text+0x1b8): cannot reach mutex_lock > > > hppa64-linux-ld: kernel/time/clocksource.o(.init.text+0x208): cannot reach mutex_unlock > > > hppa64-linux-ld: kernel/workqueue.o(.init.text+0xa8): cannot reach mutex_lock > > > hppa64-linux-ld: kernel/workqueue.o(.init.text+0x128): cannot reach mutex_unlock > > > hppa64-linux-ld: kernel/workqueue.o(.init.text+0x354): cannot reach mutex_lock > > > hppa64-linux-ld: kernel/workqueue.o(.init.text+0x388): cannot reach mutex_unlock > > > hppa64-linux-ld: kernel/user.o(.init.text+0x80): cannot reach _raw_spin_lock_irq > > > hppa64-linux-ld: kernel/user.o(.init.text+0xb8): cannot reach _raw_spin_unlock_irq > > > > > hppa64-linux-ld: kernel/rcu/refscale.o(.init.text+0x228): cannot reach schedule_timeout_uninterruptible > > > hppa64-linux-ld: kernel/time/timekeeping.o(.init.text+0x228): cannot reach _raw_spin_lock_irqsave > > > hppa64-linux-ld: kernel/time/timekeeping.o(.init.text+0x320): cannot reach _raw_spin_unlock_irqrestore > > > hppa64-linux-ld: kernel/time/sched_clock.o(.init.text+0x170): cannot reach __muldi3 > > > hppa64-linux-ld: kernel/time/sched_clock.o(.init.text+0x214): cannot reach __udivdi3 > > > hppa64-linux-ld: kernel/time/sched_clock.o(.init.text+0x240): cannot reach __udivdi3 > > > hppa64-linux-ld: arch/parisc/kernel/cache.o(.init.text+0x2d4): cannot reach __muldi3 > > > hppa64-linux-ld: arch/parisc/kernel/cache.o(.init.text+0x2ec): cannot reach __udivdi3 > > > hppa64-linux-ld: arch/parisc/kernel/cache.o(.init.text+0x3d4): cannot reach __muldi3 > > > hppa64-linux-ld: arch/parisc/kernel/cache.o(.init.text+0x3ec): cannot reach __udivdi3 > > > hppa64-linux-ld: arch/parisc/kernel/firmware.o(.init.text+0x3c): cannot reach _raw_spin_lock_irqsave > > > hppa64-linux-ld: arch/parisc/kernel/firmware.o(.init.text+0xe8): cannot reach _raw_spin_unlock_irqrestore > > > hppa64-linux-ld: arch/parisc/kernel/firmware.o(.init.text+0x170): cannot reach _raw_spin_lock_irqsave > > > hppa64-linux-ld: arch/parisc/kernel/firmware.o(.init.text+0x288): cannot reach _raw_spin_unlock_irqrestore > > > hppa64-linux-ld: arch/parisc/kernel/firmware.o(.init.text+0x30c): cannot reach _raw_spin_lock_irqsave > > > hppa64-linux-ld: arch/parisc/kernel/firmware.o(.init.text+0x3d8): cannot reach _raw_spin_unlock_irqrestore > > > > > > --- > > > 0-DAY CI Kernel Test Service, Intel Corporation > > > https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org > > > > > > >