All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: oe-kbuild@lists.linux.dev
Cc: lkp@intel.com
Subject: arch/arm/include/asm/neon-intrinsics.h:7:2: sparse: sparse: You should compile this file with '-march=armv7-a -mfloat-abi=softfp -mfpu=neon'
Date: Tue, 16 Jun 2026 21:29:51 +0800	[thread overview]
Message-ID: <202606162116.QEohc7gs-lkp@intel.com> (raw)

:::::: 
:::::: Manual check reason: "low confidence static check first_new_problem: arch/arm/include/asm/neon-intrinsics.h:7:2: sparse: sparse: You should compile this file with '-march=armv7-a -mfloat-abi=softfp -mfpu=neon'"
:::::: 

BCC: lkp@intel.com
CC: oe-kbuild-all@lists.linux.dev
CC: linux-kernel@vger.kernel.org
TO: Ard Biesheuvel <ardb@kernel.org>
CC: Eric Biggers <ebiggers@kernel.org>

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   6b5a2b7d9bc156e505f09e698d85d6a1547c1206
commit: a967b1f51c83b65372a93d652a888e3addd9c5a3 xor/arm: Replace vectorized implementation with arm64's intrinsics
date:   3 weeks ago
:::::: branch date: 67 minutes ago
:::::: commit date: 3 weeks ago
config: arm-randconfig-r122-20260616 (https://download.01.org/0day-ci/archive/20260616/202606162116.QEohc7gs-lkp@intel.com/config)
compiler: arm-linux-gnueabi-gcc (GCC) 16.1.0
sparse: v0.6.5-rc1
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260616/202606162116.QEohc7gs-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
| Fixes: a967b1f51c83 ("xor/arm: Replace vectorized implementation with arm64's intrinsics")
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/r/202606162116.QEohc7gs-lkp@intel.com/

sparse warnings: (new ones prefixed by >>)
   lib/raid/xor/xor-neon.c: note: in included file:
>> arch/arm/include/asm/neon-intrinsics.h:7:2: sparse: sparse: You should compile this file with '-march=armv7-a -mfloat-abi=softfp -mfpu=neon'
   lib/raid/xor/xor-neon.c: note: in included file (through arch/arm/include/asm/neon-intrinsics.h):
   ../lib/gcc/arm-linux-gnueabi/16.1.0/include/arm_neon.h:45:2: sparse: sparse: "NEON intrinsics not available with the soft-float ABI.  Please use -mfloat-abi=softfp or -mfloat-abi=hard"
   lib/raid/xor/xor-neon.c:18:29: sparse: sparse: Expected ; at end of declaration
   lib/raid/xor/xor-neon.c:18:29: sparse: sparse: got v0
   lib/raid/xor/xor-neon.c:47:29: sparse: sparse: Expected ; at end of declaration
   lib/raid/xor/xor-neon.c:47:29: sparse: sparse: got v0
   lib/raid/xor/xor-neon.c:85:29: sparse: sparse: Expected ; at end of declaration
   lib/raid/xor/xor-neon.c:85:29: sparse: sparse: got v0
   lib/raid/xor/xor-neon.c:132:29: sparse: sparse: Expected ; at end of declaration
   lib/raid/xor/xor-neon.c:132:29: sparse: sparse: got v0
   lib/raid/xor/xor-neon.c:23:17: sparse: sparse: undefined identifier 'v0'
   lib/raid/xor/xor-neon.c:23:22: sparse: sparse: undefined identifier 'veorq_u64'
   lib/raid/xor/xor-neon.c:24:17: sparse: sparse: undefined identifier 'v1'
   lib/raid/xor/xor-neon.c:24:22: sparse: sparse: undefined identifier 'veorq_u64'
   lib/raid/xor/xor-neon.c:25:17: sparse: sparse: undefined identifier 'v2'
   lib/raid/xor/xor-neon.c:25:22: sparse: sparse: undefined identifier 'veorq_u64'
   lib/raid/xor/xor-neon.c:26:17: sparse: sparse: undefined identifier 'v3'
   lib/raid/xor/xor-neon.c:26:22: sparse: sparse: undefined identifier 'veorq_u64'
   lib/raid/xor/xor-neon.c:29:17: sparse: sparse: undefined identifier 'vst1q_u64'
   lib/raid/xor/xor-neon.c:30:17: sparse: sparse: undefined identifier 'vst1q_u64'
   lib/raid/xor/xor-neon.c:31:17: sparse: sparse: undefined identifier 'vst1q_u64'
   lib/raid/xor/xor-neon.c:32:17: sparse: sparse: undefined identifier 'vst1q_u64'
   lib/raid/xor/xor-neon.c:52:17: sparse: sparse: undefined identifier 'v0'
   lib/raid/xor/xor-neon.c:52:22: sparse: sparse: undefined identifier 'veorq_u64'
   lib/raid/xor/xor-neon.c:53:17: sparse: sparse: undefined identifier 'v1'
   lib/raid/xor/xor-neon.c:53:22: sparse: sparse: undefined identifier 'veorq_u64'
   lib/raid/xor/xor-neon.c:54:17: sparse: sparse: undefined identifier 'v2'
   lib/raid/xor/xor-neon.c:54:22: sparse: sparse: undefined identifier 'veorq_u64'
   lib/raid/xor/xor-neon.c:55:17: sparse: sparse: undefined identifier 'v3'
   lib/raid/xor/xor-neon.c:55:22: sparse: sparse: undefined identifier 'veorq_u64'
   lib/raid/xor/xor-neon.c:58:17: sparse: sparse: undefined identifier 'v0'
   lib/raid/xor/xor-neon.c:58:22: sparse: sparse: undefined identifier 'veorq_u64'
   lib/raid/xor/xor-neon.c:59:17: sparse: sparse: undefined identifier 'v1'
   lib/raid/xor/xor-neon.c:59:22: sparse: sparse: undefined identifier 'veorq_u64'
   lib/raid/xor/xor-neon.c:60:17: sparse: sparse: undefined identifier 'v2'
   lib/raid/xor/xor-neon.c:60:22: sparse: sparse: undefined identifier 'veorq_u64'
   lib/raid/xor/xor-neon.c:61:17: sparse: sparse: undefined identifier 'v3'
   lib/raid/xor/xor-neon.c:61:22: sparse: sparse: undefined identifier 'veorq_u64'
   lib/raid/xor/xor-neon.c:64:17: sparse: sparse: undefined identifier 'vst1q_u64'
   lib/raid/xor/xor-neon.c:65:17: sparse: sparse: undefined identifier 'vst1q_u64'
   lib/raid/xor/xor-neon.c:66:17: sparse: sparse: undefined identifier 'vst1q_u64'
   lib/raid/xor/xor-neon.c:67:17: sparse: sparse: undefined identifier 'vst1q_u64'
   lib/raid/xor/xor-neon.c:90:17: sparse: sparse: undefined identifier 'v0'
   lib/raid/xor/xor-neon.c:90:22: sparse: sparse: undefined identifier 'veorq_u64'
   lib/raid/xor/xor-neon.c:91:17: sparse: sparse: undefined identifier 'v1'
   lib/raid/xor/xor-neon.c:91:22: sparse: sparse: undefined identifier 'veorq_u64'
   lib/raid/xor/xor-neon.c:92:17: sparse: sparse: undefined identifier 'v2'
   lib/raid/xor/xor-neon.c:92:22: sparse: sparse: undefined identifier 'veorq_u64'
   lib/raid/xor/xor-neon.c:93:17: sparse: sparse: undefined identifier 'v3'
   lib/raid/xor/xor-neon.c:93:22: sparse: sparse: undefined identifier 'veorq_u64'
   lib/raid/xor/xor-neon.c:96:17: sparse: sparse: undefined identifier 'v0'
   lib/raid/xor/xor-neon.c:96:22: sparse: sparse: undefined identifier 'veorq_u64'
   lib/raid/xor/xor-neon.c:97:17: sparse: sparse: undefined identifier 'v1'
   lib/raid/xor/xor-neon.c:97:22: sparse: sparse: undefined identifier 'veorq_u64'
   lib/raid/xor/xor-neon.c:98:17: sparse: sparse: undefined identifier 'v2'
   lib/raid/xor/xor-neon.c:98:22: sparse: sparse: undefined identifier 'veorq_u64'
   lib/raid/xor/xor-neon.c:99:17: sparse: sparse: undefined identifier 'v3'
   lib/raid/xor/xor-neon.c:99:22: sparse: sparse: undefined identifier 'veorq_u64'
   lib/raid/xor/xor-neon.c:102:17: sparse: sparse: undefined identifier 'v0'
   lib/raid/xor/xor-neon.c:102:22: sparse: sparse: undefined identifier 'veorq_u64'
   lib/raid/xor/xor-neon.c:103:17: sparse: sparse: undefined identifier 'v1'
   lib/raid/xor/xor-neon.c:103:22: sparse: sparse: undefined identifier 'veorq_u64'
   lib/raid/xor/xor-neon.c:104:17: sparse: sparse: undefined identifier 'v2'
   lib/raid/xor/xor-neon.c:104:22: sparse: sparse: undefined identifier 'veorq_u64'
   lib/raid/xor/xor-neon.c:105:17: sparse: sparse: undefined identifier 'v3'
   lib/raid/xor/xor-neon.c:105:22: sparse: sparse: undefined identifier 'veorq_u64'
   lib/raid/xor/xor-neon.c:108:17: sparse: sparse: undefined identifier 'vst1q_u64'
   lib/raid/xor/xor-neon.c:109:17: sparse: sparse: undefined identifier 'vst1q_u64'
   lib/raid/xor/xor-neon.c:110:17: sparse: sparse: undefined identifier 'vst1q_u64'
   lib/raid/xor/xor-neon.c:111:17: sparse: sparse: undefined identifier 'vst1q_u64'
   lib/raid/xor/xor-neon.c:137:17: sparse: sparse: undefined identifier 'v0'
   lib/raid/xor/xor-neon.c:137:22: sparse: sparse: undefined identifier 'veorq_u64'
   lib/raid/xor/xor-neon.c:138:17: sparse: sparse: undefined identifier 'v1'
   lib/raid/xor/xor-neon.c:138:22: sparse: sparse: undefined identifier 'veorq_u64'
   lib/raid/xor/xor-neon.c:139:17: sparse: sparse: undefined identifier 'v2'
   lib/raid/xor/xor-neon.c:139:22: sparse: sparse: undefined identifier 'veorq_u64'
   lib/raid/xor/xor-neon.c:140:17: sparse: sparse: undefined identifier 'v3'
   lib/raid/xor/xor-neon.c:140:22: sparse: sparse: undefined identifier 'veorq_u64'
   lib/raid/xor/xor-neon.c:143:17: sparse: sparse: undefined identifier 'v0'
   lib/raid/xor/xor-neon.c:143:22: sparse: sparse: undefined identifier 'veorq_u64'
   lib/raid/xor/xor-neon.c:144:17: sparse: sparse: undefined identifier 'v1'
   lib/raid/xor/xor-neon.c:144:22: sparse: sparse: undefined identifier 'veorq_u64'
   lib/raid/xor/xor-neon.c:145:17: sparse: sparse: undefined identifier 'v2'
   lib/raid/xor/xor-neon.c:145:22: sparse: sparse: undefined identifier 'veorq_u64'
   lib/raid/xor/xor-neon.c:146:17: sparse: sparse: undefined identifier 'v3'
   lib/raid/xor/xor-neon.c:146:22: sparse: sparse: undefined identifier 'veorq_u64'
   lib/raid/xor/xor-neon.c:149:17: sparse: sparse: undefined identifier 'v0'
   lib/raid/xor/xor-neon.c:149:22: sparse: sparse: undefined identifier 'veorq_u64'
   lib/raid/xor/xor-neon.c:150:17: sparse: sparse: undefined identifier 'v1'
   lib/raid/xor/xor-neon.c:150:22: sparse: sparse: undefined identifier 'veorq_u64'
   lib/raid/xor/xor-neon.c:151:17: sparse: sparse: undefined identifier 'v2'
   lib/raid/xor/xor-neon.c:151:22: sparse: sparse: undefined identifier 'veorq_u64'
   lib/raid/xor/xor-neon.c:152:17: sparse: sparse: undefined identifier 'v3'
   lib/raid/xor/xor-neon.c:152:22: sparse: sparse: undefined identifier 'veorq_u64'
   lib/raid/xor/xor-neon.c:155:17: sparse: sparse: undefined identifier 'v0'
   lib/raid/xor/xor-neon.c:155:22: sparse: sparse: undefined identifier 'veorq_u64'
   lib/raid/xor/xor-neon.c:156:17: sparse: sparse: undefined identifier 'v1'
   lib/raid/xor/xor-neon.c:156:22: sparse: sparse: undefined identifier 'veorq_u64'
   lib/raid/xor/xor-neon.c:157:17: sparse: sparse: undefined identifier 'v2'
   lib/raid/xor/xor-neon.c:157:22: sparse: sparse: undefined identifier 'veorq_u64'

vim +7 arch/arm/include/asm/neon-intrinsics.h

4156e65624f8a1 Ard Biesheuvel 2026-04-22  5  
4156e65624f8a1 Ard Biesheuvel 2026-04-22  6  #ifndef __ARM_NEON__
4156e65624f8a1 Ard Biesheuvel 2026-04-22 @7  #error You should compile this file with '-march=armv7-a -mfloat-abi=softfp -mfpu=neon'
4156e65624f8a1 Ard Biesheuvel 2026-04-22  8  #endif
4156e65624f8a1 Ard Biesheuvel 2026-04-22  9  

:::::: The code at line 7 was first introduced by commit
:::::: 4156e65624f8a1816cad423ec005b336e280999d ARM: Add a neon-intrinsics.h header like on arm64

:::::: TO: Ard Biesheuvel <ardb@kernel.org>
:::::: CC: Eric Biggers <ebiggers@kernel.org>

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

             reply	other threads:[~2026-06-16 13:30 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-06-16 13:29 kernel test robot [this message]
  -- strict thread matches above, loose matches on Subject: below --
2026-07-24 11:48 arch/arm/include/asm/neon-intrinsics.h:7:2: sparse: sparse: You should compile this file with '-march=armv7-a -mfloat-abi=softfp -mfpu=neon' kernel test robot
2026-09-18 20:56 kernel test robot

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=202606162116.QEohc7gs-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=oe-kbuild@lists.linux.dev \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.