]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
powerpc: add Book E support to 64-bit hibernation
authorWang Dongsheng <dongsheng.wang@freescale.com>
Thu, 8 Aug 2013 02:06:45 +0000 (10:06 +0800)
committerScott Wood <scottwood@freescale.com>
Sat, 24 Aug 2013 00:39:26 +0000 (19:39 -0500)
commit5a31057fc06c3ffa2df7f44c4e4884f3330707ff
tree63e0dc1d7d92f75ab6587603cb4a68d6a5cae89f
parent75898156bcf0f524a00e5140bc644f2dda5a099a
powerpc: add Book E support to 64-bit hibernation

Update the 64-bit hibernation code to support Book E CPUs.
Some registers and instructions are not defined for Book3e
(SDR reg, tlbia instruction).

SDR: Storage Description Register. Book3S and Book3E have different
address translation mode, we do not need HTABORG & HTABSIZE to
translate virtual address to real address.

More registers are saved in BookE-64bit.(TCR, SPRG1)

Signed-off-by: Wang Dongsheng <dongsheng.wang@freescale.com>
Signed-off-by: Scott Wood <scottwood@freescale.com>
arch/powerpc/kernel/swsusp_asm64.S