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]
Message-ID: <20111121173620.GA5028@suse.de>
Date:	Mon, 21 Nov 2011 09:36:20 -0800
From:	Greg KH <gregkh@...e.de>
To:	Jean-Francois Dagenais <jeff.dagenais@...il.com>
Cc:	hjk@...sjkoch.de, tglx@...utronix.de, linux-pci@...r.kernel.org,
	open list <linux-kernel@...r.kernel.org>
Subject: Re: extra large DMA buffer for PCI-E device under UIO

On Mon, Nov 21, 2011 at 10:31:07AM -0500, Jean-Francois Dagenais wrote:
> Hi Greg, thanks for your answer...
> 
> On Nov 18, 2011, at 17:08, Greg KH wrote:
> 
> > On Fri, Nov 18, 2011 at 04:16:23PM -0500, Jean-Francois Dagenais wrote:
> >> Hello fellow hackers.
> >> 
> >> I am maintaining a UIO based driver for a PCI-E data acquisition device.
> >> 
> >> I map BAR0 of the device to userspace. I also map two memory areas,
> >> one is used to feed instructions to the acquisition device, the other
> >> is used autonomously by the PCI device to write the acquired data.
> > 
> > Nice, have a pointer to your driver anywhere so we can include it in the
> > main kernel tree to make your life easier?
> As I said in a parallel answer from "Hans J. Koch" <hjk@...sjkoch.de>,
> the driver, although GPL'ed, is quite uninteresting except for us here at
> Sonatest.

I really doubt that, and you should submit it anyway to allow us to
change it when the in-kernel apis change in the future.  It will save
you time in the long run and make things easier for you (look, your
driver is automatically included in all distros!, people fix your bugs,
etc.)

> About merging the driver to mainline, I guess it would only be interesting for
> the recipe I demonstrate. Please advise.

That is a recipe that I'm sure others will use, and need help on in the
future.

So please submit a patch, that will make it easier to help you out.

thanks,

greg k-h
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ