Re: [RFC PATCH] powerpc/pseries: Ratelimit EPOW event warnings

2015-06-02 Thread Michael Ellerman
On Tue, 2015-06-02 at 10:33 +0530, Kamalesh Babulal wrote: > * Michael Ellerman [2015-06-01 21:26:51]: > > > On Thu, 2015-05-28 at 10:03 +0530, Kamalesh Babulal wrote: > > > We print the respective warning after parsing EPOW interrupts, > > > prompting user to take action depending upon the sever

Re: [RFC PATCH] powerpc/pseries: Ratelimit EPOW event warnings

2015-06-01 Thread Kamalesh Babulal
* Michael Ellerman [2015-06-01 21:26:51]: > On Thu, 2015-05-28 at 10:03 +0530, Kamalesh Babulal wrote: > > We print the respective warning after parsing EPOW interrupts, > > prompting user to take action depending upon the severity of the > > event. > > > > Some times same EPOW event warning, su

Re: [RFC PATCH] powerpc/pseries: Ratelimit EPOW event warnings

2015-06-01 Thread Michael Ellerman
On Thu, 2015-05-28 at 10:03 +0530, Kamalesh Babulal wrote: > We print the respective warning after parsing EPOW interrupts, > prompting user to take action depending upon the severity of the > event. > > Some times same EPOW event warning, such as below could flood kernel > log, within very short

[RFC PATCH] powerpc/pseries: Ratelimit EPOW event warnings

2015-05-27 Thread Kamalesh Babulal
We print the respective warning after parsing EPOW interrupts, prompting user to take action depending upon the severity of the event. Some times same EPOW event warning, such as below could flood kernel log, within very short duration. So Limit the message by using ratelimit variant of pr_err. M