[PATCH] ppc32/8xx: Fix r3 trashing due to 8MB TLB page instantiation

Jochen Friedrich jochen at scram.de
Tue Aug 28 21:20:48 EST 2007

Instantiation of 8MB pages on the TLB cache for the kernel static
mapping trashes r3 register on !CONFIG_8xx_CPU6 configurations.
This ensures r3 gets saved and restored.

This has been posted to linuxppc-embedded by Marcelo Tosatti
<marcelo at kvack.org>, but only an incomplete version of the patch
has been applied in c51e078f82096a7d35ac8ec2416272e843a0e1c4.
This patch adds the rest of the fix.

Signed-off-by: Jochen Friedrich <jochen at scram.de>
 arch/ppc/kernel/head_8xx.S |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)

This can be pulled from git://git.bocc.de/dbox2.git ppc-fixes
-------------- next part --------------
A non-text attachment was scrubbed...
Name: d14ebb1e9d133983252a14f2ef037f76969ab3c6.diff
Type: text/x-patch
Size: 362 bytes
Desc: not available
Url : http://ozlabs.org/pipermail/linuxppc-embedded/attachments/20070828/35edc8d4/attachment.bin 

More information about the Linuxppc-embedded mailing list