Re: [Intel-gfx] [PATCH 0/8] sanitize RPS interrupt enabling/disabling

2014-11-18 Thread Imre Deak
On Tue, 2014-11-18 at 14:04 -0200, Paulo Zanoni wrote: > 2014-11-05 16:48 GMT-02:00 Imre Deak : > > While fixing [1] I noticed that we can simplify a couple of things in > > the RPS enabling/disabling code. So I did that and also fixed one WARN > > that we can hit with some of the pm_rpm subtests.

Re: [Intel-gfx] [PATCH 0/8] sanitize RPS interrupt enabling/disabling

2014-11-18 Thread Paulo Zanoni
2014-11-05 16:48 GMT-02:00 Imre Deak : > While fixing [1] I noticed that we can simplify a couple of things in > the RPS enabling/disabling code. So I did that and also fixed one WARN > that we can hit with some of the pm_rpm subtests. Hopefully these > changes also makes it clearer how we avoid th

Re: [Intel-gfx] [PATCH 0/8] sanitize RPS interrupt enabling/disabling

2014-11-11 Thread Daniel Vetter
On Sat, Nov 08, 2014 at 02:57:58PM +0200, Imre Deak wrote: > On Fri, 2014-11-07 at 18:42 -0200, Paulo Zanoni wrote: > > 2014-11-05 16:48 GMT-02:00 Imre Deak : > > > While fixing [1] I noticed that we can simplify a couple of things in > > > the RPS enabling/disabling code. So I did that and also fi

Re: [Intel-gfx] [PATCH 0/8] sanitize RPS interrupt enabling/disabling

2014-11-08 Thread Imre Deak
On Fri, 2014-11-07 at 18:42 -0200, Paulo Zanoni wrote: > 2014-11-05 16:48 GMT-02:00 Imre Deak : > > While fixing [1] I noticed that we can simplify a couple of things in > > the RPS enabling/disabling code. So I did that and also fixed one WARN > > that we can hit with some of the pm_rpm subtests.

Re: [Intel-gfx] [PATCH 0/8] sanitize RPS interrupt enabling/disabling

2014-11-07 Thread Paulo Zanoni
2014-11-05 16:48 GMT-02:00 Imre Deak : > While fixing [1] I noticed that we can simplify a couple of things in > the RPS enabling/disabling code. So I did that and also fixed one WARN > that we can hit with some of the pm_rpm subtests. Hopefully these > changes also makes it clearer how we avoid th

[Intel-gfx] [PATCH 0/8] sanitize RPS interrupt enabling/disabling

2014-11-05 Thread Imre Deak
While fixing [1] I noticed that we can simplify a couple of things in the RPS enabling/disabling code. So I did that and also fixed one WARN that we can hit with some of the pm_rpm subtests. Hopefully these changes also makes it clearer how we avoid the race during RPS interrupt disabling and makes