Linux SNPS ARC Archive on lore.kernel.org
 help / color / Atom feed
From: kbuild test robot <lkp@intel.com>
To: Vineet Gupta <vgupta@synopsys.com>
Cc: linux-snps-arc@lists.infradead.org, kbuild-all@lists.01.org
Subject: [arc:topic-zol-remove 49/49] arch/arc/kernel/entry-arcv2.S:212: Error: bad expression
Date: Thu, 21 May 2020 15:31:34 +0800
Message-ID: <202005211530.JOAyMIEq%lkp@intel.com> (raw)


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

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@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@synopsys.com>
:::::: CC: Vineet Gupta <vgupta@synopsys.com>

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org

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

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

_______________________________________________
linux-snps-arc mailing list
linux-snps-arc@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-snps-arc

                 reply index

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=202005211530.JOAyMIEq%lkp@intel.com \
    --to=lkp@intel.com \
    --cc=kbuild-all@lists.01.org \
    --cc=linux-snps-arc@lists.infradead.org \
    --cc=vgupta@synopsys.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

Linux SNPS ARC Archive on lore.kernel.org

Archives are clonable:
	git clone --mirror https://lore.kernel.org/linux-snps-arc/0 linux-snps-arc/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 linux-snps-arc linux-snps-arc/ https://lore.kernel.org/linux-snps-arc \
		linux-snps-arc@lists.infradead.org
	public-inbox-index linux-snps-arc

Example config snippet for mirrors

Newsgroup available over NNTP:
	nntp://nntp.lore.kernel.org/org.infradead.lists.linux-snps-arc


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git