Hi Vineet,
First bad commit (maybe != root cause):
tree:
https://git.kernel.org/pub/scm/linux/kernel/git/vgupta/arc.git topic-zol-remove
head: 3138fa6a1832fdb830784a9781e63d739c0fdef7
commit: 3138fa6a1832fdb830784a9781e63d739c0fdef7 [49/49] ARC: entry: assembler macros to
emulate pseudo instructions
config: arc-randconfig-r021-20200520 (attached as .config)
compiler: arc-elf-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
git checkout 3138fa6a1832fdb830784a9781e63d739c0fdef7
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=arc
If you fix the issue, kindly add following tag as appropriate
Reported-by: kbuild test robot <lkp(a)intel.com>
All errors (new ones prefixed by >>, old ones prefixed by <<):
arch/arc/kernel/entry-arcv2.S: Assembler messages:
> arch/arc/kernel/entry-arcv2.S:212: Error: bad expression
> arch/arc/kernel/entry-arcv2.S:212: Error: Brackets in operand field incorrect
> arch/arc/kernel/entry-arcv2.S:212: Error: syntax error
> arch/arc/kernel/entry-arcv2.S:212: Error: bad expression
> arch/arc/kernel/entry-arcv2.S:212: Error: Brackets in operand field incorrect
> arch/arc/kernel/entry-arcv2.S:212: Error: syntax error
arch/arc/kernel/entry-arcv2.S:220: Error: bad expression
arch/arc/kernel/entry-arcv2.S:220: Error: Brackets in operand field incorrect
arch/arc/kernel/entry-arcv2.S:220: Error: syntax error
arch/arc/kernel/entry-arcv2.S:220: Error: bad expression
arch/arc/kernel/entry-arcv2.S:220: Error: Brackets in operand field incorrect
arch/arc/kernel/entry-arcv2.S:220: Error: syntax error
arch/arc/kernel/entry-arcv2.S:220: Error: bad expression
arch/arc/kernel/entry-arcv2.S:220: Error: Brackets in operand field incorrect
arch/arc/kernel/entry-arcv2.S:220: Error: syntax error
arch/arc/kernel/entry-arcv2.S:220: Error: bad expression
arch/arc/kernel/entry-arcv2.S:220: Error: Brackets in operand field incorrect
arch/arc/kernel/entry-arcv2.S:220: Error: syntax error
arch/arc/kernel/entry-arcv2.S:220: Error: bad expression
arch/arc/kernel/entry-arcv2.S:220: Error: Brackets in operand field incorrect
arch/arc/kernel/entry-arcv2.S:220: Error: syntax error
arch/arc/kernel/entry-arcv2.S:220: Error: bad expression
arch/arc/kernel/entry-arcv2.S:220: Error: Brackets in operand field incorrect
arch/arc/kernel/entry-arcv2.S:220: Error: syntax error
arch/arc/kernel/entry-arcv2.S:220: Error: bad expression
arch/arc/kernel/entry-arcv2.S:220: Error: Brackets in operand field incorrect
arch/arc/kernel/entry-arcv2.S:220: Error: syntax error
arch/arc/kernel/entry-arcv2.S:220: Error: bad expression
arch/arc/kernel/entry-arcv2.S:220: Error: Brackets in operand field incorrect
arch/arc/kernel/entry-arcv2.S:220: Error: syntax error
arch/arc/kernel/entry-arcv2.S:220: Error: bad expression
arch/arc/kernel/entry-arcv2.S:220: Error: Brackets in operand field incorrect
arch/arc/kernel/entry-arcv2.S:220: Error: syntax error
arch/arc/kernel/entry-arcv2.S:220: Error: bad expression
arch/arc/kernel/entry-arcv2.S:220: Error: Brackets in operand field incorrect
arch/arc/kernel/entry-arcv2.S:220: Error: syntax error
vim +212 arch/arc/kernel/entry-arcv2.S
75370ad44075e8 Vineet Gupta 2019-05-22 194
1f6ccfff631467 Vineet Gupta 2013-05-13 195 debug_marker_l1:
e494239a007e60 Vineet Gupta 2018-06-06 196 ; bbit1.nt r0, STATUS_DE_BIT,
.Lintr_ret_to_delay_slot
e494239a007e60 Vineet Gupta 2018-06-06 197 btst r0, STATUS_DE_BIT ; Z flag set if bit
clear
e494239a007e60 Vineet Gupta 2018-06-06 198 bnz .Lintr_ret_to_delay_slot ; branch if
STATUS_DE_BIT set
4255b07f2c9c43 Vineet Gupta 2014-09-22 199
1f6ccfff631467 Vineet Gupta 2013-05-13 200 ; Handle special case #1: (Entry via
Exception, Return via IRQ)
1f6ccfff631467 Vineet Gupta 2013-05-13 201 ;
1f6ccfff631467 Vineet Gupta 2013-05-13 202 ; Exception in U mode, preempted in kernel,
Intr taken (K mode), orig
1f6ccfff631467 Vineet Gupta 2013-05-13 203 ; task now returning to U mode (riding the
Intr)
1f6ccfff631467 Vineet Gupta 2013-05-13 204 ; AUX_IRQ_ACTIVE won't have U bit set
(since intr in K mode), hence SP
1f6ccfff631467 Vineet Gupta 2013-05-13 205 ; won't be switched to correct U mode
value (from AUX_SP)
1f6ccfff631467 Vineet Gupta 2013-05-13 206 ; So force AUX_IRQ_ACT.U for such a case
1f6ccfff631467 Vineet Gupta 2013-05-13 207
1f6ccfff631467 Vineet Gupta 2013-05-13 208 btst r0, STATUS_U_BIT ; Z flag set if K (Z
clear for U)
1f6ccfff631467 Vineet Gupta 2013-05-13 209 bset.nz r11, r11, AUX_IRQ_ACT_BIT_U ; NZ
means U
1f6ccfff631467 Vineet Gupta 2013-05-13 210 sr r11, [AUX_IRQ_ACT]
1f6ccfff631467 Vineet Gupta 2013-05-13 211
a4880801a72ecc Vineet Gupta 2019-05-15 @212 INTERRUPT_EPILOGUE
1f6ccfff631467 Vineet Gupta 2013-05-13 213 rtie
1f6ccfff631467 Vineet Gupta 2013-05-13 214
:::::: The code at line 212 was first introduced by commit
:::::: a4880801a72ecc2dcdfa432f81a754f3e7438567 ARCv2: entry: rewrite to enable use of
double load/stores LDD/STD
:::::: TO: Vineet Gupta <vgupta(a)synopsys.com>
:::::: CC: Vineet Gupta <vgupta(a)synopsys.com>
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org