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

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

2024-08-15 Thread Dave Airlie
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 NOPTI CPU: 7 PID: 930 Comm: (udev-worker) Not tainted 6.9.0-rc3Lyude-Test+ #3

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

2024-05-13 Thread kernel test robot
rg/drm/drm-misc drm-misc-next patch link: https://lore.kernel.org/r/20240513064350.1050994-1-airlied%40gmail.com patch subject: [PATCH] nouveau/firmware: using dma non-coherent interfaces for fw loading. config: arm-defconfig (https://download.01.org/0day-ci/archive/20240513/20240513220

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

2024-05-13 Thread kernel test robot
ase: git://anongit.freedesktop.org/drm/drm-misc drm-misc-next patch link: https://lore.kernel.org/r/20240513064350.1050994-1-airlied%40gmail.com patch subject: [PATCH] nouveau/firmware: using dma non-coherent interfaces for fw loading. config: parisc-defconfig (https://download.01.org/0day-ci/archiv

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

2024-05-12 Thread Dave Airlie
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 NOPTI CPU: 7 PID: 930 Comm: (udev-worker) Not tainted 6.9.0-rc3Lyude-Test+ #3