[PATCH v3 2/6] uio: Add new UIO_MEM_PHYS_CACHE type for mem regions
Russell King - ARM Linux
linux at arm.linux.org.uk
Fri Oct 31 02:35:57 PDT 2014
On Tue, Oct 21, 2014 at 08:38:23AM +0200, Kumar Gala wrote:
> Rather than adding a new type, why not allow the driver to set the
Please wrap your message.
That doesn't work. A pgprot_t contains more than just memory type
information. It also contains access permissions. In other words,
if the user requested read-only or a read-write mapping, the
permissions will be different.
If you always use your stored pgprot_t, then you will override the
users requested permissions.
FTTC broadband for 0.8mile line: currently at 9.5Mbps down 400kbps up
according to speedtest.net.
More information about the linux-arm-kernel