[nomadik:ux500-samsung-boot-without-u-boot 1/2] arch/arm/boot/compressed/head-golden.S:32: Error: invalid constant (ffff) after fixup

kernel test robot lkp at intel.com
Tue Mar 9 19:18:02 GMT 2021


tree:   https://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-nomadik.git ux500-samsung-boot-without-u-boot
head:   eea190e769f7a2ccce1c9c629b1a374bd72ceb3c
commit: 92a713aca4472c5a94b87fdaecac669ec673e90b [1/2] HACK: ARM: Lock L2 cache early to fix boot failure on golden
config: arm-randconfig-r001-20210309 (attached as .config)
compiler: arm-linux-gnueabi-gcc (GCC) 9.3.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/linusw/linux-nomadik.git/commit/?id=92a713aca4472c5a94b87fdaecac669ec673e90b
        git remote add nomadik https://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-nomadik.git
        git fetch --no-tags nomadik ux500-samsung-boot-without-u-boot
        git checkout 92a713aca4472c5a94b87fdaecac669ec673e90b
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=arm 

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp at intel.com>

All errors (new ones prefixed by >>):

   arch/arm/boot/compressed/head-golden.S: Assembler messages:
>> arch/arm/boot/compressed/head-golden.S:32: Error: invalid constant (ffff) after fixup


vim +32 arch/arm/boot/compressed/head-golden.S

    17	
    18			.section        ".start", "ax"
    19	
    20	__golden_start:
    21	
    22		@ Preserve r8/r7 i.e. kernel entry values
    23	
    24		ldr	r3, .U8500_L2CC_BASE
    25	
    26		@ if ((readl(U8500_L2CC_BASE + L2X0_CTRL) & 1) == 1)
    27		ldr	r2, [r3, #L2X0_CTRL]
    28		tst	r2, #1
    29		beq	99f
    30	
    31		@ writel(L2X0_WAY_MASK, U8500_L2CC_BASE + L2X0_CLEAN_INV_WAY);
  > 32		mov	r2, #L2X0_WAY_MASK
    33		str	r2, [r3, #L2X0_CLEAN_INV_WAY]
    34	
    35		@ while (readl(U8500_L2CC_BASE + L2X0_CLEAN_INV_WAY)
    36		@		& L2X0_WAY_MASK)
    37	1:	ldr	r1, [r3, #L2X0_CLEAN_INV_WAY]
    38		tst	r1, r2
    39		bne	1b
    40	
    41		@ writel(L2X0_WAY_MASK, U8500_L2CC_BASE + L2X0_DATA_LOCKDOWN_WAY);
    42		str	r2, [r3, #L2X0_DATA_LOCKDOWN_WAY]
    43		@ writel(L2X0_WAY_MASK, U8500_L2CC_BASE + L2X0_INST_LOCKDOWN_WAY);
    44		str	r2, [r3, #L2X0_INST_LOCKDOWN_WAY]
    45		b	99f
    46	

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: .config.gz
Type: application/gzip
Size: 34330 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20210310/22c1cdab/attachment-0001.gz>


More information about the linux-arm-kernel mailing list