* arch/riscv/kernel/irq.c:49:1: sparse: sparse: symbol '__pcpu_scope_irq_stack' was not declared. Should it be static?
@ 2023-11-15 14:50 kernel test robot
0 siblings, 0 replies; 4+ messages in thread
From: kernel test robot @ 2023-11-15 14:50 UTC (permalink / raw)
To: Guo Ren; +Cc: oe-kbuild-all, linux-kernel, Palmer Dabbelt
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: c42d9eeef8e5ba9292eda36fd8e3c11f35ee065c
commit: 163e76cc6ef43b7a5e9b6e245a6d6667c9d9b4a7 riscv: stack: Support HAVE_IRQ_EXIT_ON_IRQ_STACK
date: 5 months ago
config: riscv-randconfig-r122-20231115 (https://download.01.org/0day-ci/archive/20231115/202311152232.0ru8PmcL-lkp@intel.com/config)
compiler: riscv64-linux-gcc (GCC) 13.2.0
reproduce: (https://download.01.org/0day-ci/archive/20231115/202311152232.0ru8PmcL-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/202311152232.0ru8PmcL-lkp@intel.com/
sparse warnings: (new ones prefixed by >>)
WARNING: invalid argument to '-march': '_zihintpause'
>> arch/riscv/kernel/irq.c:49:1: sparse: sparse: symbol '__pcpu_scope_irq_stack' was not declared. Should it be static?
vim +/__pcpu_scope_irq_stack +49 arch/riscv/kernel/irq.c
35
36 #ifdef CONFIG_VMAP_STACK
37 static void init_irq_stacks(void)
38 {
39 int cpu;
40 ulong *p;
41
42 for_each_possible_cpu(cpu) {
43 p = arch_alloc_vmap_stack(IRQ_STACK_SIZE, cpu_to_node(cpu));
44 per_cpu(irq_stack_ptr, cpu) = p;
45 }
46 }
47 #else
48 /* irq stack only needs to be 16 byte aligned - not IRQ_STACK_SIZE aligned. */
> 49 DEFINE_PER_CPU_ALIGNED(ulong [IRQ_STACK_SIZE/sizeof(ulong)], irq_stack);
50
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
^ permalink raw reply [flat|nested] 4+ messages in thread
* arch/riscv/kernel/irq.c:49:1: sparse: sparse: symbol '__pcpu_scope_irq_stack' was not declared. Should it be static?
@ 2024-01-05 9:10 kernel test robot
0 siblings, 0 replies; 4+ messages in thread
From: kernel test robot @ 2024-01-05 9:10 UTC (permalink / raw)
To: Guo Ren; +Cc: oe-kbuild-all, linux-kernel, Palmer Dabbelt
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 1f874787ed9a2d78ed59cb21d0d90ac0178eceb0
commit: 163e76cc6ef43b7a5e9b6e245a6d6667c9d9b4a7 riscv: stack: Support HAVE_IRQ_EXIT_ON_IRQ_STACK
date: 7 months ago
config: riscv-randconfig-r122-20231115 (https://download.01.org/0day-ci/archive/20240105/202401051709.Lg5tIeRM-lkp@intel.com/config)
compiler: riscv64-linux-gcc (GCC) 13.2.0
reproduce: (https://download.01.org/0day-ci/archive/20240105/202401051709.Lg5tIeRM-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/202401051709.Lg5tIeRM-lkp@intel.com/
sparse warnings: (new ones prefixed by >>)
>> arch/riscv/kernel/irq.c:49:1: sparse: sparse: symbol '__pcpu_scope_irq_stack' was not declared. Should it be static?
vim +/__pcpu_scope_irq_stack +49 arch/riscv/kernel/irq.c
35
36 #ifdef CONFIG_VMAP_STACK
37 static void init_irq_stacks(void)
38 {
39 int cpu;
40 ulong *p;
41
42 for_each_possible_cpu(cpu) {
43 p = arch_alloc_vmap_stack(IRQ_STACK_SIZE, cpu_to_node(cpu));
44 per_cpu(irq_stack_ptr, cpu) = p;
45 }
46 }
47 #else
48 /* irq stack only needs to be 16 byte aligned - not IRQ_STACK_SIZE aligned. */
> 49 DEFINE_PER_CPU_ALIGNED(ulong [IRQ_STACK_SIZE/sizeof(ulong)], irq_stack);
50
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
^ permalink raw reply [flat|nested] 4+ messages in thread
* arch/riscv/kernel/irq.c:49:1: sparse: sparse: symbol '__pcpu_scope_irq_stack' was not declared. Should it be static?
@ 2024-01-06 3:36 kernel test robot
0 siblings, 0 replies; 4+ messages in thread
From: kernel test robot @ 2024-01-06 3:36 UTC (permalink / raw)
To: Guo Ren; +Cc: oe-kbuild-all, linux-kernel, Palmer Dabbelt
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: a4ab2706bb1280693e7dff1c5c42a8cb9d70c177
commit: 163e76cc6ef43b7a5e9b6e245a6d6667c9d9b4a7 riscv: stack: Support HAVE_IRQ_EXIT_ON_IRQ_STACK
date: 7 months ago
config: riscv-randconfig-r122-20231115 (https://download.01.org/0day-ci/archive/20240106/202401061149.NAyvwB2V-lkp@intel.com/config)
compiler: riscv64-linux-gcc (GCC) 13.2.0
reproduce: (https://download.01.org/0day-ci/archive/20240106/202401061149.NAyvwB2V-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/202401061149.NAyvwB2V-lkp@intel.com/
sparse warnings: (new ones prefixed by >>)
>> arch/riscv/kernel/irq.c:49:1: sparse: sparse: symbol '__pcpu_scope_irq_stack' was not declared. Should it be static?
vim +/__pcpu_scope_irq_stack +49 arch/riscv/kernel/irq.c
35
36 #ifdef CONFIG_VMAP_STACK
37 static void init_irq_stacks(void)
38 {
39 int cpu;
40 ulong *p;
41
42 for_each_possible_cpu(cpu) {
43 p = arch_alloc_vmap_stack(IRQ_STACK_SIZE, cpu_to_node(cpu));
44 per_cpu(irq_stack_ptr, cpu) = p;
45 }
46 }
47 #else
48 /* irq stack only needs to be 16 byte aligned - not IRQ_STACK_SIZE aligned. */
> 49 DEFINE_PER_CPU_ALIGNED(ulong [IRQ_STACK_SIZE/sizeof(ulong)], irq_stack);
50
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
^ permalink raw reply [flat|nested] 4+ messages in thread
* arch/riscv/kernel/irq.c:49:1: sparse: sparse: symbol '__pcpu_scope_irq_stack' was not declared. Should it be static?
@ 2024-10-10 7:44 kernel test robot
0 siblings, 0 replies; 4+ messages in thread
From: kernel test robot @ 2024-10-10 7:44 UTC (permalink / raw)
To: Guo Ren; +Cc: oe-kbuild-all, linux-kernel, Palmer Dabbelt
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: d3d1556696c1a993eec54ac585fe5bf677e07474
commit: 163e76cc6ef43b7a5e9b6e245a6d6667c9d9b4a7 riscv: stack: Support HAVE_IRQ_EXIT_ON_IRQ_STACK
date: 1 year, 4 months ago
config: riscv-randconfig-r122-20241010 (https://download.01.org/0day-ci/archive/20241010/202410101516.J0ChPNHa-lkp@intel.com/config)
compiler: clang version 20.0.0git (https://github.com/llvm/llvm-project 70e0a7e7e6a8541bcc46908c592eed561850e416)
reproduce: (https://download.01.org/0day-ci/archive/20241010/202410101516.J0ChPNHa-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/202410101516.J0ChPNHa-lkp@intel.com/
sparse warnings: (new ones prefixed by >>)
>> arch/riscv/kernel/irq.c:49:1: sparse: sparse: symbol '__pcpu_scope_irq_stack' was not declared. Should it be static?
vim +/__pcpu_scope_irq_stack +49 arch/riscv/kernel/irq.c
35
36 #ifdef CONFIG_VMAP_STACK
37 static void init_irq_stacks(void)
38 {
39 int cpu;
40 ulong *p;
41
42 for_each_possible_cpu(cpu) {
43 p = arch_alloc_vmap_stack(IRQ_STACK_SIZE, cpu_to_node(cpu));
44 per_cpu(irq_stack_ptr, cpu) = p;
45 }
46 }
47 #else
48 /* irq stack only needs to be 16 byte aligned - not IRQ_STACK_SIZE aligned. */
> 49 DEFINE_PER_CPU_ALIGNED(ulong [IRQ_STACK_SIZE/sizeof(ulong)], irq_stack);
50
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2024-10-10 7:44 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-11-15 14:50 arch/riscv/kernel/irq.c:49:1: sparse: sparse: symbol '__pcpu_scope_irq_stack' was not declared. Should it be static? kernel test robot
-- strict thread matches above, loose matches on Subject: below --
2024-01-05 9:10 kernel test robot
2024-01-06 3:36 kernel test robot
2024-10-10 7:44 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