[linux-next:master 4341/4896] lib/zlib_deflate/../zlib_dfltcc/dfltcc_util.h:114: Error: Unrecognized opcode: `stfle'

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



tree:   https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head:   9f8535c5f75f0e23359962527dbfd31478b2cf16
commit: 6d68070ee31a360759ae6e0a6829602b68106c0d [4341/4896] lib/zlib: add zlib_deflate_dfltcc_enabled() function
config: s390-randconfig-a001-20191222 (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 6d68070ee31a360759ae6e0a6829602b68106c0d
        # 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@xxxxxxxxx>

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

bcb6b8aba4b81f Mikhail Zaslonko 2019-12-18  102  
bcb6b8aba4b81f Mikhail Zaslonko 2019-12-18  103  static inline int is_dfltcc_enabled(void)
bcb6b8aba4b81f Mikhail Zaslonko 2019-12-18  104  {
bcb6b8aba4b81f Mikhail Zaslonko 2019-12-18  105      uint64_t facilities[(DFLTCC_FACILITY / 64) + 1];
bcb6b8aba4b81f Mikhail Zaslonko 2019-12-18  106      register char r0 __asm__("r0");
bcb6b8aba4b81f Mikhail Zaslonko 2019-12-18  107  
a3b0e9e374737b Mikhail Zaslonko 2019-12-18  108      /* Check for kernel dfltcc command line parameter */
a3b0e9e374737b Mikhail Zaslonko 2019-12-18  109      if (zlib_dfltcc_support == ZLIB_DFLTCC_DISABLED)
a3b0e9e374737b Mikhail Zaslonko 2019-12-18  110          return 0;
a3b0e9e374737b Mikhail Zaslonko 2019-12-18  111  
bcb6b8aba4b81f Mikhail Zaslonko 2019-12-18  112      memset(facilities, 0, sizeof(facilities));
bcb6b8aba4b81f Mikhail Zaslonko 2019-12-18  113      r0 = sizeof(facilities) / sizeof(facilities[0]) - 1;
bcb6b8aba4b81f Mikhail Zaslonko 2019-12-18 @114      __asm__ volatile("stfle %[facilities]\n"
bcb6b8aba4b81f Mikhail Zaslonko 2019-12-18  115                       : [facilities] "=Q" (facilities)
bcb6b8aba4b81f Mikhail Zaslonko 2019-12-18  116                       , [r0] "+r" (r0)
bcb6b8aba4b81f Mikhail Zaslonko 2019-12-18  117                       :
bcb6b8aba4b81f Mikhail Zaslonko 2019-12-18  118                       : "cc");
bcb6b8aba4b81f Mikhail Zaslonko 2019-12-18  119      return is_bit_set((const char *)facilities, DFLTCC_FACILITY);
bcb6b8aba4b81f Mikhail Zaslonko 2019-12-18  120  }
bcb6b8aba4b81f Mikhail Zaslonko 2019-12-18  121  

:::::: The code at line 114 was first introduced by commit
:::::: bcb6b8aba4b81f43f6cfa308a9e616bb4acfef7e lib/zlib: add s390 hardware support for kernel zlib_deflate

:::::: TO: Mikhail Zaslonko <zaslonko@xxxxxxxxxxxxx>
:::::: CC: Stephen Rothwell <sfr@xxxxxxxxxxxxxxxx>

---
0-DAY kernel test infrastructure                 Open Source Technology Center
https://lists.01.org/hyperkitty/list/kbuild-all@xxxxxxxxxxxx Intel Corporation

Attachment: .config.gz
Description: application/gzip


[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux