Re: perf/x86/amd/power missing pmu::module initialisation

2017-11-20 Thread Mark Rutland
Hi, Sorry for the late reply. On Tue, Nov 07, 2017 at 08:50:53PM +0800, Huang Rui wrote: > On Fri, Nov 03, 2017 at 11:33:56AM +, Mark Rutland wrote: > > As a heads-up, I believe that arch/x86/events/amd/power.c is currently > > missing initialisation of pmu::module, which could result in

Re: perf/x86/amd/power missing pmu::module initialisation

2017-11-20 Thread Mark Rutland
Hi, Sorry for the late reply. On Tue, Nov 07, 2017 at 08:50:53PM +0800, Huang Rui wrote: > On Fri, Nov 03, 2017 at 11:33:56AM +, Mark Rutland wrote: > > As a heads-up, I believe that arch/x86/events/amd/power.c is currently > > missing initialisation of pmu::module, which could result in

Re: perf/x86/amd/power missing pmu::module initialisation

2017-11-07 Thread Huang Rui
On Tue, Nov 07, 2017 at 08:50:52PM +0800, Huang Rui wrote: > Hi Mark, > > On Fri, Nov 03, 2017 at 11:33:56AM +, Mark Rutland wrote: > > 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

Re: perf/x86/amd/power missing pmu::module initialisation

2017-11-07 Thread Huang Rui
On Tue, Nov 07, 2017 at 08:50:52PM +0800, Huang Rui wrote: > Hi Mark, > > On Fri, Nov 03, 2017 at 11:33:56AM +, Mark Rutland wrote: > > 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

Re: perf/x86/amd/power missing pmu::module initialisation

2017-11-07 Thread Huang Rui
Hi Mark, On Fri, Nov 03, 2017 at 11:33:56AM +, Mark Rutland wrote: > 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

Re: perf/x86/amd/power missing pmu::module initialisation

2017-11-07 Thread Huang Rui
Hi Mark, On Fri, Nov 03, 2017 at 11:33:56AM +, Mark Rutland wrote: > 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

perf/x86/amd/power missing pmu::module initialisation

2017-11-03 Thread Mark Rutland
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.

perf/x86/amd/power missing pmu::module initialisation

2017-11-03 Thread Mark Rutland
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.