]> git.baikalelectronics.ru Git - kernel.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)
commitfcb4496cda5f1254a540d5287004c2f112429add
tree63e0dc1d7d92f75ab6587603cb4a68d6a5cae89f
parent4bb40f95cd7e0c0b6480952943944b01d2eeb4ee
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