[RFC PATCH v3] ARM: Introduce patching of phys_to_virt and vice versa

Nicolas Pitre nico at fluxnic.net
Sun Nov 7 23:38:02 EST 2010


On Sun, 7 Nov 2010, Russell King - ARM Linux wrote:

> On Sat, Nov 06, 2010 at 02:40:46AM +0800, Eric Miao wrote:
> > Changes since last version, fixup of the patching stub instructions is now
> > performed in assembly code before MMU is on, that means no flush cache is
> > necessary.
> 
> I assume that there's more to this, because this doesn't include code to
> call __fixup_phys_virt.  As it corrupts r1/r2, I'm not sure where you
> intend to call this from, as they must be preserved around the time that
> __fixup_smp is called.

I intend to have a look and provide the necessary fixes soon.


Nicolas



More information about the linux-arm-kernel mailing list