* Re: tracing: Make branch profiler counters atomic
@ 2026-09-30 15:05 kernel test robot
0 siblings, 0 replies; 3+ messages in thread
From: kernel test robot @ 2026-09-30 15:05 UTC (permalink / raw)
Cc: oe-kbuild-all
Hi nanshuaibo,
kernel test robot noticed the following build warnings:
url: https://github.com/intel-lab-lkp/linux/commits/nanshuaibo/tracing-Make-branch-profiler-counters-atomic/20260930-110728
base:
patch link: https://lore.kernel.org/r/202609302311.J6C87vV4-lkp%40intel.com
config: x86_64-buildonly-randconfig-1003-20260930 (https://download.01.org/0day-ci/archive/20260930/202609302311.J6C87vV4-lkp@intel.com/config)
compiler: gcc-14 (Debian 14.2.0-19) 14.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260930/202609302311.J6C87vV4-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/202609302311.J6C87vV4-lkp@intel.com/
All warnings (new ones prefixed by >>):
>> kernel/tracepoint.o: warning: objtool: for_each_kernel_tracepoint() is missing an ELF size annotation
--
>> kernel/audit.o: warning: objtool: kauditd_send_multicast_skb() is missing an ELF size annotation
--
>> net/vmw_vsock/vmci_transport.o: warning: objtool: vmci_transport_dgram_allow() is missing an ELF size annotation
>> net/vmw_vsock/vmci_transport.o: warning: objtool: vmci_transport_stream_allow() is missing an ELF size annotation
--
>> net/vmw_vsock/vsock_loopback.o: warning: objtool: vsock_loopback_seqpacket_allow() is missing an ELF size annotation
Kconfig warnings: (for reference only)
WARNING: unmet direct dependencies detected for PM_GENERIC_DOMAINS_OF
Depends on [n]: PM_GENERIC_DOMAINS [=y] && OF [=n]
Selected by [y]:
- COMMON_CLK_MT8173_MFGTOP [=y] && COMMON_CLK [=y] && (ARCH_MEDIATEK || COMPILE_TEST [=y]) && COMMON_CLK_MT8173 [=y] && PM [=y]
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: tracing: Make branch profiler counters atomic
@ 2026-09-30 23:27 kernel test robot
0 siblings, 0 replies; 3+ messages in thread
From: kernel test robot @ 2026-09-30 23:27 UTC (permalink / raw)
Cc: oe-kbuild-all
Hi nanshuaibo,
kernel test robot noticed the following build errors:
url: https://github.com/intel-lab-lkp/linux/commits/nanshuaibo/tracing-Make-branch-profiler-counters-atomic/20260930-110728
base:
patch link: https://lore.kernel.org/r/202610010712.OWcuDJOr-lkp%40intel.com
config: arm64-randconfig-1001-20261001 (https://download.01.org/0day-ci/archive/20261001/202610010712.OWcuDJOr-lkp@intel.com/config)
compiler: aarch64-linux-gcc (GCC) 10.5.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20261001/202610010712.OWcuDJOr-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/202610010712.OWcuDJOr-lkp@intel.com/
All errors (new ones prefixed by >>):
In file included from <command-line>:
lib/test_bitmap.c: In function 'test_bitmap_const_eval':
>> include/linux/compiler_types.h:702:38: error: call to '__compiletime_assert_490' declared with attribute error: BUILD_BUG_ON failed: !__builtin_constant_p(res)
702 | _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__)
| ^
include/linux/compiler_types.h:683:4: note: in definition of macro '__compiletime_assert'
683 | prefix ## suffix(); \
| ^~~~~~
include/linux/compiler_types.h:702:2: note: in expansion of macro '_compiletime_assert'
702 | _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__)
| ^~~~~~~~~~~~~~~~~~~
include/linux/build_bug.h:40:37: note: in expansion of macro 'compiletime_assert'
40 | #define BUILD_BUG_ON_MSG(cond, msg) compiletime_assert(!(cond), msg)
| ^~~~~~~~~~~~~~~~~~
include/linux/build_bug.h:51:2: note: in expansion of macro 'BUILD_BUG_ON_MSG'
51 | BUILD_BUG_ON_MSG(condition, "BUILD_BUG_ON failed: " #condition)
| ^~~~~~~~~~~~~~~~
lib/test_bitmap.c:1326:2: note: in expansion of macro 'BUILD_BUG_ON'
1326 | BUILD_BUG_ON(!__builtin_constant_p(res));
| ^~~~~~~~~~~~
vim +/__compiletime_assert_490 +702 include/linux/compiler_types.h
eb5c2d4b45e3d2 Will Deacon 2020-07-21 688
eb5c2d4b45e3d2 Will Deacon 2020-07-21 689 #define _compiletime_assert(condition, msg, prefix, suffix) \
eb5c2d4b45e3d2 Will Deacon 2020-07-21 690 __compiletime_assert(condition, msg, prefix, suffix)
eb5c2d4b45e3d2 Will Deacon 2020-07-21 691
eb5c2d4b45e3d2 Will Deacon 2020-07-21 692 /**
eb5c2d4b45e3d2 Will Deacon 2020-07-21 693 * compiletime_assert - break build and emit msg if condition is false
eb5c2d4b45e3d2 Will Deacon 2020-07-21 694 * @condition: a compile-time constant condition to check
eb5c2d4b45e3d2 Will Deacon 2020-07-21 695 * @msg: a message to emit if condition is false
eb5c2d4b45e3d2 Will Deacon 2020-07-21 696 *
eb5c2d4b45e3d2 Will Deacon 2020-07-21 697 * In tradition of POSIX assert, this macro will break the build if the
eb5c2d4b45e3d2 Will Deacon 2020-07-21 698 * supplied condition is *false*, emitting the supplied error message if the
eb5c2d4b45e3d2 Will Deacon 2020-07-21 699 * compiler has support to do so.
eb5c2d4b45e3d2 Will Deacon 2020-07-21 700 */
eb5c2d4b45e3d2 Will Deacon 2020-07-21 701 #define compiletime_assert(condition, msg) \
eb5c2d4b45e3d2 Will Deacon 2020-07-21 @702 _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__)
eb5c2d4b45e3d2 Will Deacon 2020-07-21 703
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: tracing: Make branch profiler counters atomic
@ 2026-10-01 3:22 kernel test robot
0 siblings, 0 replies; 3+ messages in thread
From: kernel test robot @ 2026-10-01 3:22 UTC (permalink / raw)
Cc: llvm, oe-kbuild-all
Hi nanshuaibo,
kernel test robot noticed the following build warnings:
url: https://github.com/intel-lab-lkp/linux/commits/nanshuaibo/tracing-Make-branch-profiler-counters-atomic/20260930-110728
base:
patch link: https://lore.kernel.org/r/202610011126.EYAl850m-lkp%40intel.com
config: s390-randconfig-1001-20260930 (https://download.01.org/0day-ci/archive/20261001/202610011126.EYAl850m-lkp@intel.com/config)
compiler: clang version 18.1.8 (https://github.com/llvm/llvm-project 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20261001/202610011126.EYAl850m-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/202610011126.EYAl850m-lkp@intel.com/
All warnings (new ones prefixed by >>):
>> arch/s390/kernel/nmi.c:63:2: warning: misaligned atomic operation may incur significant performance penalty; the expected alignment (8 bytes) exceeds the actual alignment (4 bytes) [-Watomic-alignment]
63 | if (!nmi_needs_mcesa())
| ^
include/linux/compiler.h:65:28: note: expanded from macro 'if'
65 | #define if(cond, ...) if ( __trace_if_var( !!(cond , ## __VA_ARGS__) ) )
| ^
include/linux/compiler.h:67:69: note: expanded from macro '__trace_if_var'
67 | #define __trace_if_var(cond) (__builtin_constant_p(cond) ? (cond) : __trace_if_value(cond))
| ^
include/linux/compiler.h:79:4: note: expanded from macro '__trace_if_value'
79 | (ftrace_branch_counter_inc(__if_trace.miss_hit[1]), 1) :\
| ^
include/linux/compiler.h:24:2: note: expanded from macro 'ftrace_branch_counter_inc'
24 | __atomic_fetch_add(&(counter), 1, __ATOMIC_RELAXED)
| ^
>> arch/s390/kernel/nmi.c:63:2: warning: misaligned atomic operation may incur significant performance penalty; the expected alignment (8 bytes) exceeds the actual alignment (4 bytes) [-Watomic-alignment]
include/linux/compiler.h:65:28: note: expanded from macro 'if'
65 | #define if(cond, ...) if ( __trace_if_var( !!(cond , ## __VA_ARGS__) ) )
| ^
include/linux/compiler.h:67:69: note: expanded from macro '__trace_if_var'
67 | #define __trace_if_var(cond) (__builtin_constant_p(cond) ? (cond) : __trace_if_value(cond))
| ^
include/linux/compiler.h:80:4: note: expanded from macro '__trace_if_value'
80 | (ftrace_branch_counter_inc(__if_trace.miss_hit[0]), 0);\
| ^
include/linux/compiler.h:24:2: note: expanded from macro 'ftrace_branch_counter_inc'
24 | __atomic_fetch_add(&(counter), 1, __ATOMIC_RELAXED)
| ^
arch/s390/kernel/nmi.c:66:2: warning: misaligned atomic operation may incur significant performance penalty; the expected alignment (8 bytes) exceeds the actual alignment (4 bytes) [-Watomic-alignment]
66 | if (cpu_has_gs())
| ^
include/linux/compiler.h:65:28: note: expanded from macro 'if'
65 | #define if(cond, ...) if ( __trace_if_var( !!(cond , ## __VA_ARGS__) ) )
| ^
include/linux/compiler.h:67:69: note: expanded from macro '__trace_if_var'
67 | #define __trace_if_var(cond) (__builtin_constant_p(cond) ? (cond) : __trace_if_value(cond))
| ^
include/linux/compiler.h:79:4: note: expanded from macro '__trace_if_value'
79 | (ftrace_branch_counter_inc(__if_trace.miss_hit[1]), 1) :\
| ^
include/linux/compiler.h:24:2: note: expanded from macro 'ftrace_branch_counter_inc'
24 | __atomic_fetch_add(&(counter), 1, __ATOMIC_RELAXED)
| ^
arch/s390/kernel/nmi.c:66:2: warning: misaligned atomic operation may incur significant performance penalty; the expected alignment (8 bytes) exceeds the actual alignment (4 bytes) [-Watomic-alignment]
include/linux/compiler.h:65:28: note: expanded from macro 'if'
65 | #define if(cond, ...) if ( __trace_if_var( !!(cond , ## __VA_ARGS__) ) )
| ^
include/linux/compiler.h:67:69: note: expanded from macro '__trace_if_var'
67 | #define __trace_if_var(cond) (__builtin_constant_p(cond) ? (cond) : __trace_if_value(cond))
| ^
include/linux/compiler.h:80:4: note: expanded from macro '__trace_if_value'
80 | (ftrace_branch_counter_inc(__if_trace.miss_hit[0]), 0);\
| ^
include/linux/compiler.h:24:2: note: expanded from macro 'ftrace_branch_counter_inc'
24 | __atomic_fetch_add(&(counter), 1, __ATOMIC_RELAXED)
| ^
arch/s390/kernel/nmi.c:76:2: warning: misaligned atomic operation may incur significant performance penalty; the expected alignment (8 bytes) exceeds the actual alignment (4 bytes) [-Watomic-alignment]
76 | if (!nmi_needs_mcesa())
| ^
include/linux/compiler.h:65:28: note: expanded from macro 'if'
65 | #define if(cond, ...) if ( __trace_if_var( !!(cond , ## __VA_ARGS__) ) )
| ^
include/linux/compiler.h:67:69: note: expanded from macro '__trace_if_var'
67 | #define __trace_if_var(cond) (__builtin_constant_p(cond) ? (cond) : __trace_if_value(cond))
| ^
include/linux/compiler.h:79:4: note: expanded from macro '__trace_if_value'
79 | (ftrace_branch_counter_inc(__if_trace.miss_hit[1]), 1) :\
| ^
include/linux/compiler.h:24:2: note: expanded from macro 'ftrace_branch_counter_inc'
24 | __atomic_fetch_add(&(counter), 1, __ATOMIC_RELAXED)
| ^
arch/s390/kernel/nmi.c:76:2: warning: misaligned atomic operation may incur significant performance penalty; the expected alignment (8 bytes) exceeds the actual alignment (4 bytes) [-Watomic-alignment]
include/linux/compiler.h:65:28: note: expanded from macro 'if'
65 | #define if(cond, ...) if ( __trace_if_var( !!(cond , ## __VA_ARGS__) ) )
| ^
include/linux/compiler.h:67:69: note: expanded from macro '__trace_if_var'
67 | #define __trace_if_var(cond) (__builtin_constant_p(cond) ? (cond) : __trace_if_value(cond))
| ^
include/linux/compiler.h:80:4: note: expanded from macro '__trace_if_value'
80 | (ftrace_branch_counter_inc(__if_trace.miss_hit[0]), 0);\
| ^
include/linux/compiler.h:24:2: note: expanded from macro 'ftrace_branch_counter_inc'
24 | __atomic_fetch_add(&(counter), 1, __ATOMIC_RELAXED)
| ^
arch/s390/kernel/nmi.c:79:11: warning: misaligned atomic operation may incur significant performance penalty; the expected alignment (8 bytes) exceeds the actual alignment (4 bytes) [-Watomic-alignment]
79 | origin = kmalloc(size, GFP_KERNEL);
| ^
include/linux/slab.h:1056:32: note: expanded from macro 'kmalloc'
1056 | #define kmalloc(size, flags) alloc_hooks(kmalloc_noprof(size, flags))
| ^
include/linux/alloc_tag.h:270:2: note: expanded from macro 'alloc_hooks'
270 | alloc_hooks_tag(&_alloc_tag, _do_alloc); \
| ^
include/linux/alloc_tag.h:257:2: note: expanded from macro 'alloc_hooks_tag'
257 | if (mem_alloc_profiling_enabled()) { \
| ^
note: (skipping 1 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
include/linux/compiler.h:67:69: note: expanded from macro '__trace_if_var'
67 | #define __trace_if_var(cond) (__builtin_constant_p(cond) ? (cond) : __trace_if_value(cond))
| ^
include/linux/compiler.h:79:4: note: expanded from macro '__trace_if_value'
79 | (ftrace_branch_counter_inc(__if_trace.miss_hit[1]), 1) :\
| ^
include/linux/compiler.h:24:2: note: expanded from macro 'ftrace_branch_counter_inc'
24 | __atomic_fetch_add(&(counter), 1, __ATOMIC_RELAXED)
| ^
arch/s390/kernel/nmi.c:79:11: warning: misaligned atomic operation may incur significant performance penalty; the expected alignment (8 bytes) exceeds the actual alignment (4 bytes) [-Watomic-alignment]
include/linux/slab.h:1056:32: note: expanded from macro 'kmalloc'
1056 | #define kmalloc(size, flags) alloc_hooks(kmalloc_noprof(size, flags))
| ^
include/linux/alloc_tag.h:270:2: note: expanded from macro 'alloc_hooks'
270 | alloc_hooks_tag(&_alloc_tag, _do_alloc); \
| ^
include/linux/alloc_tag.h:257:2: note: expanded from macro 'alloc_hooks_tag'
257 | if (mem_alloc_profiling_enabled()) { \
| ^
--
include/linux/compiler.h:67:69: note: expanded from macro '__trace_if_var'
67 | #define __trace_if_var(cond) (__builtin_constant_p(cond) ? (cond) : __trace_if_value(cond))
| ^
include/linux/compiler.h:80:4: note: expanded from macro '__trace_if_value'
80 | (ftrace_branch_counter_inc(__if_trace.miss_hit[0]), 0);\
| ^
include/linux/compiler.h:24:2: note: expanded from macro 'ftrace_branch_counter_inc'
24 | __atomic_fetch_add(&(counter), 1, __ATOMIC_RELAXED)
| ^
drivers/clk/clk-rpmi.c:589:3: warning: misaligned atomic operation may incur significant performance penalty; the expected alignment (8 bytes) exceeds the actual alignment (4 bytes) [-Watomic-alignment]
589 | if (IS_ERR(hw_ptr)) {
| ^
include/linux/compiler.h:65:28: note: expanded from macro 'if'
65 | #define if(cond, ...) if ( __trace_if_var( !!(cond , ## __VA_ARGS__) ) )
| ^
include/linux/compiler.h:67:69: note: expanded from macro '__trace_if_var'
67 | #define __trace_if_var(cond) (__builtin_constant_p(cond) ? (cond) : __trace_if_value(cond))
| ^
include/linux/compiler.h:79:4: note: expanded from macro '__trace_if_value'
79 | (ftrace_branch_counter_inc(__if_trace.miss_hit[1]), 1) :\
| ^
include/linux/compiler.h:24:2: note: expanded from macro 'ftrace_branch_counter_inc'
24 | __atomic_fetch_add(&(counter), 1, __ATOMIC_RELAXED)
| ^
drivers/clk/clk-rpmi.c:589:3: warning: misaligned atomic operation may incur significant performance penalty; the expected alignment (8 bytes) exceeds the actual alignment (4 bytes) [-Watomic-alignment]
include/linux/compiler.h:65:28: note: expanded from macro 'if'
65 | #define if(cond, ...) if ( __trace_if_var( !!(cond , ## __VA_ARGS__) ) )
| ^
include/linux/compiler.h:67:69: note: expanded from macro '__trace_if_var'
67 | #define __trace_if_var(cond) (__builtin_constant_p(cond) ? (cond) : __trace_if_value(cond))
| ^
include/linux/compiler.h:80:4: note: expanded from macro '__trace_if_value'
80 | (ftrace_branch_counter_inc(__if_trace.miss_hit[0]), 0);\
| ^
include/linux/compiler.h:24:2: note: expanded from macro 'ftrace_branch_counter_inc'
24 | __atomic_fetch_add(&(counter), 1, __ATOMIC_RELAXED)
| ^
drivers/clk/clk-rpmi.c:597:2: warning: misaligned atomic operation may incur significant performance penalty; the expected alignment (8 bytes) exceeds the actual alignment (4 bytes) [-Watomic-alignment]
597 | if (ret)
| ^
include/linux/compiler.h:65:28: note: expanded from macro 'if'
65 | #define if(cond, ...) if ( __trace_if_var( !!(cond , ## __VA_ARGS__) ) )
| ^
include/linux/compiler.h:67:69: note: expanded from macro '__trace_if_var'
67 | #define __trace_if_var(cond) (__builtin_constant_p(cond) ? (cond) : __trace_if_value(cond))
| ^
include/linux/compiler.h:79:4: note: expanded from macro '__trace_if_value'
79 | (ftrace_branch_counter_inc(__if_trace.miss_hit[1]), 1) :\
| ^
include/linux/compiler.h:24:2: note: expanded from macro 'ftrace_branch_counter_inc'
24 | __atomic_fetch_add(&(counter), 1, __ATOMIC_RELAXED)
| ^
drivers/clk/clk-rpmi.c:597:2: warning: misaligned atomic operation may incur significant performance penalty; the expected alignment (8 bytes) exceeds the actual alignment (4 bytes) [-Watomic-alignment]
include/linux/compiler.h:65:28: note: expanded from macro 'if'
65 | #define if(cond, ...) if ( __trace_if_var( !!(cond , ## __VA_ARGS__) ) )
| ^
include/linux/compiler.h:67:69: note: expanded from macro '__trace_if_var'
67 | #define __trace_if_var(cond) (__builtin_constant_p(cond) ? (cond) : __trace_if_value(cond))
| ^
include/linux/compiler.h:80:4: note: expanded from macro '__trace_if_value'
80 | (ftrace_branch_counter_inc(__if_trace.miss_hit[0]), 0);\
| ^
include/linux/compiler.h:24:2: note: expanded from macro 'ftrace_branch_counter_inc'
24 | __atomic_fetch_add(&(counter), 1, __ATOMIC_RELAXED)
| ^
In file included from drivers/clk/clk-rpmi.c:10:
In file included from include/linux/mailbox_client.h:10:
In file included from include/linux/device.h:31:
include/linux/device/devres.h:175:2: warning: misaligned atomic operation may incur significant performance penalty; the expected alignment (8 bytes) exceeds the actual alignment (4 bytes) [-Watomic-alignment]
175 | if (ret)
| ^
include/linux/compiler.h:65:28: note: expanded from macro 'if'
65 | #define if(cond, ...) if ( __trace_if_var( !!(cond , ## __VA_ARGS__) ) )
| ^
include/linux/compiler.h:67:69: note: expanded from macro '__trace_if_var'
67 | #define __trace_if_var(cond) (__builtin_constant_p(cond) ? (cond) : __trace_if_value(cond))
| ^
include/linux/compiler.h:79:4: note: expanded from macro '__trace_if_value'
79 | (ftrace_branch_counter_inc(__if_trace.miss_hit[1]), 1) :\
| ^
include/linux/compiler.h:24:2: note: expanded from macro 'ftrace_branch_counter_inc'
24 | __atomic_fetch_add(&(counter), 1, __ATOMIC_RELAXED)
| ^
In file included from drivers/clk/clk-rpmi.c:10:
In file included from include/linux/mailbox_client.h:10:
In file included from include/linux/device.h:31:
include/linux/device/devres.h:175:2: warning: misaligned atomic operation may incur significant performance penalty; the expected alignment (8 bytes) exceeds the actual alignment (4 bytes) [-Watomic-alignment]
include/linux/compiler.h:65:28: note: expanded from macro 'if'
65 | #define if(cond, ...) if ( __trace_if_var( !!(cond , ## __VA_ARGS__) ) )
| ^
include/linux/compiler.h:67:69: note: expanded from macro '__trace_if_var'
67 | #define __trace_if_var(cond) (__builtin_constant_p(cond) ? (cond) : __trace_if_value(cond))
| ^
include/linux/compiler.h:80:4: note: expanded from macro '__trace_if_value'
80 | (ftrace_branch_counter_inc(__if_trace.miss_hit[0]), 0);\
| ^
include/linux/compiler.h:24:2: note: expanded from macro 'ftrace_branch_counter_inc'
24 | __atomic_fetch_add(&(counter), 1, __ATOMIC_RELAXED)
| ^
In file included from drivers/clk/clk-rpmi.c:11:
>> include/linux/mailbox/riscv-rpmi-message.h:234:2: warning: misaligned atomic operation may incur significant performance penalty; the expected alignment (8 bytes) exceeds the actual alignment (4 bytes) [-Watomic-alignment]
234 | if (ret < 0)
| ^
include/linux/compiler.h:65:28: note: expanded from macro 'if'
65 | #define if(cond, ...) if ( __trace_if_var( !!(cond , ## __VA_ARGS__) ) )
| ^
include/linux/compiler.h:67:69: note: expanded from macro '__trace_if_var'
67 | #define __trace_if_var(cond) (__builtin_constant_p(cond) ? (cond) : __trace_if_value(cond))
| ^
include/linux/compiler.h:79:4: note: expanded from macro '__trace_if_value'
79 | (ftrace_branch_counter_inc(__if_trace.miss_hit[1]), 1) :\
| ^
include/linux/compiler.h:24:2: note: expanded from macro 'ftrace_branch_counter_inc'
24 | __atomic_fetch_add(&(counter), 1, __ATOMIC_RELAXED)
| ^
In file included from drivers/clk/clk-rpmi.c:11:
>> include/linux/mailbox/riscv-rpmi-message.h:234:2: warning: misaligned atomic operation may incur significant performance penalty; the expected alignment (8 bytes) exceeds the actual alignment (4 bytes) [-Watomic-alignment]
include/linux/compiler.h:65:28: note: expanded from macro 'if'
65 | #define if(cond, ...) if ( __trace_if_var( !!(cond , ## __VA_ARGS__) ) )
| ^
include/linux/compiler.h:67:69: note: expanded from macro '__trace_if_var'
67 | #define __trace_if_var(cond) (__builtin_constant_p(cond) ? (cond) : __trace_if_value(cond))
| ^
include/linux/compiler.h:80:4: note: expanded from macro '__trace_if_value'
80 | (ftrace_branch_counter_inc(__if_trace.miss_hit[0]), 0);\
| ^
include/linux/compiler.h:24:2: note: expanded from macro 'ftrace_branch_counter_inc'
24 | __atomic_fetch_add(&(counter), 1, __ATOMIC_RELAXED)
| ^
drivers/clk/clk-rpmi.c:158:2: warning: misaligned atomic operation may incur significant performance penalty; the expected alignment (8 bytes) exceeds the actual alignment (4 bytes) [-Watomic-alignment]
158 | if (ret)
| ^
include/linux/compiler.h:65:28: note: expanded from macro 'if'
65 | #define if(cond, ...) if ( __trace_if_var( !!(cond , ## __VA_ARGS__) ) )
| ^
include/linux/compiler.h:67:69: note: expanded from macro '__trace_if_var'
67 | #define __trace_if_var(cond) (__builtin_constant_p(cond) ? (cond) : __trace_if_value(cond))
| ^
include/linux/compiler.h:79:4: note: expanded from macro '__trace_if_value'
79 | (ftrace_branch_counter_inc(__if_trace.miss_hit[1]), 1) :\
| ^
include/linux/compiler.h:24:2: note: expanded from macro 'ftrace_branch_counter_inc'
24 | __atomic_fetch_add(&(counter), 1, __ATOMIC_RELAXED)
| ^
drivers/clk/clk-rpmi.c:158:2: warning: misaligned atomic operation may incur significant performance penalty; the expected alignment (8 bytes) exceeds the actual alignment (4 bytes) [-Watomic-alignment]
include/linux/compiler.h:65:28: note: expanded from macro 'if'
65 | #define if(cond, ...) if ( __trace_if_var( !!(cond , ## __VA_ARGS__) ) )
| ^
include/linux/compiler.h:67:69: note: expanded from macro '__trace_if_var'
67 | #define __trace_if_var(cond) (__builtin_constant_p(cond) ? (cond) : __trace_if_value(cond))
| ^
include/linux/compiler.h:80:4: note: expanded from macro '__trace_if_value'
80 | (ftrace_branch_counter_inc(__if_trace.miss_hit[0]), 0);\
| ^
include/linux/compiler.h:24:2: note: expanded from macro 'ftrace_branch_counter_inc'
24 | __atomic_fetch_add(&(counter), 1, __ATOMIC_RELAXED)
| ^
drivers/clk/clk-rpmi.c:162:2: warning: misaligned atomic operation may incur significant performance penalty; the expected alignment (8 bytes) exceeds the actual alignment (4 bytes) [-Watomic-alignment]
162 | if (!resp || resp->status)
| ^
include/linux/compiler.h:65:28: note: expanded from macro 'if'
65 | #define if(cond, ...) if ( __trace_if_var( !!(cond , ## __VA_ARGS__) ) )
| ^
include/linux/compiler.h:67:69: note: expanded from macro '__trace_if_var'
67 | #define __trace_if_var(cond) (__builtin_constant_p(cond) ? (cond) : __trace_if_value(cond))
| ^
include/linux/compiler.h:79:4: note: expanded from macro '__trace_if_value'
79 | (ftrace_branch_counter_inc(__if_trace.miss_hit[1]), 1) :\
| ^
include/linux/compiler.h:24:2: note: expanded from macro 'ftrace_branch_counter_inc'
24 | __atomic_fetch_add(&(counter), 1, __ATOMIC_RELAXED)
| ^
drivers/clk/clk-rpmi.c:162:2: warning: misaligned atomic operation may incur significant performance penalty; the expected alignment (8 bytes) exceeds the actual alignment (4 bytes) [-Watomic-alignment]
include/linux/compiler.h:65:28: note: expanded from macro 'if'
65 | #define if(cond, ...) if ( __trace_if_var( !!(cond , ## __VA_ARGS__) ) )
| ^
include/linux/compiler.h:67:69: note: expanded from macro '__trace_if_var'
67 | #define __trace_if_var(cond) (__builtin_constant_p(cond) ? (cond) : __trace_if_value(cond))
| ^
include/linux/compiler.h:80:4: note: expanded from macro '__trace_if_value'
80 | (ftrace_branch_counter_inc(__if_trace.miss_hit[0]), 0);\
| ^
include/linux/compiler.h:24:2: note: expanded from macro 'ftrace_branch_counter_inc'
24 | __atomic_fetch_add(&(counter), 1, __ATOMIC_RELAXED)
| ^
In file included from drivers/clk/clk-rpmi.c:8:
In file included from include/linux/clk-provider.h:10:
In file included from include/linux/of.h:15:
In file included from include/linux/bitops.h:6:
In file included from include/linux/bits.h:32:
include/linux/overflow.h:353:2: warning: misaligned atomic operation may incur significant performance penalty; the expected alignment (8 bytes) exceeds the actual alignment (4 bytes) [-Watomic-alignment]
353 | if (check_add_overflow(addend1, addend2, &bytes))
| ^
include/linux/compiler.h:65:28: note: expanded from macro 'if'
65 | #define if(cond, ...) if ( __trace_if_var( !!(cond , ## __VA_ARGS__) ) )
| ^
include/linux/compiler.h:67:69: note: expanded from macro '__trace_if_var'
67 | #define __trace_if_var(cond) (__builtin_constant_p(cond) ? (cond) : __trace_if_value(cond))
| ^
include/linux/compiler.h:79:4: note: expanded from macro '__trace_if_value'
79 | (ftrace_branch_counter_inc(__if_trace.miss_hit[1]), 1) :\
| ^
include/linux/compiler.h:24:2: note: expanded from macro 'ftrace_branch_counter_inc'
24 | __atomic_fetch_add(&(counter), 1, __ATOMIC_RELAXED)
| ^
In file included from drivers/clk/clk-rpmi.c:8:
In file included from include/linux/clk-provider.h:10:
In file included from include/linux/of.h:15:
In file included from include/linux/bitops.h:6:
In file included from include/linux/bits.h:32:
include/linux/overflow.h:353:2: warning: misaligned atomic operation may incur significant performance penalty; the expected alignment (8 bytes) exceeds the actual alignment (4 bytes) [-Watomic-alignment]
include/linux/compiler.h:65:28: note: expanded from macro 'if'
65 | #define if(cond, ...) if ( __trace_if_var( !!(cond , ## __VA_ARGS__) ) )
| ^
include/linux/compiler.h:67:69: note: expanded from macro '__trace_if_var'
67 | #define __trace_if_var(cond) (__builtin_constant_p(cond) ? (cond) : __trace_if_value(cond))
| ^
vim +63 arch/s390/kernel/nmi.c
6c81511ca1f52a Martin Schwidefsky 2017-10-12 60
c7ed509b21b656 Alexander Gordeev 2021-12-10 61 void __init nmi_alloc_mcesa_early(u64 *mcesad)
6c81511ca1f52a Martin Schwidefsky 2017-10-12 62 {
6c81511ca1f52a Martin Schwidefsky 2017-10-12 @63 if (!nmi_needs_mcesa())
6c81511ca1f52a Martin Schwidefsky 2017-10-12 64 return;
c7ed509b21b656 Alexander Gordeev 2021-12-10 65 *mcesad = __pa(&boot_mcesa);
42805261fcea80 Heiko Carstens 2025-02-07 66 if (cpu_has_gs())
c7ed509b21b656 Alexander Gordeev 2021-12-10 67 *mcesad |= ilog2(MCESA_MAX_SIZE);
6c81511ca1f52a Martin Schwidefsky 2017-10-12 68 }
6c81511ca1f52a Martin Schwidefsky 2017-10-12 69
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2026-10-01 3:23 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-10-01 3:22 tracing: Make branch profiler counters atomic kernel test robot
-- strict thread matches above, loose matches on Subject: below --
2026-09-30 23:27 kernel test robot
2026-09-30 15:05 kernel test robot
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.