Re: [RFC PATCH] sparc32: make srmmu helpers leon compatible

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Sam Ravnborg <sam@xxxxxxxxxxxx>
Date: Sun, 20 May 2012 23:34:52 +0200

> On Sun, May 20, 2012 at 05:24:01PM -0400, David Miller wrote:
>> Second, have you audited to make sure that none of this
>> code runs before the patchup code does?
> Yes - but a lot of other places that require patching will run
> long time before (wof.S, wuf.S etc). At least I assume so.

The wof.S and wuf.S cases would only execute after we've started
userland, as that code is used to validate the user stack in the
register window store area.

Therefore it won't run unless PSR_PS is clear in %psr or there
are user register windows in the cpu.

Neither of which will be true during early boot.

You should therefore be fine except for the bits in head_32.S
which you'll need to use tests and branches for anyways.
--
To unsubscribe from this list: send the line "unsubscribe sparclinux" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Kernel Development]     [DCCP]     [Linux ARM Development]     [Linux]     [Photo]     [Yosemite Help]     [Linux ARM Kernel]     [Linux SCSI]     [Linux x86_64]     [Linux Hams]

  Powered by Linux