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 C7621C433F5 for ; Thu, 9 Dec 2021 18:51:40 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229802AbhLISzN (ORCPT ); Thu, 9 Dec 2021 13:55:13 -0500 Received: from mga09.intel.com ([134.134.136.24]:18551 "EHLO mga09.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229625AbhLISzM (ORCPT ); Thu, 9 Dec 2021 13:55:12 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1639075898; x=1670611898; h=date:from:to:cc:subject:message-id:mime-version; bh=4exh6KfZGZJ1kF4PVXOAW+G8CJGkYg0ZxXfAuWQE4DQ=; b=ghgp8vyrAl13F9aKWOb6/U6os3rugtt8LiTyxJKkQqTsO/MjiIBP+6Wa ePSKKiX9rIDBCO3Ld+jtxYT6tSDn4hd8QfrNtL7gdzb4xPs7SA/El/MOF JBK3dYJa9gkckX//S80PFNOZ13idA/cjC4wi64PdGjtpyGKFmtmvuNWlP ChbjkvR4IAlln6MFBie7Ycxze99uNxymqk3RdwEUhE5pQZxmJORvmVrT1 N4ApRux5PfGSSleHDX5fkNNSV0CoBtMrgeDIjbPmBUr4xtKVrEvrORq0d QxVKKn7uc35jGcKcHdZ7LAZVz4uaPj5N0HvIMEcUljil882Ko6YTwrFES g==; X-IronPort-AV: E=McAfee;i="6200,9189,10193"; a="237987063" X-IronPort-AV: E=Sophos;i="5.88,193,1635231600"; d="scan'208";a="237987063" Received: from orsmga006.jf.intel.com ([10.7.209.51]) by orsmga102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 09 Dec 2021 10:51:38 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.88,193,1635231600"; d="scan'208";a="463361860" Received: from lkp-server02.sh.intel.com (HELO 9e1e9f9b3bcb) ([10.239.97.151]) by orsmga006.jf.intel.com with ESMTP; 09 Dec 2021 10:51:36 -0800 Received: from kbuild by 9e1e9f9b3bcb with local (Exim 4.92) (envelope-from ) id 1mvOW0-0002Gv-1c; Thu, 09 Dec 2021 18:51:36 +0000 Date: Fri, 10 Dec 2021 02:50:56 +0800 From: kernel test robot To: Ard Biesheuvel Cc: kbuild-all@lists.01.org, linux-kernel@vger.kernel.org Subject: [ardb:for-kernelci 1/1] arch/arm/boot/compressed/head.S:315: Error: invalid constant (408000) after fixup Message-ID: <202112100254.0Rw7jLH5-lkp@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.10.1 (2018-07-13) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org tree: git://git.kernel.org/pub/scm/linux/kernel/git/ardb/linux.git for-kernelci head: 3d803745c0cdcca58579eb2654530bf4be3bef72 commit: 3d803745c0cdcca58579eb2654530bf4be3bef72 [1/1] ARM: set textoffset to 4 MiB unconditionally config: arm-randconfig-c002-20211209 (https://download.01.org/0day-ci/archive/20211210/202112100254.0Rw7jLH5-lkp@intel.com/config) compiler: arm-linux-gnueabi-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://git.kernel.org/pub/scm/linux/kernel/git/ardb/linux.git/commit/?id=3d803745c0cdcca58579eb2654530bf4be3bef72 git remote add ardb git://git.kernel.org/pub/scm/linux/kernel/git/ardb/linux.git git fetch --no-tags ardb for-kernelci git checkout 3d803745c0cdcca58579eb2654530bf4be3bef72 # save the config file to linux build tree mkdir build_dir COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross O=build_dir ARCH=arm 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 >>): arch/arm/boot/compressed/head.S: Assembler messages: >> arch/arm/boot/compressed/head.S:315: Error: invalid constant (408000) after fixup vim +315 arch/arm/boot/compressed/head.S 0673cb38951215 Geert Uytterhoeven 2021-01-04 300 0673cb38951215 Geert Uytterhoeven 2021-01-04 301 /* 0673cb38951215 Geert Uytterhoeven 2021-01-04 302 * Make sure we have some stack before calling C code. 0673cb38951215 Geert Uytterhoeven 2021-01-04 303 * No GOT fixup has occurred yet, but none of the code we're 0673cb38951215 Geert Uytterhoeven 2021-01-04 304 * about to call uses any global variables. 0673cb38951215 Geert Uytterhoeven 2021-01-04 305 */ 0673cb38951215 Geert Uytterhoeven 2021-01-04 306 ldr sp, [r1] @ get stack location 0673cb38951215 Geert Uytterhoeven 2021-01-04 307 add sp, sp, r1 @ apply relocation 0673cb38951215 Geert Uytterhoeven 2021-01-04 308 0673cb38951215 Geert Uytterhoeven 2021-01-04 309 /* Validate calculated start against passed DTB */ 0673cb38951215 Geert Uytterhoeven 2021-01-04 310 mov r1, r8 0673cb38951215 Geert Uytterhoeven 2021-01-04 311 bl fdt_check_mem_start 0673cb38951215 Geert Uytterhoeven 2021-01-04 312 1: 0673cb38951215 Geert Uytterhoeven 2021-01-04 313 #endif /* CONFIG_USE_OF */ 0a6a78b8b3c1c1 Russell King 2015-03-26 314 /* Determine final kernel image address. */ 0673cb38951215 Geert Uytterhoeven 2021-01-04 @315 add r4, r0, #TEXT_OFFSET e69edc7939abda Eric Miao 2010-07-05 316 #else 9e84ed63dc71e1 Russell King 2010-09-09 317 ldr r4, =zreladdr e69edc7939abda Eric Miao 2010-07-05 318 #endif ^1da177e4c3f41 Linus Torvalds 2005-04-16 319 2874865c1271cc Nicolas Pitre 2013-06-06 320 /* 2874865c1271cc Nicolas Pitre 2013-06-06 321 * Set up a page table only if it won't overwrite ourself. 7d57909bf69f21 Masahiro Yamada 2015-01-20 322 * That means r4 < pc || r4 - 16k page directory > &_end. 2874865c1271cc Nicolas Pitre 2013-06-06 323 * Given that r4 > &_end is most unfrequent, we add a rough 2874865c1271cc Nicolas Pitre 2013-06-06 324 * additional 1MB of room for a possible appended DTB. 2874865c1271cc Nicolas Pitre 2013-06-06 325 */ 2874865c1271cc Nicolas Pitre 2013-06-06 326 mov r0, pc 2874865c1271cc Nicolas Pitre 2013-06-06 327 cmp r0, r4 691cbe5ba5f77f Ard Biesheuvel 2020-04-13 328 ldrcc r0, .Lheadroom 2874865c1271cc Nicolas Pitre 2013-06-06 329 addcc r0, r0, pc 2874865c1271cc Nicolas Pitre 2013-06-06 330 cmpcc r4, r0 2874865c1271cc Nicolas Pitre 2013-06-06 331 orrcc r4, r4, #1 @ remember we skipped cache_on 2874865c1271cc Nicolas Pitre 2013-06-06 332 blcs cache_on 6d7d0ae5157494 Nicolas Pitre 2011-02-21 333 :::::: The code at line 315 was first introduced by commit :::::: 0673cb38951215060d7993b43ad3c45cd413c2c3 ARM: 9045/1: uncompress: Validate start of physical memory against passed DTB :::::: TO: Geert Uytterhoeven :::::: CC: Russell King --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org