Searched full:sdr1 (Results 1 – 16 of 16) sorted by relevance
| /linux/arch/powerpc/kvm/ |
| H A D | book3s_32_mmu.c | 102 htabmask = ((vcpu_book3s->sdr1 & 0x1FF) << 16) | 0xFFC0; in kvmppc_mmu_book3s_32_get_pteg() 109 pteg = (vcpu_book3s->sdr1 & 0xffff0000) | hash; in kvmppc_mmu_book3s_32_get_pteg() 111 dprintk("MMU: pc=0x%lx eaddr=0x%lx sdr1=0x%llx pteg=0x%x vsid=0x%x\n", in kvmppc_mmu_book3s_32_get_pteg() 112 kvmppc_get_pc(vcpu), eaddr, vcpu_book3s->sdr1, pteg, in kvmppc_mmu_book3s_32_get_pteg() 278 dprintk_pte("KVM MMU: No PTE found (sdr1=0x%llx ptegp=0x%lx)\n", in kvmppc_mmu_book3s_32_xlate_pte() 279 to_book3s(vcpu)->sdr1, ptegp); in kvmppc_mmu_book3s_32_xlate_pte()
|
| H A D | book3s_64_mmu.c | 126 htabsize = ((1 << ((vcpu_book3s->sdr1 & 0x1f) + 11)) - 1); in kvmppc_mmu_book3s_64_get_pteg() 137 pteg = vcpu_book3s->sdr1 & 0xfffffffffffc0000ULL; in kvmppc_mmu_book3s_64_get_pteg() 140 dprintk("MMU: page=0x%x sdr1=0x%llx pteg=0x%llx vsid=0x%llx\n", in kvmppc_mmu_book3s_64_get_pteg() 141 page, vcpu_book3s->sdr1, pteg, slbe->vsid); in kvmppc_mmu_book3s_64_get_pteg() 143 /* When running a PAPR guest, SDR1 contains a HVA address instead in kvmppc_mmu_book3s_64_get_pteg()
|
| H A D | book3s_pr_papr.c | 29 pte_index &= ((1 << ((vcpu_book3s->sdr1 & 0x1f) + 11)) - 1) << 7 | 0x70; in get_pteg_addr() 30 pteg_addr = vcpu_book3s->sdr1 & 0xfffffffffffc0000ULL; in get_pteg_addr()
|
| H A D | book3s_pr.c | 1463 sregs->u.s.sdr1 = to_book3s(vcpu)->sdr1; in kvm_arch_vcpu_ioctl_get_sregs_pr() 1490 vcpu3s->sdr1 = sregs->u.s.sdr1; in kvm_arch_vcpu_ioctl_set_sregs_pr()
|
| H A D | book3s_emulate.c | 686 to_book3s(vcpu)->sdr1 = spr_val; in kvmppc_core_emulate_mtspr_pr() 886 *spr_val = to_book3s(vcpu)->sdr1; in kvmppc_core_emulate_mfspr_pr()
|
| H A D | book3s_64_mmu_hv.c | 122 kvm->arch.sdr1 = __pa(info->virt) | (info->order - 18); in kvmppc_set_hpt()
|
| /linux/arch/powerpc/kernel/ |
| H A D | swsusp_asm64.S | 112 SAVE_SPECIAL(SDR1) 230 RESTORE_SPECIAL(SDR1)
|
| H A D | swsusp_32.S | 68 /* Save MSR & SDR1 */ 277 /* Restore the BATs, and SDR1. Then we can turn on the MMU.
|
| /linux/arch/powerpc/platforms/powernv/ |
| H A D | subcore.c | 107 * Most notably the subcores do not have the correct value for SDR1, which 113 * switch to real mode, so they are immune to the uninitialised SDR1 value. 123 * their SPRs, notably SDR1, and then they can return to virtual mode and exit
|
| H A D | idle.c | 295 u64 sdr1; member 346 sprs.sdr1 = mfspr(SPRN_SDR1); in power7_idle_insn() 466 mtspr(SPRN_SDR1, sprs.sdr1); in power7_idle_insn()
|
| /linux/arch/powerpc/platforms/52xx/ |
| H A D | lite5200_sleep.S | 294 SAVE_SPRN(SDR1, 0x1f) 369 LOAD_SPRN(SDR1, 0x1f);
|
| /linux/arch/powerpc/platforms/powermac/ |
| H A D | sleep.S | 76 /* Save MSR & SDR1 */ 312 /* Restore the BATs, and SDR1. Then we can turn on the MMU. */
|
| /linux/arch/powerpc/include/uapi/asm/ |
| H A D | kvm.h | 166 __u64 sdr1; member
|
| /linux/tools/arch/powerpc/include/uapi/asm/ |
| H A D | kvm.h | 166 __u64 sdr1; member
|
| /linux/arch/powerpc/mm/book3s64/ |
| H A D | hash_utils.c | 1395 /* Set SDR1 */ in htab_initialize()
|
| /linux/Documentation/virt/kvm/ |
| H A D | api.rst | 7523 In addition to the above, it changes the semantics of SDR1. In this mode, the 7524 HTAB address part of SDR1 contains an HVA instead of a GPA, as PAPR keeps the
|