Re: [PATCH 3/8] s390/entry: shorten OUTSIDE macro

From: kernel test robot
Date: Thu May 12 2022 - 12:46:25 EST


Hi Heiko,

I love your patch! Yet something to improve:

[auto build test ERROR on s390/features]
[also build test ERROR on tip/locking/core masahiroy-kbuild/for-next linus/master v5.18-rc6 next-20220512]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch]

url: https://github.com/intel-lab-lkp/linux/commits/Heiko-Carstens/s390-allow-to-build-with-llvm-s-integrated-assembler/20220511-201054
base: https://git.kernel.org/pub/scm/linux/kernel/git/s390/linux.git features
config: s390-randconfig-r003-20220512 (https://download.01.org/0day-ci/archive/20220513/202205130050.x6Is9kJO-lkp@xxxxxxxxx/config)
compiler: clang version 15.0.0 (https://github.com/llvm/llvm-project 18dd123c56754edf62c7042dcf23185c3727610f)
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
# install s390 cross compiling tool for clang build
# apt-get install binutils-s390x-linux-gnu
# https://github.com/intel-lab-lkp/linux/commit/ad8a0a6488ba252aaa84b813dee2c949ae59d88a
git remote add linux-review https://github.com/intel-lab-lkp/linux
git fetch --no-tags linux-review Heiko-Carstens/s390-allow-to-build-with-llvm-s-integrated-assembler/20220511-201054
git checkout ad8a0a6488ba252aaa84b813dee2c949ae59d88a
# save the config file
mkdir build_dir && cp config build_dir/.config
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=s390 SHELL=/bin/bash

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@xxxxxxxxx>

All errors (new ones prefixed by >>):

>> <instantiation>:2:2: error: instruction requires: distinct-ops
slgrk %r14,%r9,%r14
^
arch/s390/kernel/entry.S:378:2: note: while in macro instantiation
OUTSIDE %r9,.Lsie_gmap,.Lsie_done,1f
^
<instantiation>:3:13: error: invalid operand for instruction
clgfi %r14,.Lsie_done - .Lsie_gmap
^
arch/s390/kernel/entry.S:378:2: note: while in macro instantiation
OUTSIDE %r9,.Lsie_gmap,.Lsie_done,1f
^
>> <instantiation>:2:2: error: instruction requires: distinct-ops
slgrk %r14,%r9,%r14
^
<instantiation>:12:2: note: while in macro instantiation
OUTSIDE %r9,.Lsie_gmap,.Lsie_done,0f
^
arch/s390/kernel/entry.S:488:1: note: while in macro instantiation
INT_HANDLER ext_int_handler,304,do_ext_irq
^
<instantiation>:3:13: error: invalid operand for instruction
clgfi %r14,.Lsie_done - .Lsie_gmap
^
<instantiation>:12:2: note: while in macro instantiation
OUTSIDE %r9,.Lsie_gmap,.Lsie_done,0f
^
arch/s390/kernel/entry.S:488:1: note: while in macro instantiation
INT_HANDLER ext_int_handler,304,do_ext_irq
^
>> <instantiation>:2:2: error: instruction requires: distinct-ops
slgrk %r14,%r9,%r14
^
<instantiation>:12:2: note: while in macro instantiation
OUTSIDE %r9,.Lsie_gmap,.Lsie_done,0f
^
arch/s390/kernel/entry.S:489:1: note: while in macro instantiation
INT_HANDLER io_int_handler,368,do_io_irq
^
<instantiation>:3:13: error: invalid operand for instruction
clgfi %r14,.Lsie_done - .Lsie_gmap
^
<instantiation>:12:2: note: while in macro instantiation
OUTSIDE %r9,.Lsie_gmap,.Lsie_done,0f
^
arch/s390/kernel/entry.S:489:1: note: while in macro instantiation
INT_HANDLER io_int_handler,368,do_io_irq
^
>> <instantiation>:2:2: error: instruction requires: distinct-ops
slgrk %r14,%r9,%r14
^
arch/s390/kernel/entry.S:554:2: note: while in macro instantiation
OUTSIDE %r9,.Lsie_gmap,.Lsie_done,6f
^
<instantiation>:3:13: error: invalid operand for instruction
clgfi %r14,.Lsie_done - .Lsie_gmap
^
arch/s390/kernel/entry.S:554:2: note: while in macro instantiation
OUTSIDE %r9,.Lsie_gmap,.Lsie_done,6f
^
>> <instantiation>:2:2: error: instruction requires: distinct-ops
slgrk %r14,%r9,%r14
^
arch/s390/kernel/entry.S:555:2: note: while in macro instantiation
OUTSIDE %r9,.Lsie_entry,.Lsie_skip,4f
^
<instantiation>:3:13: error: invalid operand for instruction
clgfi %r14,.Lsie_skip - .Lsie_entry
^
arch/s390/kernel/entry.S:555:2: note: while in macro instantiation
OUTSIDE %r9,.Lsie_entry,.Lsie_skip,4f
^

--
0-DAY CI Kernel Test Service
https://01.org/lkp