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-next>] [day] [month] [year] [list]
Message-ID: <AANLkTimWdaBrJz-dQ3MHWwG7iZ5m1opSmLFKva880csi@mail.gmail.com>
Date:	Sat, 7 Aug 2010 20:38:30 +0200
From:	Leon Woestenberg <leon.woestenberg@...il.com>
To:	Tom Lyon <pugs@...co.com>, mst@...hat.com, hjk@...utronix.de,
	gregkh@...e.de, chrisw@...s-sol.org, joro@...tes.org,
	avi@...hat.com, linux-kernel@...r.kernel.org
Subject: UIO DMA to userspace question

Hello all,

can I use the UIO framework for the following?

The userspace portion of the driver allocates memory in user-space
using malloc() - usually resulting in a scatter pages in physical
memory.
The UIO kernel portion of the driver maps those using pci_map_sg().

Is this possible, or does the UIO framework assume memory for DMA is
allocated in kernel space?


Thanks,
-- 
Leon
--
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