We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 232ca1e commit 5a528ebCopy full SHA for 5a528eb
arch/powerpc/kernel/entry_32.S
@@ -1354,12 +1354,17 @@ _GLOBAL(enter_rtas)
1354
mtspr SPRN_SRR0,r8
1355
mtspr SPRN_SRR1,r9
1356
RFI
1357
-1: tophys(r9,r1)
+1: tophys_novmstack r9, r1
1358
+#ifdef CONFIG_VMAP_STACK
1359
+ li r0, MSR_KERNEL & ~MSR_IR /* can take DTLB miss */
1360
+ mtmsr r0
1361
+ isync
1362
+#endif
1363
lwz r8,INT_FRAME_SIZE+4(r9) /* get return address */
1364
lwz r9,8(r9) /* original msr value */
1365
addi r1,r1,INT_FRAME_SIZE
1366
li r0,0
- tophys(r7, r2)
1367
+ tophys_novmstack r7, r2
1368
stw r0, THREAD + RTAS_SP(r7)
1369
1370
0 commit comments