On 21 November 2019 at 07:02 pm, Christoph Hellwig wrote: > On Thu, Nov 21, 2019 at 05:34:48PM +0100, Christian Zigotzky wrote: >> I modified the patch and compiled a new RC8 of kernel 5.4 today. (patch >> attached) >> >> We have to wait to Rolands test results with his SCSI PCI card. I tested it >> today but my TV card doesn't work with this patch. > I think we have two sorta overlapping issues here. One is that I think > we need the bus_dma_limit, which should mostly help for something like > a SCSI controller that doesn't need streaming mappings (btw, do we > have more details on that somewhere?). > > And something weird with the videobuf things. Your change of the dma > masks suggests that the driver doesn't do the right allocations and thus > hits bounce buffering (swiotlb). We should fix that for real, but the > fact that the bounce buffering itself also fails is even more interesting. > > Can you try this git branch: > > git://git.infradead.org/users/hch/misc.git fsl-dma-debugging > > Gitweb: > > http://git.infradead.org/users/hch/misc.git/shortlog/refs/heads/fsl-dma-debugging > > and send me the dmesg with that with your TV adapter? > Hello Christoph, Please find attached the dmesg of your Git kernel. Thanks, Christian