* Re: tracing: Make branch profiler counters atomic
@ 2026-10-01 3:22 kernel test robot
0 siblings, 0 replies; only message 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] only message in thread
only message in thread, other threads:[~2026-10-01 3:23 UTC | newest]
Thread overview: (only message) (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
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox