Skip to content

mach/vmalloc.h removal, and ioremap optimization

Jamie Iles linux-arm-kernel linux-tegra 1 version New

Get series with b4
b4 am 20111118100400.GB8023@totoro

Versions newest first

  1. v1 Latest0 of 23 patches 0 repliesNew

Patches in v1 No applies recorded yet

None of the 23 patches the cover letter announces are in this archive.

Reviews trailers per patch

PatchJamie Iles
SeriesT-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/23] mach/vmalloc.h removal, and ioremap optimization
Quoted 17 lines · Nicolas Pitre

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.

Quoted 3 lines

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!