Re: 3.14-rc7 crashes in drm ([PATCH] a crash in mga_driver_irq_uninstall)

2014-03-26 Thread Daniel Vetter
On Tue, Mar 25, 2014 at 06:42:13PM -0400, Mikulas Patocka wrote: > > > On Mon, 24 Mar 2014, Daniel Vetter wrote: > > > >> Like I've said the entire teardown sequence for legacy drm drivers is > > >> terminally busted, so the only hope we have is to reapply this missing > > >> duct-tape which mad

Re: 3.14-rc7 crashes in drm ([PATCH] a crash in mga_driver_irq_uninstall)

2014-03-25 Thread Mikulas Patocka
On Mon, 24 Mar 2014, Daniel Vetter wrote: > >> Like I've said the entire teardown sequence for legacy drm drivers is > >> terminally busted, so the only hope we have is to reapply this missing > >> duct-tape which made your X crash. But if that itself isn't a regression > >> there's no way to fi

Re: 3.14-rc7 crashes in drm ([PATCH] a crash in mga_driver_irq_uninstall)

2014-03-25 Thread Daniel Vetter
On Tue, Mar 25, 2014 at 12:11 AM, Andreas Mohr wrote: > On Mon, Mar 24, 2014 at 10:46:49PM +0100, Daniel Vetter wrote: >> On Mon, Mar 24, 2014 at 9:40 PM, Mikulas Patocka wrote: >> > If someone understands the locking issues I pointed out above, it could be >> > easy to fix. >> >> The locking iss

Re: 3.14-rc7 crashes in drm ([PATCH] a crash in mga_driver_irq_uninstall)

2014-03-24 Thread Andreas Mohr
Hi, On Mon, Mar 24, 2014 at 10:46:49PM +0100, Daniel Vetter wrote: > On Mon, Mar 24, 2014 at 9:40 PM, Mikulas Patocka wrote: > > If someone understands the locking issues I pointed out above, it could be > > easy to fix. > > The locking issue isn't your problem, the real issue is that putting a

Re: 3.14-rc7 crashes in drm ([PATCH] a crash in mga_driver_irq_uninstall)

2014-03-24 Thread Daniel Vetter
On Mon, Mar 24, 2014 at 9:40 PM, Mikulas Patocka wrote: >> > > -> All hell breaks loose if Xorg dies and takes all it's mappings with it >> > > (in master_destroy, since the Xorg /dev fd is the master) and leaves the >> > > driver hanging in the air if there's an interrupt still pending (or >> > >

Re: 3.14-rc7 crashes in drm ([PATCH] a crash in mga_driver_irq_uninstall)

2014-03-24 Thread Mikulas Patocka
On Mon, 24 Mar 2014, Daniel Vetter wrote: > On Mon, Mar 24, 2014 at 01:17:12PM -0400, Mikulas Patocka wrote: > > > > > Hmm, given that Mikulas in > > > > > https://lkml.org/lkml/2014/2/26/537 > > > > > offered a diff of linux-3.13.5 files, it truly seems (shock! ack! > > > > > noo!) > > > > >

Re: 3.14-rc7 crashes in drm ([PATCH] a crash in mga_driver_irq_uninstall)

2014-03-24 Thread Daniel Vetter
On Mon, Mar 24, 2014 at 01:17:12PM -0400, Mikulas Patocka wrote: > > > On Mon, 24 Mar 2014, Daniel Vetter wrote: > > > On Mon, Mar 24, 2014 at 07:45:47AM +1000, Dave Airlie wrote: > > > On Mon, Mar 24, 2014 at 7:27 AM, Andreas Mohr wrote: > > > > On Sun, Mar 23, 2014 at 09:39:16AM -0700, Linus

Re: 3.14-rc7 crashes in drm ([PATCH] a crash in mga_driver_irq_uninstall)

2014-03-24 Thread Mikulas Patocka
On Mon, 24 Mar 2014, Daniel Vetter wrote: > On Mon, Mar 24, 2014 at 07:45:47AM +1000, Dave Airlie wrote: > > On Mon, Mar 24, 2014 at 7:27 AM, Andreas Mohr wrote: > > > On Sun, Mar 23, 2014 at 09:39:16AM -0700, Linus Torvalds wrote: > > >> On Sun, Mar 23, 2014 at 5:15 AM, Andreas Mohr wrote: >

Re: 3.14-rc7 crashes in drm ([PATCH] a crash in mga_driver_irq_uninstall)

2014-03-24 Thread Daniel Vetter
On Mon, Mar 24, 2014 at 07:45:47AM +1000, Dave Airlie wrote: > On Mon, Mar 24, 2014 at 7:27 AM, Andreas Mohr wrote: > > On Sun, Mar 23, 2014 at 09:39:16AM -0700, Linus Torvalds wrote: > >> On Sun, Mar 23, 2014 at 5:15 AM, Andreas Mohr wrote: > >> > > >> > which did end up flawless on 3.12.0-rc2+,

Re: 3.14-rc7 crashes in drm ([PATCH] a crash in mga_driver_irq_uninstall)

2014-03-23 Thread Dave Airlie
On Mon, Mar 24, 2014 at 7:27 AM, Andreas Mohr wrote: > On Sun, Mar 23, 2014 at 09:39:16AM -0700, Linus Torvalds wrote: >> On Sun, Mar 23, 2014 at 5:15 AM, Andreas Mohr wrote: >> > >> > which did end up flawless on 3.12.0-rc2+, too >> > (but failed to improve the issue on 3.14.0-rc7+). >> > >> > S

Re: 3.14-rc7 crashes in drm ([PATCH] a crash in mga_driver_irq_uninstall)

2014-03-23 Thread Andreas Mohr
On Sun, Mar 23, 2014 at 09:39:16AM -0700, Linus Torvalds wrote: > On Sun, Mar 23, 2014 at 5:15 AM, Andreas Mohr wrote: > > > > which did end up flawless on 3.12.0-rc2+, too > > (but failed to improve the issue on 3.14.0-rc7+). > > > > So, for all intents and purposes, drm infrastructure seems unav

Re: 3.14-rc7 crashes in drm ([PATCH] a crash in mga_driver_irq_uninstall)

2014-03-23 Thread Linus Torvalds
On Sun, Mar 23, 2014 at 5:15 AM, Andreas Mohr wrote: > > which did end up flawless on 3.12.0-rc2+, too > (but failed to improve the issue on 3.14.0-rc7+). > > So, for all intents and purposes, drm infrastructure seems unavoidably > (neither dri disable nor libdrm upgrade helps) affected. > Does an

Re: 3.14-rc7 crashes in drm ([PATCH] a crash in mga_driver_irq_uninstall)

2014-03-23 Thread Andreas Mohr
Hi, On Sun, Mar 23, 2014 at 12:43:17AM +0100, Andreas Mohr wrote: > Hi, > > now testing 3.14-rc7 here (r128 hardware rather than MGA), > and I seem to still be experiencing the same or very similar crash as you > here: I decided to do some more experimentation: I added a Section "Module"

3.14-rc7 crashes in drm ([PATCH] a crash in mga_driver_irq_uninstall)

2014-03-22 Thread Andreas Mohr
Hi, now testing 3.14-rc7 here (r128 hardware rather than MGA), and I seem to still be experiencing the same or very similar crash as you here: agpgart-intel :00:00.0: AGP 2.0 bridge agpgart-intel :00:00.0: putting AGP V2 device into 4x mode pci :01:00.0: putting AGP V2 device into 4x