[arc:topic-zol-remove 9/24] arch/arc/include/asm/delay.h:44: Error: opcode 'dbnz' not supported for target arc700

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

 



tree:   https://git.kernel.org/pub/scm/linux/kernel/git/vgupta/arc.git topic-zol-remove
head:   e70f916e79921587cb83b492fd52da527c5c5d62
commit: cc82dbffac97abe79cb1184be605445519560f86 [9/24] ARC: delay elide ZOL
config: arc-randconfig-a001-20200505 (attached as .config)
compiler: arc-elf-gcc (GCC) 9.3.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 cc82dbffac97abe79cb1184be605445519560f86
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day GCC_VERSION=9.3.0 make.cross ARCH=arc 

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

All errors (new ones prefixed by >>):

   arch/arc/include/asm/delay.h: Assembler messages:
>> arch/arc/include/asm/delay.h:44: Error: opcode 'dbnz' not supported for target arc700
>> arch/arc/include/asm/delay.h:44: Error: opcode 'dbnz' not supported for target arc700
--
   arch/arc/include/asm/delay.h: Assembler messages:
>> arch/arc/include/asm/delay.h:44: Error: opcode 'dbnz' not supported for target arc700
--
   arch/arc/include/asm/bitops.h: Assembler messages:
   arch/arc/include/asm/bitops.h:235: Error: junk at end of line, first unrecognized character is `0'
>> arch/arc/include/asm/delay.h:44: Error: opcode 'dbnz' not supported for target arc700
--
   In file included from sound/pci/echoaudio/darla24.c:96:
   sound/pci/echoaudio/echoaudio.c: In function 'snd_echo_free':
   sound/pci/echoaudio/echoaudio.c:1824:14: warning: passing argument 1 of 'iounmap' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers]
    1824 |  iounmap(chip->dsp_registers);
         |          ~~~~^~~~~~~~~~~~~~~
   In file included from include/linux/io.h:13,
                    from include/linux/irq.h:20,
                    from include/asm-generic/hardirq.h:13,
                    from ./arch/arc/include/generated/asm/hardirq.h:1,
                    from include/linux/hardirq.h:9,
                    from include/linux/interrupt.h:11,
                    from sound/pci/echoaudio/darla24.c:33:
   arch/arc/include/asm/io.h:35:41: note: expected 'const void *' but argument is of type 'volatile u32 *' {aka 'volatile unsigned int *'}
      35 | extern void iounmap(const void __iomem *addr);
         |                     ~~~~~~~~~~~~~~~~~~~~^~~~
   arch/arc/include/asm/delay.h: Assembler messages:
>> arch/arc/include/asm/delay.h:44: Error: opcode 'dbnz' not supported for target arc700
--
   arch/arc/include/asm/delay.h: Assembler messages:
>> arch/arc/include/asm/delay.h:44: Error: opcode 'dbnz' not supported for target arc700
   arch/arc/include/asm/bitops.h:235: Error: junk at end of line, first unrecognized character is `0'

vim +/dbnz +44 arch/arc/include/asm/delay.h

    37	
    38	static inline void __delay(unsigned long loops)
    39	{
    40	        /* TBD: insn per loop now vs. 1 + implied branch */
    41	
    42		__asm__ __volatile__(
    43		"	add   %0, %0, 1         \n"
  > 44		"1:	nop			\n"
    45		"	dbnz %0, 1b		\n"
    46		: "+r"(loops));
    47	}
    48	

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@xxxxxxxxxxxx

Attachment: .config.gz
Description: application/gzip

_______________________________________________
linux-snps-arc mailing list
linux-snps-arc@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/linux-snps-arc

[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux