summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/kernel/swsusp_booke.S
diff options
context:
space:
mode:
authorMichael Neuling <mikey@neuling.org>2012-11-02 17:21:28 +1100
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>2012-11-15 15:08:04 +1100
commit4700dfaf1e988b785bd9791064df92d3353e8b88 (patch)
treedc3b9cae491aae77bd9938777bfea12104b3f408 /arch/powerpc/kernel/swsusp_booke.S
parent742415d6b66bf09e3e73280178ef7ec85c90b7ee (diff)
powerpc: Add new macros needed for relocation on exceptions
POWER8/v2.07 allows exceptions to be taken with the MMU still on. A new set of exception vectors is added at 0xc000_0000_0000_4xxx. When the HW takes us here, MSR IR/DR will be set already and we no longer need a costly RFID to turn the MMU back on again. The original 0x0 based exception vectors remain for when the HW can't leave the MMU on. Examples of this are when we can't trust the current the MMU mappings, like when we are changing from guest to hypervisor (HV 0 -> 1) or when the MMU was off already. In these cases the HW will take us to the original 0x0 based exception vectors with the MMU off as before. The below macros are copies of the macros used at the 0x0 offset but modified to handle the MMU being on. In these macros we use the link register to jump to the secondary handlers rather than using RFID (RFID was also use to turn on the MMU). Signed-off-by: Matt Evans <matt@ozlabs.org> Signed-off-by: Michael Neuling <mikey@neuling.org> Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'arch/powerpc/kernel/swsusp_booke.S')
0 files changed, 0 insertions, 0 deletions