From: kernel test robot <lkp@intel.com>
To: kbuild-all@lists.01.org
Subject: [linux-stable-rc:linux-4.4.y 1401/1774] drivers/spi/spi-s3c24xx-fiq.S:52: Error: bad instruction `subsne pc, lr, #4'
Date: Thu, 01 Jul 2021 06:38:40 +0800 [thread overview]
Message-ID: <202107010631.Dw0PrasS-lkp@intel.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 3236 bytes --]
tree: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git linux-4.4.y
head: 38c92ba3580f0d00e57a55caf8f880aa1a0f2a50
commit: 10a0c6746644a4fcaf1ffe2916387e17ba059517 [1401/1774] ARM: s3c: fix fiq for clang IAS
config: arm-randconfig-r034-20210630 (attached as .config)
compiler: arm-linux-gnueabi-gcc (GCC) 7.5.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
# https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git/commit/?id=10a0c6746644a4fcaf1ffe2916387e17ba059517
git remote add linux-stable-rc https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git
git fetch --no-tags linux-stable-rc linux-4.4.y
git checkout 10a0c6746644a4fcaf1ffe2916387e17ba059517
# save the attached .config to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-7.5.0 make.cross O=build_dir ARCH=arm SHELL=/bin/bash drivers/
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>
All errors (new ones prefixed by >>):
drivers/spi/spi-s3c24xx-fiq.S: Assembler messages:
>> drivers/spi/spi-s3c24xx-fiq.S:52: Error: bad instruction `subsne pc,lr,#4'
drivers/spi/spi-s3c24xx-fiq.S:78: Error: bad instruction `subsne pc,lr,#4'
drivers/spi/spi-s3c24xx-fiq.S:102: Error: bad instruction `subsne pc,lr,#4'
vim +52 drivers/spi/spi-s3c24xx-fiq.S
21
22 .text
23
24 @ entry to these routines is as follows, with the register names
25 @ defined in fiq.h so that they can be shared with the C files which
26 @ setup the calling registers.
27 @
28 @ fiq_rirq The base of the IRQ registers to find S3C2410_SRCPND
29 @ fiq_rtmp Temporary register to hold tx/rx data
30 @ fiq_rspi The base of the SPI register block
31 @ fiq_rtx The tx buffer pointer
32 @ fiq_rrx The rx buffer pointer
33 @ fiq_rcount The number of bytes to move
34
35 @ each entry starts with a word entry of how long it is
36 @ and an offset to the irq acknowledgment word
37
38 ENTRY(s3c24xx_spi_fiq_rx)
39 .word fiq_rx_end - fiq_rx_start
40 .word fiq_rx_irq_ack - fiq_rx_start
41 fiq_rx_start:
42 ldr fiq_rtmp, fiq_rx_irq_ack
43 str fiq_rtmp, [ fiq_rirq, # S3C2410_SRCPND - S3C24XX_VA_IRQ ]
44
45 ldrb fiq_rtmp, [ fiq_rspi, # S3C2410_SPRDAT ]
46 strb fiq_rtmp, [ fiq_rrx ], #1
47
48 mov fiq_rtmp, #0xff
49 strb fiq_rtmp, [ fiq_rspi, # S3C2410_SPTDAT ]
50
51 subs fiq_rcount, fiq_rcount, #1
> 52 subsne pc, lr, #4 @@ return, still have work to do
53
54 @@ set IRQ controller so that next op will trigger IRQ
55 mov fiq_rtmp, #0
56 str fiq_rtmp, [ fiq_rirq, # S3C2410_INTMOD - S3C24XX_VA_IRQ ]
57 subs pc, lr, #4
58
59 fiq_rx_irq_ack:
60 .word 0
61 fiq_rx_end:
62
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org
[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 21356 bytes --]
next reply other threads:[~2021-06-30 22:38 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-06-30 22:38 kernel test robot [this message]
2021-07-01 10:19 ` [linux-stable-rc:linux-4.4.y 1401/1774] drivers/spi/spi-s3c24xx-fiq.S:52: Error: bad instruction `subsne pc, lr, #4' Arnd Bergmann
2021-07-01 17:40 ` Nick Desaulniers
2021-07-01 19:06 ` Nathan Chancellor
2021-07-01 19:41 ` Nick Desaulniers
2021-07-01 19:53 ` Nathan Chancellor
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=202107010631.Dw0PrasS-lkp@intel.com \
--to=lkp@intel.com \
--cc=kbuild-all@lists.01.org \
/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
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.