Home
last modified time | relevance | path

Searched refs:sdr1 (Results 1 – 13 of 13) sorted by relevance

/arch/powerpc/kvm/
Dbook3s_32_mmu.c107 htabmask = ((vcpu_book3s->sdr1 & 0x1FF) << 16) | 0xFFC0; in kvmppc_mmu_book3s_32_get_pteg()
114 pteg = (vcpu_book3s->sdr1 & 0xffff0000) | hash; in kvmppc_mmu_book3s_32_get_pteg()
117 kvmppc_get_pc(vcpu), eaddr, vcpu_book3s->sdr1, pteg, in kvmppc_mmu_book3s_32_get_pteg()
284 to_book3s(vcpu)->sdr1, ptegp); in kvmppc_mmu_book3s_32_xlate_pte()
Dbook3s_32_mmu_host.c363 ulong sdr1; in kvmppc_mmu_init() local
381 asm ( "mfsdr1 %0" : "=r"(sdr1) ); in kvmppc_mmu_init()
382 htabmask = ((sdr1 & 0x1FF) << 16) | 0xFFC0; in kvmppc_mmu_init()
383 htab = (ulong)__va(sdr1 & 0xffff0000); in kvmppc_mmu_init()
Dbook3s_64_mmu.c140 htabsize = ((1 << ((vcpu_book3s->sdr1 & 0x1f) + 11)) - 1); in kvmppc_mmu_book3s_64_get_pteg()
151 pteg = vcpu_book3s->sdr1 & 0xfffffffffffc0000ULL; in kvmppc_mmu_book3s_64_get_pteg()
155 page, vcpu_book3s->sdr1, pteg, slbe->vsid); in kvmppc_mmu_book3s_64_get_pteg()
Dbook3s_pr_papr.c29 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()
Dbook3s_emulate.c690 to_book3s(vcpu)->sdr1 = spr_val; in kvmppc_core_emulate_mtspr_pr()
887 *spr_val = to_book3s(vcpu)->sdr1; in kvmppc_core_emulate_mfspr_pr()
Dbook3s_pr.c1447 sregs->u.s.sdr1 = to_book3s(vcpu)->sdr1; in kvm_arch_vcpu_ioctl_get_sregs_pr()
1474 vcpu3s->sdr1 = sregs->u.s.sdr1; in kvm_arch_vcpu_ioctl_set_sregs_pr()
Dbook3s_64_mmu_hv.c120 kvm->arch.sdr1 = __pa(info->virt) | (info->order - 18); in kvmppc_set_hpt()
Dbook3s_hv.c444 vcpu->arch.vcore->lpcr, vcpu->kvm->arch.sdr1, in kvmppc_dump_regs()
4586 dw0 |= kvm->arch.sdr1; in kvmppc_setup_partition_table()
/arch/powerpc/platforms/powernv/
Didle.c293 u64 sdr1; member
344 sprs.sdr1 = mfspr(SPRN_SDR1); in power7_idle_insn()
465 mtspr(SPRN_SDR1, sprs.sdr1); in power7_idle_insn()
/arch/powerpc/include/uapi/asm/
Dkvm.h180 __u64 sdr1; member
/arch/powerpc/include/asm/
Dkvm_book3s.h110 u64 sdr1; member
Dkvm_host.h289 unsigned long sdr1; member
/arch/powerpc/kernel/
Dasm-offsets.c500 OFFSET(KVM_SDR1, kvm, arch.sdr1); in main()