[linux-next:master 2520/4050] 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:   fca4fe890ea0352f7e9e4bf33ffed287946ff59e
commit: d2f92ddb1db2552c436c218a6211cf16444d8a54 [2520/4050] lib/zlib: add zlib_deflate_dfltcc_enabled() function
config: s390-randconfig-a001-20191217 (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 d2f92ddb1db2552c436c218a6211cf16444d8a54
        # 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

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

:::::: The code at line 114 was first introduced by commit
:::::: a3b396f93d16954b6e5c5e8e8f5ebbc27f8c30cc 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