tree:
https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head: 7ddd09fc4b745fb1d8942f95389583e08412e0cd
commit: 1a28157f60da8f60b9021ba0b2f1b1d47854a230 [5117/5337] lib/zlib: add
zlib_deflate_dfltcc_enabled() function
config: s390-randconfig-a001-20200103 (attached as .config)
compiler: s390-linux-gcc (GCC) 7.5.0
reproduce:
wget
https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O
~/bin/make.cross
chmod +x ~/bin/make.cross
git checkout 1a28157f60da8f60b9021ba0b2f1b1d47854a230
# save the attached .config to linux build tree
GCC_VERSION=7.5.0 make.cross ARCH=s390
If you fix the issue, kindly add following tag
Reported-by: kbuild test robot <lkp(a)intel.com>
All errors (new ones prefixed by >>):
lib/zlib_deflate/../zlib_dfltcc/dfltcc_util.h: Assembler messages:
> lib/zlib_deflate/../zlib_dfltcc/dfltcc_util.h:114: Error:
Unrecognized opcode: `stfle'
vim +114 lib/zlib_deflate/../zlib_dfltcc/dfltcc_util.h
09c70dfa9baf2e Mikhail Zaslonko 2019-12-18 102
09c70dfa9baf2e Mikhail Zaslonko 2019-12-18 103 static inline int
is_dfltcc_enabled(void)
09c70dfa9baf2e Mikhail Zaslonko 2019-12-18 104 {
09c70dfa9baf2e Mikhail Zaslonko 2019-12-18 105 uint64_t facilities[(DFLTCC_FACILITY
/ 64) + 1];
09c70dfa9baf2e Mikhail Zaslonko 2019-12-18 106 register char r0
__asm__("r0");
09c70dfa9baf2e Mikhail Zaslonko 2019-12-18 107
7ac8eafa5b48ca Mikhail Zaslonko 2019-12-18 108 /* Check for kernel dfltcc command
line parameter */
7ac8eafa5b48ca Mikhail Zaslonko 2019-12-18 109 if (zlib_dfltcc_support ==
ZLIB_DFLTCC_DISABLED)
7ac8eafa5b48ca Mikhail Zaslonko 2019-12-18 110 return 0;
7ac8eafa5b48ca Mikhail Zaslonko 2019-12-18 111
09c70dfa9baf2e Mikhail Zaslonko 2019-12-18 112 memset(facilities, 0,
sizeof(facilities));
09c70dfa9baf2e Mikhail Zaslonko 2019-12-18 113 r0 = sizeof(facilities) /
sizeof(facilities[0]) - 1;
09c70dfa9baf2e Mikhail Zaslonko 2019-12-18 @114 __asm__ volatile("stfle
%[facilities]\n"
09c70dfa9baf2e Mikhail Zaslonko 2019-12-18 115 : [facilities]
"=Q" (facilities)
09c70dfa9baf2e Mikhail Zaslonko 2019-12-18 116 , [r0]
"+r" (r0)
09c70dfa9baf2e Mikhail Zaslonko 2019-12-18 117 :
09c70dfa9baf2e Mikhail Zaslonko 2019-12-18 118 : "cc");
09c70dfa9baf2e Mikhail Zaslonko 2019-12-18 119 return is_bit_set((const char
*)facilities, DFLTCC_FACILITY);
09c70dfa9baf2e Mikhail Zaslonko 2019-12-18 120 }
09c70dfa9baf2e Mikhail Zaslonko 2019-12-18 121
:::::: The code at line 114 was first introduced by commit
:::::: 09c70dfa9baf2e77aa78293f6ea3ca3e53ea98db lib/zlib: add s390 hardware support for
kernel zlib_deflate
:::::: TO: Mikhail Zaslonko <zaslonko(a)linux.ibm.com>
:::::: CC: Stephen Rothwell <sfr(a)canb.auug.org.au>
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org Intel Corporation