Re: [PATCH] nouveau/firmware: using dma non-coherent interfaces for fw loading. (v2)

2024-08-15 Thread Dave Airlie
On Fri, 16 Aug 2024 at 10:53, Danilo Krummrich wrote: > > On Fri, Aug 16, 2024 at 06:19:23AM +1000, Dave Airlie wrote: > > From: Dave Airlie > > > > Currently, enabling SG_DEBUG in the kernel will cause nouveau to hit a > > BUG() on startup, when the iommu is enabled: > > > > kernel BUG at includ

Re: [PATCH] nouveau/firmware: using dma non-coherent interfaces for fw loading. (v2)

2024-08-15 Thread Danilo Krummrich
On Fri, Aug 16, 2024 at 06:19:23AM +1000, Dave Airlie wrote: > From: Dave Airlie > > Currently, enabling SG_DEBUG in the kernel will cause nouveau to hit a > BUG() on startup, when the iommu is enabled: > > kernel BUG at include/linux/scatterlist.h:187! > invalid opcode: [#1] PREEMPT SMP NO

Re: [PATCH] nouveau/firmware: using dma non-coherent interfaces for fw loading. (v2)

2024-08-15 Thread Dave Airlie
On Fri, 16 Aug 2024 at 06:45, Timur Tabi wrote: > > On Fri, 2024-08-16 at 06:19 +1000, Dave Airlie wrote: > > Fix this by using the non-coherent allocator instead, I think there > > might be a better answer to this, but it involve ripping up some of > > APIs using sg lists. > > Thanks for fixing t

Re: [PATCH] nouveau/firmware: using dma non-coherent interfaces for fw loading. (v2)

2024-08-15 Thread Timur Tabi
On Fri, 2024-08-16 at 06:19 +1000, Dave Airlie wrote: > Fix this by using the non-coherent allocator instead, I think there > might be a better answer to this, but it involve ripping up some of > APIs using sg lists. Thanks for fixing this, but what is the relationshio between non-coherent DMA and

Re: [PATCH] nouveau/firmware: using dma non-coherent interfaces for fw loading.

2024-05-13 Thread kernel test robot
Hi Dave, kernel test robot noticed the following build errors: [auto build test ERROR on drm-misc/drm-misc-next] [also build test ERROR on drm-tip/drm-tip linus/master v6.9 next-20240513] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest

Re: [PATCH] nouveau/firmware: using dma non-coherent interfaces for fw loading.

2024-05-13 Thread kernel test robot
Hi Dave, kernel test robot noticed the following build errors: [auto build test ERROR on drm-misc/drm-misc-next] [also build test ERROR on linus/master v6.9 next-20240513] [cannot apply to drm-tip/drm-tip] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting