Re: [PATCH v3 20/25] ARM: owl: Implement CPU enable-method for S500

From: Andreas FÃrber
Date: Wed Mar 01 2017 - 09:13:58 EST


Am 01.03.2017 um 08:19 schrieb kbuild test robot:
> Hi Andreas,
>
> [auto build test ERROR on next-20170228]
> [also build test ERROR on v4.10]
> [cannot apply to robh/for-next linus/master linux/master v4.9-rc8 v4.9-rc7 v4.9-rc6]
> [if your patch is applied to the wrong git tree, please drop us a note to help improve the system]
>
> url: https://github.com/0day-ci/linux/commits/Andreas-F-rber/ARM-Initial-Actions-Semi-S500-and-S900-enablement/20170301-110028
> config: arm-allmodconfig (attached as .config)
> compiler: arm-linux-gnueabi-gcc (Debian 6.1.1-9) 6.1.1 20160705
> reproduce:
> wget https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross -O ~/bin/make.cross
> chmod +x ~/bin/make.cross
> # save the attached .config to linux build tree
> make.cross ARCH=arm
>
> All errors (new ones prefixed by >>):
>
> arch/arm/mach-actions/headsmp.S: Assembler messages:
>>> arch/arm/mach-actions/headsmp.S:43: Error: selected processor does not support `dsb' in ARM mode
>>> arch/arm/mach-actions/headsmp.S:44: Error: selected processor does not support `isb' in ARM mode
>
> vim +43 arch/arm/mach-actions/headsmp.S
>
> 37 mov r6, r2, lsl r0
> 38 orr r5, r5, r6 @ Reg = (Temp<<WayShift)|(NumSets<<SetShift)
> 39 mcr p15, 0, r5, c7, c6, 2
> 40 bgt 2b
> 41 cmp r2, #0
> 42 bgt 1b
> > 43 dsb
> > 44 isb

Any suggestion what to do about this error? Obviously it built fine for
me, and the only thing I spotted in the attached config was that it's
apparently a BE8 build...

Do we need a Kconfig "depends on" or some #ifdef here? This assembler
part of the code was merely indentation-fixed by me.

Regards,
Andreas

> 45 mov pc, lr
> 46 ENDPROC(owl_v7_invalidate_l1)
> 47
>
> ---
> 0-DAY kernel test infrastructure Open Source Technology Center
> https://lists.01.org/pipermail/kbuild-all Intel Corporation

--
SUSE Linux GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany
GF: Felix Imendörffer, Jane Smithard, Graham Norton
HRB 21284 (AG Nürnberg)