Re: [Intel-gfx] i915 irq storm mitigation in 3.10

2013-07-26 Thread Jan Niggemann
Hi Daniel, Am 25.07.2013 11:58, schrieb Daniel Vetter: Can you pls try the below patch (on top of Egbert's debug stuff)? diff --git a/drivers/gpu/drm/i915/i915_reg.h b/drivers/gpu/drm/i915/i915_reg.h index 6caa748..2d4c884 100644 --- a/drivers/gpu/drm/i915/i915_reg.h +++ b/drivers/gpu/drm/i915/

Re: [Intel-gfx] i915 irq storm mitigation in 3.10

2013-07-26 Thread Jan Niggemann
Hi Egbert, Am 23.07.2013 13:26, schrieb Egbert Eich: I've looked at the logs a bit more. Here's a patch adding some more debug information. Would you please apply this to your 3.10 kernel and generate a log file the same way as you did before. The driver will be even more chatty - but I don't ex

Re: [Intel-gfx] i915 irq storm mitigation in 3.10

2013-07-25 Thread Egbert Eich
Jan Niggemann writes: > Hi Daniel, > > Am 25.07.2013 11:58, schrieb Daniel Vetter: > > Can you pls try the below > > patch (on top of Egbert's debug stuff)? > > > > diff --git a/drivers/gpu/drm/i915/i915_reg.h > > b/drivers/gpu/drm/i915/i915_reg.h > > index 6caa748..2d4c884 100644 > > --

Re: [Intel-gfx] i915 irq storm mitigation in 3.10

2013-07-25 Thread Egbert Eich
Daniel Vetter writes: > > I've checked the docs again for gm45 and we seem to have the right > values. But on early gen4 (i.e. i965g/gm) the Bspec has been wrong > about these, so I wouldn't be surprised at all if they're wrong for > the digital ports on gm45, too. > > Iirc we've already h

Re: [Intel-gfx] i915 irq storm mitigation in 3.10

2013-07-25 Thread Daniel Vetter
On Thu, Jul 25, 2013 at 9:50 AM, Egbert Eich wrote: > > I applied this patch (but not the one you sent on Monday), recompiled > > and logged: > > uncompressed (8,2M) http://files.hz6.de/kern_20130724.log > > bz2 (288 KB) http://files.hz6.de/kern_20130724.log.bz2 > > These logs show clearly tha

Re: [Intel-gfx] i915 irq storm mitigation in 3.10

2013-07-25 Thread Egbert Eich
Hi Jan! Jan Niggemann writes: > Hi Egbert, [...] Thanks for generating the logs! Hope you had a nice birthday dinner :) > > I applied this patch (but not the one you sent on Monday), recompiled > and logged: > uncompressed (8,2M) http://files.hz6.de/kern_20130724.log > bz2 (288 KB) htt

Re: [Intel-gfx] i915 irq storm mitigation in 3.10

2013-07-23 Thread Jan Niggemann
Egbert, Daniel, others, Am 22.07.2013 10:04, schrieb Egbert Eich: Daniel Vetter writes: > On Sun, Jul 21, 2013 at 10:23 PM, Jan Niggemann wrote: > >> But every time this happens we only let through a few interrupts, so this > >> shouldn't affect you badly. Can you please check whether those

Re: [Intel-gfx] i915 irq storm mitigation in 3.10

2013-07-23 Thread Egbert Eich
Hi Jan - Jan Niggemann writes: > > As to the log: I messed up the kernel parameters this morning... was > out of coffee this morning and my 1,5y daughter played around me :-) > > Here's my kernel log with drm.debug and printk.time enabled: > Uncompressed (22M): http://files.hz6.de/kern_2

Re: [Intel-gfx] i915 irq storm mitigation in 3.10

2013-07-23 Thread Daniel Vetter
On Mon, Jul 22, 2013 at 10:36 PM, Egbert Eich wrote: > Jan Niggemann writes: > > Egbert, Daniel, others, > > It's a Lenovo ThinkPad T400, the model is 7434-AG2. > > root@muretop:~# lspci -n > > 00:00.0 0600: 8086:2a40 (rev 07) > > 00:02.0 0300: 8086:2a42 (rev 07) > > Ok, this is a gm45. > >

Re: [Intel-gfx] i915 irq storm mitigation in 3.10

2013-07-22 Thread Egbert Eich
Jan Niggemann writes: > Egbert, Daniel, others, > It's a Lenovo ThinkPad T400, the model is 7434-AG2. > root@muretop:~# lspci -n > 00:00.0 0600: 8086:2a40 (rev 07) > 00:02.0 0300: 8086:2a42 (rev 07) Ok, this is a gm45. > > As to the log: I messed up the kernel parameters this morning... w

Re: [Intel-gfx] i915 irq storm mitigation in 3.10

2013-07-22 Thread Jan Niggemann
Hi all, Am 21.07.2013 22:43, schrieb Daniel Vetter: Can you please boot with drm.debug=0xe added to your kernel cmdline, do a cold boot (so that we get a storm) and then once everything is quiet grab the full kernel log (you probably have to grab it from the disk, dmesg has likely overflown) and

Re: [Intel-gfx] i915 irq storm mitigation in 3.10

2013-07-22 Thread Jan Niggemann
Hi list, I was busy, but this is important so I report my findings: Am 08.07.2013 22:03, schrieb Daniel Vetter: On Sat, Jul 06, 2013 at 11:41:07PM +0200, Jan Niggemann wrote: Hi list, I'm not sure, but I think the recent patch to keep i915 systems from locking up / slowing down in case of irq

Re: [Intel-gfx] i915 irq storm mitigation in 3.10

2013-07-22 Thread Egbert Eich
Daniel Vetter writes: > On Sun, Jul 21, 2013 at 10:23 PM, Jan Niggemann wrote: > >> But every time this happens we only let through a few interrupts, so this > >> shouldn't affect you badly. Can you please check whether those slowdowns > >> line up with 2 minute intervalls? > > > > I observe

Re: [Intel-gfx] i915 irq storm mitigation in 3.10

2013-07-21 Thread Daniel Vetter
On Mon, Jul 22, 2013 at 8:14 AM, Jan Niggemann wrote: > Am 21.07.2013 22:43, schrieb Daniel Vetter: > >> Can you please boot with drm.debug=0xe added to your kernel cmdline, >> do a cold boot (so that we get a storm) and then once everything is >> quiet grab the full kernel log (you probably have

Re: [Intel-gfx] i915 irq storm mitigation in 3.10

2013-07-21 Thread Daniel Vetter
On Sun, Jul 21, 2013 at 10:23 PM, Jan Niggemann wrote: >> But every time this happens we only let through a few interrupts, so this >> shouldn't affect you badly. Can you please check whether those slowdowns >> line up with 2 minute intervalls? > > I observed these slowdowns for a couple of weeks

Re: [Intel-gfx] i915 irq storm mitigation in 3.10

2013-07-08 Thread Daniel Vetter
On Sat, Jul 06, 2013 at 11:41:07PM +0200, Jan Niggemann wrote: > Hi list, > > I'm not sure, but I think the recent patch to keep i915 systems from > locking up / slowing down in case of irq storms didn't fully help. > I compiled 3.10, but every now and then, my system has the same > symptoms as be

[Intel-gfx] i915 irq storm mitigation in 3.10

2013-07-06 Thread Jan Niggemann
Hi list, I'm not sure, but I think the recent patch to keep i915 systems from locking up / slowing down in case of irq storms didn't fully help. I compiled 3.10, but every now and then, my system has the same symptoms as before. grep storm /var/log/messages Jul 5 21:55:43 muretop kernel: [