Lines Matching refs:r6
80 li r6,MSR_IR | MSR_DR
81 andc r6,r10,r6
84 mtsrr1 r6
96 li r6,7
98 mtspr SPRN_DABRX,r6
138 mfmsr r6
140 andc r6, r6, r0
141 mtmsrd r6, 1 /* Clear RI in MSR */
171 addi r6, r5, VCORE_NAPPING_THREADS
172 1: lwarx r3, 0, r6
174 stwcx. r3, 0, r6
220 addi r6, r5, VCORE_NAPPING_THREADS
221 4: lwarx r7, 0, r6
223 stwcx. r7, 0, r6
334 ld r6, PACA_DSCR_DEFAULT(r13)
335 std r6, HSTATE_DSCR(r13)
341 lis r6,0x7fff /* MAX_INT@h */
342 mtspr SPRN_HDEC, r6
344 ld r6, HSTATE_SPLIT_MODE(r13)
345 cmpdi r6, 0
347 ld r0, KVM_SPLIT_RPR(r6)
349 ld r0, KVM_SPLIT_PMMAR(r6)
351 ld r0, KVM_SPLIT_LDBAR(r6)
473 lis r6, (PPC_DBELL_SERVER << (63-36))@h
524 li r6, KVM_GUEST_MODE_HOST_HV
525 stb r6, HSTATE_IN_GUEST(r13)
546 lbz r6, HSTATE_PTID(r13)
547 sld r7, r7, r6
557 cmpwi r6,0
561 ld r6,KVM_SDR1(r9)
565 mtspr SPRN_SDR1,r6 /* switch to partition page table */
582 mftb r6 /* current host timebase */
583 add r8,r8,r6
586 clrldi r6,r6,40
588 cmpld r7,r6
595 LOAD_REG_IMMEDIATE(r6, PCR_MASK)
596 cmpld r7, r6
598 or r7, r7, r6
626 li r6, LPPACA_YIELDCOUNT
627 LWZX_BE r5, r3, r6
629 STWX_BE r5, r3, r6
630 li r6, 1
631 stb r6, VCPU_VPA_DIRTY(r4)
636 mfspr r6,SPRN_SPURR
638 std r6,HSTATE_SPURR(r13)
647 mfspr r6, SPRN_DAWR0
651 std r6, STACK_SLOT_DAWR0(r1)
660 mfspr r6, SPRN_UAMOR
661 std r6, STACK_SLOT_UAMOR(r1)
667 ld r6,VCPU_DABR(r4)
669 mtspr SPRN_DABR,r6
726 lwz r6, VCPU_PSPB(r4)
729 mtspr SPRN_PSPB, r6
740 ld r6, VCPU_DAWRX0(r4)
742 mtspr SPRN_DAWRX0, r6
753 ld r6, VCPU_BESCR(r4)
757 mtspr SPRN_BESCR, r6
762 ld r6, VCPU_ACOP(r4)
766 mtspr SPRN_ACOP, r6
773 ld r6, VCPU_SPRG1(r4)
777 mtspr SPRN_SPRG1, r6
783 lwz r6, VCPU_DSISR(r4)
785 mtspr SPRN_DSISR, r6
789 ld r6,VCPU_UAMOR(r4)
791 mtspr SPRN_UAMOR,r6
797 li r6,0
798 mtspr SPRN_CTRLT,r6
802 lbz r6, HSTATE_PTID(r13)
803 cmpwi r6, 0
837 li r6, 0
838 slbmte r6, r6
847 addi r6,r4,VCPU_SLB
848 1: ld r8,VCPU_SLB_E(r6)
849 ld r9,VCPU_SLB_V(r6)
851 addi r6,r6,VCPU_SLB_SIZE
864 ld r6, VCPU_SRR0(r4)
866 mtspr SPRN_SRR0, r6
876 ld r6, VCPU_CTR(r4)
878 mtctr r6
930 ld r6, VCPU_GPR(R6)(r4)
1006 std r6, VCPU_GPR(R6)(r9)
1066 ld r6, VCPU_GPR(R6)(r9)
1157 li r6,0
1159 1: slbmfee r8,r6
1162 add r8,r8,r6 /* put index in */
1163 slbmfev r3,r6
1168 2: addi r6,r6,1
1184 LDX_BE r6, r8, r3
1187 slbmte r6,r5
1198 mftb r6
1200 16: add r5,r5,r6
1215 mfspr r6,SPRN_CTRLF
1216 stw r6,VCPU_CTRL(r9)
1217 andi. r0,r6,1
1219 li r6,1
1220 mtspr SPRN_CTRLT,r6
1226 mfspr r6,SPRN_SPURR
1230 std r6,VCPU_SPURR(r9)
1232 subf r6,r8,r6
1241 add r4,r4,r6
1250 mfspr r6, SPRN_PSPB
1253 stw r6, VCPU_PSPB(r9)
1262 mfspr r6, SPRN_BESCR
1266 std r6, VCPU_BESCR(r9)
1270 mfspr r6, SPRN_ACOP
1274 std r6, VCPU_ACOP(r9)
1300 mfspr r6,SPRN_UAMOR
1302 std r6,VCPU_UAMOR(r9)
1304 ld r6,STACK_SLOT_UAMOR(r1)
1306 mtspr SPRN_UAMOR, r6
1338 mfspr r6, SPRN_SPRG3
1342 std r6, VCPU_SPRG3(r9)
1387 ld r6, STACK_SLOT_DAWR0(r1)
1394 mtspr SPRN_DAWR0, r6
1427 lbz r6, VCORE_IN_GUEST(r5)
1428 cmpwi r6, 0
1433 ld r6,KVM_HOST_SDR1(r4)
1437 mtspr SPRN_SDR1,r6 /* switch to host page table */
1458 mftb r6 /* current guest timebase */
1459 subf r8,r8,r6
1462 clrldi r6,r6,40
1464 cmpld r7,r6
1485 LOAD_REG_IMMEDIATE(r6, PCR_MASK)
1486 cmpld r0, r6
1488 mtspr SPRN_PCR, r6
1613 mfspr r6, SPRN_HDSISR
1615 andis. r0, r6, (DSISR_NOHPTE | DSISR_PROTFAULT)@h
1624 stw r6, VCPU_FAULT_DSISR(r9)
1643 mr r6, r3
1645 mtspr SPRN_DSISR, r6
1703 mr r6, r11
1724 3: ld r6, VCPU_KVM(r9) /* not relocated, use VRMA */
1725 ld r5, KVM_VRMA_SLB_V(r6)
2049 mfmsr r6
2050 andi. r6, r6, MSR_DR /* in real mode? */
2077 lbz r6,HSTATE_PTID(r13)
2081 sld r0,r0,r6
2082 addi r6,r5,VCORE_NAPPING_THREADS
2083 31: lwarx r4,0,r6
2087 stwcx. r4,0,r6
2296 addi r6,r5,VCORE_NAPPING_THREADS
2297 32: lwarx r7,0,r6
2299 stwcx. r7,0,r6
2366 mfspr r6, SPRN_SRR1
2368 rlwinm r6, r6, 45-31, 0xf /* extract wake reason field (P8) */
2370 rlwinm r6, r6, 45-31, 0xe /* P7 wake reason field is 3 bits */
2372 cmpwi r6, 8 /* was it an external interrupt? */
2376 cmpwi r6, 6 /* was it the decrementer? */
2379 cmpwi r6, 5 /* privileged doorbell? */
2381 cmpwi r6, 3 /* hypervisor doorbell? */
2384 cmpwi r6, 0xa /* Hypervisor maintenance ? */
2396 lis r6, (PPC_DBELL_SERVER << (63-36))@h
2466 mfspr r6,SPRN_VRSAVE
2467 stw r6,VCPU_VRSAVE(r31)
2606 mfspr r6, SPRN_TFIAR
2608 std r6, VCPU_TFIAR(r9)
2650 ld r6, VCPU_TFIAR(r3)
2653 mtspr SPRN_TFIAR, r6
2711 mfspr r6, SPRN_HDSISR
2716 mfspr r6, SPRN_DSISR
2720 std r6, _DSISR(r1)
2732 lbz r6, PACAIRQSOFTMASK(r13)
2736 std r6, SOFTE(r1)
2787 lwz r6, VCPU_PMC + 8(r4)
2793 mtspr SPRN_PMC3, r6
2799 ld r6, VCPU_MMCRA(r4)
2803 mtspr SPRN_MMCRA, r6
2808 ld r6, VCPU_SIER(r4)
2810 mtspr SPRN_SIER, r6
2843 lwz r6, HSTATE_PMC4(r13)
2849 mtspr SPRN_PMC4, r6
2855 ld r6, HSTATE_SIAR(r13)
2859 mtspr SPRN_SIAR, r6
2910 mfspr r6, SPRN_MMCRA
2924 std r6, VCPU_MMCRA(r9)
2933 mfspr r6, SPRN_PMC4
2939 stw r6, VCPU_PMC + 12(r9)
2945 mfspr r6, SPRN_SPMC1
2948 stw r6, VCPU_PMC + 24(r9)
2982 ld r6, VCORE_TB_OFFSET_APPL(r5)
2984 subf r5, r6, r5 /* subtract current timebase offset */
2997 ld r6, VCPU_ACTIVITY_START(r4)
3004 subf r3, r6, r7
3013 ld r6, TAS_MIN(r5)
3016 cmpd r3, r6