diff options
author | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2016-07-24 09:27:11 +1000 |
---|---|---|
committer | Stewart Smith <stewart@linux.vnet.ibm.com> | 2016-08-22 15:26:51 +1000 |
commit | ad0eb2ca2ca7cab621f990a694746198cbc94ed1 (patch) | |
tree | 6e54f3b96625ebdd95fe8e6188c6fbbd51082490 /asm | |
parent | 3476b2ad3a5a53c92ec5e358dd9c28f5ef09c96d (diff) | |
download | skiboot-ad0eb2ca2ca7cab621f990a694746198cbc94ed1.zip skiboot-ad0eb2ca2ca7cab621f990a694746198cbc94ed1.tar.gz skiboot-ad0eb2ca2ca7cab621f990a694746198cbc94ed1.tar.bz2 |
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')
-rw-r--r-- | asm/head.S | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -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 */ |