* [mark:arm64/percpu-fixup 15/17] clang diag: arch/arm64/include/asm/percpu.h:341:1: warning: value size does not match register size specified by the constraint and modifier
@ 2026-08-01 23:11 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2026-08-01 23:11 UTC (permalink / raw)
To: Mark Rutland; +Cc: llvm, oe-kbuild-all
tree: https://git.kernel.org/pub/scm/linux/kernel/git/mark/linux.git arm64/percpu-fixup
head: f118f6b23da9a83459d961ce6fffa6af0ec1bf39
commit: c45891bccd87033358a8d255b0f5ab8a74765d5d [15/17] arm64: percpu: Implement preemptible CMPXCHG ops
config: arm64-randconfig-001-20260802 (https://download.01.org/0day-ci/archive/20260802/202608020748.H4paFOzR-lkp@intel.com/config)
compiler: clang version 18.1.8 (https://github.com/llvm/llvm-project 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)
rustc: rustc 1.96.0 (ac68faa20 2026-05-25)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260802/202608020748.H4paFOzR-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@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202608020748.H4paFOzR-lkp@intel.com/
All warnings (new ones prefixed by >>):
>> clang diag: arch/arm64/include/asm/percpu.h:341:1: warning: value size does not match register size specified by the constraint and modifier [-Wasm-operand-widths]
clang diag: arch/arm64/include/asm/percpu.h:342:1: warning: value size does not match register size specified by the constraint and modifier [-Wasm-operand-widths]
clang diag: arch/arm64/include/asm/percpu.h:343:1: warning: value size does not match register size specified by the constraint and modifier [-Wasm-operand-widths]
--
| ^
arch/arm64/include/asm/percpu.h:343:1: note: use constraint modifier "w"
arch/arm64/include/asm/percpu.h:317:19: note: expanded from macro 'PERCPU_CMPXCHG_OP'
317 | " mov %[oldval], %[old]\n" \
| ^
3 warnings generated.
In file included from <built-in>:4:
In file included from lib/vdso/gettimeofday.c:24:
In file included from arch/arm64/include/asm/vdso/gettimeofday.h:15:
In file included from arch/arm64/include/asm/arch_timer.h:18:
In file included from include/linux/percpu.h:5:
In file included from include/linux/alloc_tag.h:12:
arch/arm64/include/asm/percpu.h:341:1: warning: value size does not match register size specified by the constraint and modifier [-Wasm-operand-widths]
341 | PERCPU_CMPXCHG_OP(w, b, 8)
| ^
arch/arm64/include/asm/percpu.h:328:15: note: expanded from macro 'PERCPU_CMPXCHG_OP'
328 | [old] "r" (xwreg_zero_extend(old, w, sz)), \
| ^
arch/arm64/include/asm/xwreg.h:11:38: note: expanded from macro 'xwreg_zero_extend'
11 | #define xwreg_zero_extend(v, xw, sz) ((xwreg_t(xw))(u##sz)(v))
| ^
arch/arm64/include/asm/percpu.h:341:1: note: use constraint modifier "w"
arch/arm64/include/asm/percpu.h:317:19: note: expanded from macro 'PERCPU_CMPXCHG_OP'
317 | " mov %[oldval], %[old]\n" \
| ^
arch/arm64/include/asm/percpu.h:342:1: warning: value size does not match register size specified by the constraint and modifier [-Wasm-operand-widths]
342 | PERCPU_CMPXCHG_OP(w, h, 16)
| ^
arch/arm64/include/asm/percpu.h:328:15: note: expanded from macro 'PERCPU_CMPXCHG_OP'
328 | [old] "r" (xwreg_zero_extend(old, w, sz)), \
| ^
arch/arm64/include/asm/xwreg.h:11:38: note: expanded from macro 'xwreg_zero_extend'
11 | #define xwreg_zero_extend(v, xw, sz) ((xwreg_t(xw))(u##sz)(v))
| ^
arch/arm64/include/asm/percpu.h:342:1: note: use constraint modifier "w"
arch/arm64/include/asm/percpu.h:317:19: note: expanded from macro 'PERCPU_CMPXCHG_OP'
317 | " mov %[oldval], %[old]\n" \
| ^
arch/arm64/include/asm/percpu.h:343:1: warning: value size does not match register size specified by the constraint and modifier [-Wasm-operand-widths]
343 | PERCPU_CMPXCHG_OP(w, , 32)
| ^
arch/arm64/include/asm/percpu.h:328:15: note: expanded from macro 'PERCPU_CMPXCHG_OP'
328 | [old] "r" (xwreg_zero_extend(old, w, sz)), \
| ^
arch/arm64/include/asm/xwreg.h:11:38: note: expanded from macro 'xwreg_zero_extend'
11 | #define xwreg_zero_extend(v, xw, sz) ((xwreg_t(xw))(u##sz)(v))
| ^
arch/arm64/include/asm/percpu.h:343:1: note: use constraint modifier "w"
arch/arm64/include/asm/percpu.h:317:19: note: expanded from macro 'PERCPU_CMPXCHG_OP'
317 | " mov %[oldval], %[old]\n" \
| ^
3 warnings generated.
In file included from rust/helpers/helpers.c:41:
In file included from rust/helpers/acpi.c:3:
In file included from include/linux/acpi.h:14:
In file included from include/linux/resource_ext.h:11:
In file included from include/linux/slab.h:17:
In file included from include/linux/gfp.h:7:
In file included from include/linux/mmzone.h:8:
In file included from include/linux/spinlock.h:59:
In file included from include/linux/irqflags.h:19:
arch/arm64/include/asm/percpu.h:341:1: warning: value size does not match register size specified by the constraint and modifier [-Wasm-operand-widths]
341 | PERCPU_CMPXCHG_OP(w, b, 8)
| ^
arch/arm64/include/asm/percpu.h:328:15: note: expanded from macro 'PERCPU_CMPXCHG_OP'
328 | [old] "r" (xwreg_zero_extend(old, w, sz)), \
| ^
arch/arm64/include/asm/xwreg.h:11:38: note: expanded from macro 'xwreg_zero_extend'
11 | #define xwreg_zero_extend(v, xw, sz) ((xwreg_t(xw))(u##sz)(v))
| ^
arch/arm64/include/asm/percpu.h:341:1: note: use constraint modifier "w"
arch/arm64/include/asm/percpu.h:317:19: note: expanded from macro 'PERCPU_CMPXCHG_OP'
317 | " mov %[oldval], %[old]\n" \
| ^
arch/arm64/include/asm/percpu.h:342:1: warning: value size does not match register size specified by the constraint and modifier [-Wasm-operand-widths]
342 | PERCPU_CMPXCHG_OP(w, h, 16)
| ^
arch/arm64/include/asm/percpu.h:328:15: note: expanded from macro 'PERCPU_CMPXCHG_OP'
328 | [old] "r" (xwreg_zero_extend(old, w, sz)), \
| ^
arch/arm64/include/asm/xwreg.h:11:38: note: expanded from macro 'xwreg_zero_extend'
11 | #define xwreg_zero_extend(v, xw, sz) ((xwreg_t(xw))(u##sz)(v))
| ^
arch/arm64/include/asm/percpu.h:342:1: note: use constraint modifier "w"
arch/arm64/include/asm/percpu.h:317:19: note: expanded from macro 'PERCPU_CMPXCHG_OP'
317 | " mov %[oldval], %[old]\n" \
| ^
arch/arm64/include/asm/percpu.h:343:1: warning: value size does not match register size specified by the constraint and modifier [-Wasm-operand-widths]
343 | PERCPU_CMPXCHG_OP(w, , 32)
| ^
arch/arm64/include/asm/percpu.h:328:15: note: expanded from macro 'PERCPU_CMPXCHG_OP'
328 | [old] "r" (xwreg_zero_extend(old, w, sz)), \
| ^
arch/arm64/include/asm/xwreg.h:11:38: note: expanded from macro 'xwreg_zero_extend'
11 | #define xwreg_zero_extend(v, xw, sz) ((xwreg_t(xw))(u##sz)(v))
| ^
arch/arm64/include/asm/percpu.h:343:1: note: use constraint modifier "w"
arch/arm64/include/asm/percpu.h:317:19: note: expanded from macro 'PERCPU_CMPXCHG_OP'
317 | " mov %[oldval], %[old]\n" \
| ^
>> clang diag: arch/arm64/include/asm/percpu.h:341:1: warning: value size does not match register size specified by the constraint and modifier [-Wasm-operand-widths]
clang diag: arch/arm64/include/asm/percpu.h:342:1: warning: value size does not match register size specified by the constraint and modifier [-Wasm-operand-widths]
clang diag: arch/arm64/include/asm/percpu.h:343:1: warning: value size does not match register size specified by the constraint and modifier [-Wasm-operand-widths]
>> clang diag: arch/arm64/include/asm/percpu.h:341:1: warning: value size does not match register size specified by the constraint and modifier [-Wasm-operand-widths]
clang diag: arch/arm64/include/asm/percpu.h:342:1: warning: value size does not match register size specified by the constraint and modifier [-Wasm-operand-widths]
clang diag: arch/arm64/include/asm/percpu.h:343:1: warning: value size does not match register size specified by the constraint and modifier [-Wasm-operand-widths]
>> clang diag: arch/arm64/include/asm/percpu.h:341:1: warning: value size does not match register size specified by the constraint and modifier [-Wasm-operand-widths]
clang diag: arch/arm64/include/asm/percpu.h:342:1: warning: value size does not match register size specified by the constraint and modifier [-Wasm-operand-widths]
clang diag: arch/arm64/include/asm/percpu.h:343:1: warning: value size does not match register size specified by the constraint and modifier [-Wasm-operand-widths]
3 warnings generated.
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2026-08-01 23:12 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-08-01 23:11 [mark:arm64/percpu-fixup 15/17] clang diag: arch/arm64/include/asm/percpu.h:341:1: warning: value size does not match register size specified by the constraint and modifier kernel test robot
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox