Re: [RFC] arm: Add generic smc wrapper

From: kbuild test robot
Date: Fri Oct 02 2015 - 01:14:46 EST


Hi Lars,

[auto build test results on v4.3-rc3 -- if it's inappropriate base, please ignore]

config: arm-rpc_defconfig (attached as .config)
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 error/warnings (new ones prefixed by >>):

arch/arm/kernel/smc-call.S: Assembler messages:
>> arch/arm/kernel/smc-call.S:21: Error: selected processor does not support ARM mode `bx lr'

vim +21 arch/arm/kernel/smc-call.S

15
16 #include <asm/opcodes-sec.h>
17
18 /* int invoke_smc(u32 function_id, u32 arg0, u32 arg1, u32 arg2) */
19 ENTRY(invoke_smc)
20 __SMC(0)
> 21 bx lr
22 ENDPROC(invoke_smc)

---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation

Attachment: .config.gz
Description: Binary data