Home
last modified time | relevance | path

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

/arch/powerpc/kvm/
Dbook3s_32_mmu_host.c375 ulong sdr1; in kvmppc_mmu_init() local
393 asm ( "mfsdr1 %0" : "=r"(sdr1) ); in kvmppc_mmu_init()
394 htabmask = ((sdr1 & 0x1FF) << 16) | 0xFFC0; in kvmppc_mmu_init()
395 htab = (ulong)__va(sdr1 & 0xffff0000); in kvmppc_mmu_init()
Dbook3s_32_mmu.c119 htabmask = ((vcpu_book3s->sdr1 & 0x1FF) << 16) | 0xFFC0; in kvmppc_mmu_book3s_32_get_pteg()
126 pteg = (vcpu_book3s->sdr1 & 0xffff0000) | hash; in kvmppc_mmu_book3s_32_get_pteg()
129 kvmppc_get_pc(vcpu), eaddr, vcpu_book3s->sdr1, pteg, in kvmppc_mmu_book3s_32_get_pteg()
294 to_book3s(vcpu)->sdr1, ptegp); in kvmppc_mmu_book3s_32_xlate_pte()
Dbook3s_64_mmu.c143 htabsize = ((1 << ((vcpu_book3s->sdr1 & 0x1f) + 11)) - 1); in kvmppc_mmu_book3s_64_get_pteg()
154 pteg = vcpu_book3s->sdr1 & 0xfffffffffffc0000ULL; in kvmppc_mmu_book3s_64_get_pteg()
158 page, vcpu_book3s->sdr1, pteg, slbe->vsid); in kvmppc_mmu_book3s_64_get_pteg()
Dbook3s_pr_papr.c32 pte_index &= ((1 << ((vcpu_book3s->sdr1 & 0x1f) + 11)) - 1) << 7 | 0x70; in get_pteg_addr()
33 pteg_addr = vcpu_book3s->sdr1 & 0xfffffffffffc0000ULL; in get_pteg_addr()
Dbook3s_emulate.c374 to_book3s(vcpu)->sdr1 = spr_val; in kvmppc_core_emulate_mtspr_pr()
538 *spr_val = to_book3s(vcpu)->sdr1; in kvmppc_core_emulate_mfspr_pr()
Dbook3s_pr.c1303 sregs->u.s.sdr1 = to_book3s(vcpu)->sdr1; in kvm_arch_vcpu_ioctl_get_sregs_pr()
1330 vcpu3s->sdr1 = sregs->u.s.sdr1; in kvm_arch_vcpu_ioctl_set_sregs_pr()
Dbook3s_64_mmu_hv.c98 kvm->arch.sdr1 = __pa(hpt) | (order - 18); in kvmppc_alloc_hpt()
Dbook3s_hv.c371 vcpu->arch.vcore->lpcr, vcpu->kvm->arch.sdr1, in kvmppc_dump_regs()
/arch/powerpc/include/asm/
Dkvm_book3s.h120 u64 sdr1; member
Dkvm_host.h251 unsigned long sdr1; member
/arch/powerpc/include/uapi/asm/
Dkvm.h170 __u64 sdr1; member
/arch/powerpc/kernel/
Dasm-offsets.c493 DEFINE(KVM_SDR1, offsetof(struct kvm, arch.sdr1)); in main()