All of lore.kernel.org
 help / color / mirror / Atom feed
From: Nick Desaulniers <ndesaulniers@google.com>
To: kbuild-all@lists.01.org
Subject: Re: [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 10:40:23 -0700	[thread overview]
Message-ID: <CAKwvOd=doCEM3JDdY8MjY0A394-P_h05o3kk408Op1sX8TEciA@mail.gmail.com> (raw)
In-Reply-To: <CAK8P3a03zYYHxCqP9Z+6C-+UhmNRfoD3VhjHga1AsKShwetnuA@mail.gmail.com>

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

On Thu, Jul 1, 2021 at 3:20 AM Arnd Bergmann <arnd@arndb.de> wrote:
>
> On Thu, Jul 1, 2021 at 12:38 AM kernel test robot <lkp@intel.com> wrote:
> >
> > 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'
>
> Ah, this must be a kernel that never got the unified assembler syntax fixes
> that this requires. It seems they went into linux-5.1 but nothing before that,
> though they may have been backported.
>
> Nick or Nathan, what is the earliest lts kernel series that you would expect
> to work with clang IAS?

5.4+ for A32.

> Should we just drop these fixes for all 4.x.y versions?

Sure, but I'm curious what is missing here that exists further
upstream?  subsne is the correct syntax, isn't it?

F5.1.249 SUB, SUBS (SP minus register)

>> If the destination register is the PC
>> The SUBS variant of the instruction performs an exception return without the use of the stack. Arm
deprecates use of this instruction.
-- 
Thanks,
~Nick Desaulniers

  reply	other threads:[~2021-07-01 17:40 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-06-30 22:38 [linux-stable-rc:linux-4.4.y 1401/1774] drivers/spi/spi-s3c24xx-fiq.S:52: Error: bad instruction `subsne pc, lr, #4' kernel test robot
2021-07-01 10:19 ` Arnd Bergmann
2021-07-01 17:40   ` Nick Desaulniers [this message]
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='CAKwvOd=doCEM3JDdY8MjY0A394-P_h05o3kk408Op1sX8TEciA@mail.gmail.com' \
    --to=ndesaulniers@google.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.