summaryrefslogtreecommitdiffstats
path: root/asm/head.S
diff options
context:
space:
mode:
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>2016-07-24 09:27:11 +1000
committerStewart Smith <stewart@linux.vnet.ibm.com>2016-08-22 15:26:51 +1000
commitad0eb2ca2ca7cab621f990a694746198cbc94ed1 (patch)
tree6e54f3b96625ebdd95fe8e6188c6fbbd51082490 /asm/head.S
parent3476b2ad3a5a53c92ec5e358dd9c28f5ef09c96d (diff)
downloadblackbird-skiboot-ad0eb2ca2ca7cab621f990a694746198cbc94ed1.tar.gz
blackbird-skiboot-ad0eb2ca2ca7cab621f990a694746198cbc94ed1.zip
Rename rvwinkle patch to reset patch and install at boot
The patch code itself is unchanged (for now...). Install it during boot so we will be able to use power management instructions. We can't just have a proper exception code built at 0x100 as this is otherwise one of our entry points. Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org> Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Diffstat (limited to 'asm/head.S')
-rw-r--r--asm/head.S10
1 files changed, 5 insertions, 5 deletions
diff --git a/asm/head.S b/asm/head.S
index bde6ed2d..05715e9f 100644
--- a/asm/head.S
+++ b/asm/head.S
@@ -605,10 +605,10 @@ enter_pm_state:
b .
/* This is a little piece of code that is copied down to
- * 0x100 when doing a "rvwinkle reinit"
+ * 0x100 for handling power management wakeups
*/
-.global rvwinkle_patch_start
-rvwinkle_patch_start:
+.global reset_patch_start
+reset_patch_start:
FIXUP_ENDIAN
smt_medium
LOAD_IMM64(%r30, SKIBOOT_BASE)
@@ -616,8 +616,8 @@ rvwinkle_patch_start:
add %r3,%r30,%r3
mtctr %r3
bctr
-.global rvwinkle_patch_end
-rvwinkle_patch_end:
+.global reset_patch_end
+reset_patch_end:
rvwinkle_restore:
/* Get PIR */
OpenPOWER on IntegriCloud