lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Message-ID: <202507142219.ROyOoLsc-lkp@intel.com>
Date: Mon, 14 Jul 2025 22:52:19 +0800
From: kernel test robot <lkp@...el.com>
To: Serge Semin <fancer.lancer@...il.com>
Cc: oe-kbuild-all@...ts.linux.dev, linux-kernel@...r.kernel.org
Subject: arch/arc/include/asm/io.h:139: Error: inappropriate arguments for
 opcode 'stw'

Hi Serge,

FYI, the error/warning still remains.

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   347e9f5043c89695b01e66b3ed111755afcf1911
commit: f6bb3e9d98c2e8d70587d5ddaf9426ef30d7865c net: pcs: xpcs: Add Synopsys DW xPCS platform device driver
date:   1 year ago
config: arc-axs103_smp_defconfig (https://download.01.org/0day-ci/archive/20250714/202507142219.ROyOoLsc-lkp@intel.com/config)
compiler: arc-linux-gcc (GCC) 15.1.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250714/202507142219.ROyOoLsc-lkp@intel.com/reproduce)

If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@...el.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202507142219.ROyOoLsc-lkp@intel.com/

All errors (new ones prefixed by >>):

   arch/arc/include/asm/io.h: Assembler messages:
>> arch/arc/include/asm/io.h:139: Error: inappropriate arguments for opcode 'stw'
>> arch/arc/include/asm/io.h:139: Error: inappropriate arguments for opcode 'stw'
>> arch/arc/include/asm/io.h:139: Error: inappropriate arguments for opcode 'stw'


vim +/stw +139 arch/arc/include/asm/io.h

1162b0701b14ba Vineet Gupta 2013-01-18  135  
1162b0701b14ba Vineet Gupta 2013-01-18  136  #define __raw_writew __raw_writew
1162b0701b14ba Vineet Gupta 2013-01-18  137  static inline void __raw_writew(u16 s, volatile void __iomem *addr)
1162b0701b14ba Vineet Gupta 2013-01-18  138  {
1162b0701b14ba Vineet Gupta 2013-01-18 @139  	__asm__ __volatile__(
1162b0701b14ba Vineet Gupta 2013-01-18  140  	"	stw%U1 %0, %1	\n"
1162b0701b14ba Vineet Gupta 2013-01-18  141  	:
1162b0701b14ba Vineet Gupta 2013-01-18  142  	: "r" (s), "m" (*(volatile u16 __force *)addr)
1162b0701b14ba Vineet Gupta 2013-01-18  143  	: "memory");
1162b0701b14ba Vineet Gupta 2013-01-18  144  

:::::: The code at line 139 was first introduced by commit
:::::: 1162b0701b14ba112d4e3fe5c27c694caf983539 ARC: I/O and DMA Mappings

:::::: TO: Vineet Gupta <vgupta@...opsys.com>
:::::: CC: Vineet Gupta <vgupta@...opsys.com>

-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ