|
@@ -141,6 +141,14 @@ _GLOBAL(swsusp_arch_resume)
|
|
lis r11,swsusp_save_area@h
|
|
lis r11,swsusp_save_area@h
|
|
ori r11,r11,swsusp_save_area@l
|
|
ori r11,r11,swsusp_save_area@l
|
|
|
|
|
|
|
|
+ /*
|
|
|
|
+ * Mappings from virtual addresses to physical addresses may be
|
|
|
|
+ * different than they were prior to restoring hibernation state.
|
|
|
|
+ * Invalidate the TLB so that the boot CPU is using the new
|
|
|
|
+ * mappings.
|
|
|
|
+ */
|
|
|
|
+ bl _tlbil_all
|
|
|
|
+
|
|
lwz r4,SL_SPRG0(r11)
|
|
lwz r4,SL_SPRG0(r11)
|
|
mtsprg 0,r4
|
|
mtsprg 0,r4
|
|
lwz r4,SL_SPRG1(r11)
|
|
lwz r4,SL_SPRG1(r11)
|