The Linux Kernel Mailing List
 help / color / mirror / Atom feed
* perf/x86/amd/power missing pmu::module initialisation
@ 2017-11-03 11:33 Mark Rutland
  2017-11-07 12:50 ` Huang Rui
  0 siblings, 1 reply; 4+ messages in thread
From: Mark Rutland @ 2017-11-03 11:33 UTC (permalink / raw)
  To: ray.huang; +Cc: linux-kernel

Hi,

As a heads-up, I believe that arch/x86/events/amd/power.c is currently
missing initialisation of pmu::module, which could result in problems
when the module is unloaded.

We've just spotted a similar problem in a couple of ARM PMUs, and AFAICT
the AMD power PMU is the only other PMU affected.

Other modular PMUs all initialise this to THIS_MODULE prior to calling
perf_pmu_register().

Thanks,
Mark.

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

end of thread, other threads:[~2017-11-20 15:55 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-11-03 11:33 perf/x86/amd/power missing pmu::module initialisation Mark Rutland
2017-11-07 12:50 ` Huang Rui
2017-11-07 12:54   ` Huang Rui
2017-11-20 15:55   ` Mark Rutland

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox