All of lore.kernel.org
 help / color / mirror / Atom feed
* [nomadik:ux500-skomer 2/16] arch/arm/boot/compressed/head-golden.S:32: Error: invalid constant (ffff) after fixup
@ 2019-10-20 23:12 ` kbuild test robot
  0 siblings, 0 replies; 2+ messages in thread
From: kbuild test robot @ 2019-10-20 23:12 UTC (permalink / raw)
  To: lambdadroid; +Cc: Linus Walleij, kbuild-all, linux-arm-kernel

[-- Attachment #1: Type: text/plain, Size: 2082 bytes --]

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-nomadik.git ux500-skomer
head:   f1a6bcc62ea4b1aae1400a69d63ad371a07e2af6
commit: b6cc7825ed52a3196b7a35f71f19d9cff360a34e [2/16] HACK: ARM: Lock L2 cache early to fix boot failure on golden
config: arm-ixp4xx_defconfig (attached as .config)
compiler: arm-linux-gnueabi-gcc (GCC) 7.4.0
reproduce:
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        git checkout b6cc7825ed52a3196b7a35f71f19d9cff360a34e
        # save the attached .config to linux build tree
        GCC_VERSION=7.4.0 make.cross ARCH=arm 

If you fix the issue, kindly add following tag
Reported-by: kbuild test robot <lkp@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 kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation

[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 21050 bytes --]

[-- Attachment #3: Type: text/plain, Size: 176 bytes --]

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [nomadik:ux500-skomer 2/16] arch/arm/boot/compressed/head-golden.S:32: Error: invalid constant (ffff) after fixup
@ 2019-10-20 23:12 ` kbuild test robot
  0 siblings, 0 replies; 2+ messages in thread
From: kbuild test robot @ 2019-10-20 23:12 UTC (permalink / raw)
  To: kbuild-all

[-- Attachment #1: Type: text/plain, Size: 2138 bytes --]

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-nomadik.git ux500-skomer
head:   f1a6bcc62ea4b1aae1400a69d63ad371a07e2af6
commit: b6cc7825ed52a3196b7a35f71f19d9cff360a34e [2/16] HACK: ARM: Lock L2 cache early to fix boot failure on golden
config: arm-ixp4xx_defconfig (attached as .config)
compiler: arm-linux-gnueabi-gcc (GCC) 7.4.0
reproduce:
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        git checkout b6cc7825ed52a3196b7a35f71f19d9cff360a34e
        # save the attached .config to linux build tree
        GCC_VERSION=7.4.0 make.cross ARCH=arm 

If you fix the issue, kindly add following tag
Reported-by: kbuild test robot <lkp@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 kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation

[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 21050 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2019-10-20 23:13 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-10-20 23:12 [nomadik:ux500-skomer 2/16] arch/arm/boot/compressed/head-golden.S:32: Error: invalid constant (ffff) after fixup kbuild test robot
2019-10-20 23:12 ` kbuild test robot

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.