[PATCH 0/23] mach/vmalloc.h removal, and ioremap optimization
Jamie Iles
jamie at jamieiles.com
Fri Nov 18 05:04:00 EST 2011
On Wed, Nov 16, 2011 at 12:48:18AM -0500, Nicolas Pitre wrote:
> This patch series removes all instances of mach/vmalloc.h in order to
> have a more unified memory map across all ARM architectures. To do so,
> the static mappings are moved inside the vmalloc area. And finally this
> allows for a generic optimization to ioremap where static mappings are
> reused whenever possible, using common code instead of having this
> duplicated in a couple places.
>
> This series provides a net reduction of more than 1200 lines of code.
>
> One regression was discovered on shmobile during testing because that
> platform asks for 158MB of consistent DMA memory while the documented
> maximum is 14MB. Inspection of the code doesn't tell why this is
> required, and listed maintainers did not respond yet, two months
> after repeated inquiries. So a temporary exception to the definition
> of VMALLOC_END was added for CONFIG_SHMOBILE and a noisy warning to
> get those maintainers' attention.
>
> This patch series was initially submitted for inclusion for v3.1, and
> withdrawn due to too many problems found on OMAP. Those problems are
> now fixed in current mainline. This is therefore rebased on v3.2-rc2.
Works great on picoxcell. Thanks Nicolas!
Tested-by: Jamie Iles <jamie at jamieiles.com>
More information about the linux-arm-kernel
mailing list