ARM: 8304/1: Respect NO_KERNEL_MAPPING when we don't have an IOMMU
ARM: 8304/1: Respect NO_KERNEL_MAPPING when we don't have an IOMMU

Even without an iommu, NO_KERNEL_MAPPING is still convenient to save on
kernel address space in places where we don't need a kernel mapping.
Implement support for it in the two places where we're creating an
expensive mapping.

__alloc_from_pool uses an internal pool from which we already have
virtual addresses, so it's not relevant, and __alloc_simple_buffer uses
alloc_pages, which will always return a lowmem page, which is already
mapped into kernel space, so we can't prevent a mapping for it in that
case.

Signed-off-by: Jasper St. Pierre <5d8f4442e5d567aed616eebcfe54d707f2ec5349@mecheye.net>
Signed-off-by: Carlo Caione <69088b01848c9e171296e8a6c10279802a3a8a84@caione.org>
Reviewed-by: Rob Clark <915c10c999604870200b6defbe633d857c856ca0@gmail.com>
Reviewed-by: Daniel Drake <83b0c3d63e8a11eb6e40077030b59e95bfe31ffa@endlessm.com>
Acked-by: Marek Szyprowski <2a0259761cc3e88db42be5300c1579a67c77e65e@samsung.com>
Signed-off-by: Russell King <f6aa0246ff943bfa8602cdf60d40c481b38ed232@arm.linux.org.uk>

KristFoundation/Programs,KristFoundation/Programs,KristFoundation/Programs,KristFoundation/Programs,KristFoundation/Programs,KristFoundation/Programs