Thread (69 messages) flat view 69 messages, 5 authors, 2012-09-25
STALE5065d

[PATCH v3 RESEND 05/17] ARM: LPAE: support 64-bit virt_to_phys patching

From: Russell King - ARM Linux <hidden>
Date: 2012-09-24 23:08:36

On Mon, Sep 24, 2012 at 06:53:10PM -0400, Cyril Chemparathy wrote:
The existing fixup code runs too early - before we get a chance to  
switch over from the boot-time sub-4G alias to the real physical address  
space.  Readability aside, part of the reasoning behind the C  
re-implementation was to defer the patch application until a later point  
in the boot process.

That said, we could patch once at boot, and then re-patch at switch  
over, I guess.  Is that what you're recommending?
That would solve the problem, and probably in the least disruptive
manner too, since the existing solution will continue to work, and
we'd only need to fixup the movw instructions if we're building in
support for the rare 'high-lowmem' situation.

We don't even need any different module marking - the 'high-lowmem'
modules don't need their movw instructions fixed.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help