Thread (2 messages) 2 messages, 2 authors, 2025-09-23

Re: [PATCH net-next V4] net/mlx5: Improve write-combining test reliability for ARM64 Grace CPUs

From: kernel test robot <hidden>
Date: 2025-09-23 07:20:09
Also in: linux-mm, linux-rdma, linux-s390, lkml, oe-kbuild-all

Hi Tariq,

kernel test robot noticed the following build errors:

[auto build test ERROR on 312e6f7676e63bbb9b81e5c68e580a9f776cc6f0]

url:    https://github.com/intel-lab-lkp/linux/commits/Tariq-Toukan/net-mlx5-Improve-write-combining-test-reliability-for-ARM64-Grace-CPUs/20250922-161859
base:   312e6f7676e63bbb9b81e5c68e580a9f776cc6f0
patch link:    https://lore.kernel.org/r/1758528951-817323-1-git-send-email-tariqt%40nvidia.com
patch subject: [PATCH net-next V4] net/mlx5: Improve write-combining test reliability for ARM64 Grace CPUs
config: arm-allmodconfig (https://download.01.org/0day-ci/archive/20250923/202509231437.exOuF9vQ-lkp@intel.com/config)
compiler: arm-linux-gnueabi-gcc (GCC) 15.1.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250923/202509231437.exOuF9vQ-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 [off-list ref]
| Closes: https://lore.kernel.org/oe-kbuild-all/202509231437.exOuF9vQ-lkp@intel.com/ (local)

All errors (new ones prefixed by >>):

   In function 'mlx5_iowrite64_copy',
       inlined from 'mlx5_wc_post_nop' at drivers/net/ethernet/mellanox/mlx5/core/wc.c:317:2:
quoted
drivers/net/ethernet/mellanox/mlx5/core/wc.c:268:17: error: unknown register name 'v0' in 'asm'
     268 |                 asm volatile
         |                 ^~~


vim +268 drivers/net/ethernet/mellanox/mlx5/core/wc.c

   261	
   262	static void mlx5_iowrite64_copy(struct mlx5_wc_sq *sq, __be32 mmio_wqe[16],
   263					size_t mmio_wqe_size, unsigned int offset)
   264	{
   265	#ifdef CONFIG_KERNEL_MODE_NEON
   266		if (cpu_has_neon()) {
   267			kernel_neon_begin();
 > 268			asm volatile
   269			(".arch_extension simd;\n\t"
   270			"ld1 {v0.16b, v1.16b, v2.16b, v3.16b}, [%0]\n\t"
   271			"st1 {v0.16b, v1.16b, v2.16b, v3.16b}, [%1]"
   272			:
   273			: "r"(mmio_wqe), "r"(sq->bfreg.map + offset)
   274			: "memory", "v0", "v1", "v2", "v3");
   275			kernel_neon_end();
   276			return;
   277		}
   278	#endif
   279		__iowrite64_copy(sq->bfreg.map + offset, mmio_wqe,
   280				 mmio_wqe_size / 8);
   281	}
   282	

-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help