lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Sat, 28 Apr 2007 18:17:32 +0100
From:	Jon Burgess <jburgess777@...glemail.com>
To:	linux-dvb@...uxtv.org, v4l-dvb-maintainer@...uxtv.org
Cc:	Markus Rechberger <mrechberger@...il.com>,
	Gregoire Favre <Gregoire.Favre@...il.com>,
	linux-kernel@...r.kernel.org, Lee Revell <rlrevell@...-job.com>
Subject: [PATCH] Re: More than 2Gb problem (dvb related) ?

On Fri, 2007-04-27 at 18:06 -0400, Lee Revell wrote:
> On 4/27/07, Jon Burgess <jburgess777@...glemail.com> wrote:
> > Interesting - I see similar symptoms after upgrading my PC:
> > * old PC was AMD Athlon 64 3000 w/ 2GB of RAM which had no issues
> > * new PC is a Intel Core 2 Duo w/ 4GB of RAM and fails in the way you
> > describe.
> 
> Driver using an incorrect DMA mask?
> 
> Lee

It appears the problem is that the driver is using streamed PCI and
needs to explicitly sync the data otherwise it breaks when the SWIOTLB
is in use. A call to pci_unmap_sg() was missing too.

This patch is against the current v4l-dvb HG tree.

I've only tested the change with a budget-ci card.

	Jon

Signed-off-by: Jon Burgess <jburgess777@...glemail.com>

View attachment "dvb-dma-sync.patch" of type "text/x-patch" (2417 bytes)

Powered by blists - more mailing lists