[PATCH 1/4] ARM: runtime patching of __virt_to_phys() and __phys_to_virt()

David Brown davidb at codeaurora.org
Tue Jan 4 13:25:43 EST 2011


On Tue, Jan 04 2011, Russell King - ARM Linux wrote:

> On Tue, Jan 04, 2011 at 12:50:28PM -0500, Nicolas Pitre wrote:

> You're making a mountain out of a mole hill.  At present, there is one
> platform which defines its own complex v:p mapping and that is Realview,
> but only when sparsemem is enabled.  As already mentioned, MSM is the
> only other platform which can't use this method.  So that's a simple
> dependency line against the config.

This is unfortunate, however, for us, since it would keep us having all
of our targets having to be built exclusively.

Any idea how much it would hurt other targets to have the
__virt_to_phys() and __phys_to_virt() have a 16-bit fixup, even if only
the upper 8 bits are used?

David



More information about the linux-arm-kernel mailing list