All of lore.kernel.org
 help / color / mirror / Atom feed
* [arm-platforms:irq/ppi-affinity 18/25] drivers/perf/arm_pmu.c:68:35: sparse: sparse: cast removes address space '__percpu' of expression
@ 2025-09-15  0:21 kernel test robot
  2025-09-15  8:40 ` Marc Zyngier
  0 siblings, 1 reply; 2+ messages in thread
From: kernel test robot @ 2025-09-15  0:21 UTC (permalink / raw)
  To: Will Deacon; +Cc: oe-kbuild-all, linux-arm-kernel, Marc Zyngier

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/maz/arm-platforms.git irq/ppi-affinity
head:   136dedfe26e7de871029de6ed7dcf555e840fadc
commit: 49964285d3074f0494d8f09dce6e120d623b7843 [18/25] perf: arm_pmu: Request specific affinities for percpu NMI/IRQ
config: arm-randconfig-r132-20250915 (https://download.01.org/0day-ci/archive/20250915/202509150852.4ziBllm5-lkp@intel.com/config)
compiler: clang version 22.0.0git (https://github.com/llvm/llvm-project 21857ae337e0892a5522b6e7337899caa61de2a6)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250915/202509150852.4ziBllm5-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/202509150852.4ziBllm5-lkp@intel.com/

sparse warnings: (new ones prefixed by >>)
>> drivers/perf/arm_pmu.c:68:35: sparse: sparse: cast removes address space '__percpu' of expression
>> drivers/perf/arm_pmu.c:68:35: sparse: sparse: incorrect type in initializer (different address spaces) @@     expected void const [noderef] __percpu *__vpp_verify @@     got void ** @@
   drivers/perf/arm_pmu.c:68:35: sparse:     expected void const [noderef] __percpu *__vpp_verify
   drivers/perf/arm_pmu.c:68:35: sparse:     got void **
>> drivers/perf/arm_pmu.c:68:35: sparse: sparse: cast removes address space '__percpu' of expression
>> drivers/perf/arm_pmu.c:68:35: sparse: sparse: cast removes address space '__percpu' of expression
   drivers/perf/arm_pmu.c:95:35: sparse: sparse: cast removes address space '__percpu' of expression
   drivers/perf/arm_pmu.c:95:35: sparse: sparse: incorrect type in initializer (different address spaces) @@     expected void const [noderef] __percpu *__vpp_verify @@     got void ** @@
   drivers/perf/arm_pmu.c:95:35: sparse:     expected void const [noderef] __percpu *__vpp_verify
   drivers/perf/arm_pmu.c:95:35: sparse:     got void **
   drivers/perf/arm_pmu.c:95:35: sparse: sparse: cast removes address space '__percpu' of expression
   drivers/perf/arm_pmu.c:95:35: sparse: sparse: cast removes address space '__percpu' of expression

vim +/__percpu +68 drivers/perf/arm_pmu.c

    64	
    65	static void armpmu_free_percpu_pmuirq(unsigned int irq, int cpu,
    66					   void __percpu *devid)
    67	{
  > 68		struct arm_pmu *armpmu = *per_cpu_ptr((void **)devid, cpu);
    69	
    70		if (armpmu_count_irq_users(&armpmu->supported_cpus, irq) == 1)
    71			free_percpu_irq(irq, devid);
    72	}
    73	

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


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2025-09-15  8:40 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-09-15  0:21 [arm-platforms:irq/ppi-affinity 18/25] drivers/perf/arm_pmu.c:68:35: sparse: sparse: cast removes address space '__percpu' of expression kernel test robot
2025-09-15  8:40 ` Marc Zyngier

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.