nouveau: System crashes with NVIDIA GeForce 8600 GT

2019-08-17 Thread Alex Dewar
Hi all, I'm getting frequent system crashes (every few hours or so) and it seems that the nouveau driver is causing the issue (dmesg output below). I see it with both v5.2.8 and the v4.19 LTS kernel. Sometimes the system completely freezes and sometimes seemingly just the nouveau driver goes

Re: [Nouveau] [PATCH 01/10] mm: turn migrate_vma upside down

2019-08-17 Thread Jason Gunthorpe
On Sat, Aug 17, 2019 at 01:31:28PM +0200, Christoph Hellwig wrote: > On Fri, Aug 16, 2019 at 05:11:07PM +, Jason Gunthorpe wrote: > > - if (args->cpages) > > - migrate_vma_prepare(args); > > - if (args->cpages) > > - migrate_vma_unmap(args); > > + if (!args->cpages) >

Re: [PATCH 01/10] mm: turn migrate_vma upside down

2019-08-17 Thread Christoph Hellwig
On Fri, Aug 16, 2019 at 05:11:07PM +, Jason Gunthorpe wrote: > - if (args->cpages) > - migrate_vma_prepare(args); > - if (args->cpages) > - migrate_vma_unmap(args); > + if (!args->cpages) > + return 0; > + > + migrate_vma_prepare(args); > +

Re: [Nouveau] [PATCH] nouveau/hmm: map pages after migration

2019-08-17 Thread Christoph Hellwig
On Sat, Aug 17, 2019 at 11:05:36AM +1000, Ben Skeggs wrote: > > >> constants with similar names and identical values, and those are used > > >> in mmu/vmmgp100.c and what appears to finally do the low-level dma > > >> mapping and talking to the hardware. Are these two sets of constants > > >>