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
| ||
|
Date: Fri, 9 Dec 2016 20:02:00 +0000 From: Russell King - ARM Linux <linux@...linux.org.uk> To: Benjamin Gaignard <benjamin.gaignard@...aro.org> Cc: linux-arm-kernel@...ts.infradead.org, linux-kernel@...r.kernel.org, Robin.Murphy@....com, Catalin Marinas <catalin.marinas@....com>, arnd@...db.de Subject: Re: [PATCH] nommu: allow mmap when !CONFIG_MMU On Thu, Dec 01, 2016 at 02:48:00PM +0100, Benjamin Gaignard wrote: > commit ab6494f0c96f ("nommu: Add noMMU support to the DMA API") have > add CONFIG_MMU compilation flag but that prohibit to use dma_mmap_wc() > when the platform doesn't have MMU. > > This patch call vm_iomap_memory() in noMMU case to test if addresses > are correct and set wma->vm_flags rather than all return an error. ITYM vma. I think this is fine, but I've no way to know as I don't run nommu here... I've been hoping that others working on nommu would at least give an ack or something, but I guess not. So, please put it in the patch system, thanks. -- RMK's Patch system: http://www.armlinux.org.uk/developer/patches/ FTTC broadband for 0.8mile line: currently at 9.6Mbps down 400kbps up according to speedtest.net.
Powered by blists - more mailing lists