Home
last modified time | relevance | path

Searched refs:mas4 (Results 1 – 10 of 10) sorted by relevance

/linux/arch/powerpc/mm/nohash/
A Dtlb.c603 unsigned int mas4; in early_init_this_mmu() local
607 mas4 = 0x4 << MAS4_WIMGED_SHIFT; in early_init_this_mmu()
610 mas4 |= MAS4_INDD; in early_init_this_mmu()
611 mas4 |= BOOK3E_PAGESZ_2M << MAS4_TSIZED_SHIFT; in early_init_this_mmu()
612 mas4 |= MAS4_TLBSELD(1); in early_init_this_mmu()
617 mas4 |= MAS4_INDD; in early_init_this_mmu()
618 mas4 |= BOOK3E_PAGESZ_1M << MAS4_TSIZED_SHIFT; in early_init_this_mmu()
623 mas4 |= BOOK3E_PAGESZ_4K << MAS4_TSIZED_SHIFT; in early_init_this_mmu()
627 mtspr(SPRN_MAS4, mas4); in early_init_this_mmu()
/linux/arch/powerpc/kvm/
A De500_mmu.c134 tlbsel = (vcpu->arch.shared->mas4 >> 28) & 0x1; in kvmppc_e500_deliver_tlb_miss()
136 tsized = (vcpu->arch.shared->mas4 >> 7) & 0x1f; in kvmppc_e500_deliver_tlb_miss()
144 | (vcpu->arch.shared->mas4 & MAS2_ATTRIB_MASK); in kvmppc_e500_deliver_tlb_miss()
369 tlbsel = vcpu->arch.shared->mas4 >> 28 & 0x1; in kvmppc_e500_emul_tlbsx()
378 | (vcpu->arch.shared->mas4 & MAS4_TSIZED(~0)); in kvmppc_e500_emul_tlbsx()
380 vcpu->arch.shared->mas2 |= vcpu->arch.shared->mas4 & in kvmppc_e500_emul_tlbsx()
573 sregs->u.e.mas4 = vcpu->arch.shared->mas4; in kvmppc_get_sregs_e500_tlb()
590 vcpu->arch.shared->mas4 = sregs->u.e.mas4; in kvmppc_set_sregs_e500_tlb()
617 *val = get_reg_val(id, vcpu->arch.shared->mas4); in kvmppc_get_one_reg_e500_tlb()
670 vcpu->arch.shared->mas4 = set_reg_val(id, *val); in kvmppc_set_one_reg_e500_tlb()
A De500_mmu_host.c109 u32 mas4; in get_host_mas0() local
113 mas4 = mfspr(SPRN_MAS4); in get_host_mas0()
114 mtspr(SPRN_MAS4, mas4 & ~MAS4_TLBSEL_MASK); in get_host_mas0()
117 mtspr(SPRN_MAS4, mas4); in get_host_mas0()
A De500_emulate.c238 vcpu->arch.shared->mas4 = spr_val; in kvmppc_core_emulate_mtspr_e500()
350 *spr_val = vcpu->arch.shared->mas4; in kvmppc_core_emulate_mfspr_e500()
A De500.h316 unsigned int tidseld = (vcpu->arch.shared->mas4 >> 16) & 0xf; in get_tlbmiss_tid()
/linux/arch/powerpc/include/uapi/asm/
A Dkvm_para.h56 __u32 mas4; member
A Dkvm.h262 __u32 mas4; member
/linux/arch/powerpc/kernel/
A Dkvm.c477 kvm_patch_ins_lwz(inst, magic_var(mas4), inst_rt); in kvm_check_ins()
579 kvm_patch_ins_stw(inst, magic_var(mas4), inst_rt); in kvm_check_ins()
A Dasm-offsets.c410 OFFSET(VCPU_SHARED_MAS4, kvm_vcpu_arch_shared, mas4); in main()
/linux/tools/arch/powerpc/include/uapi/asm/
A Dkvm.h262 __u32 mas4; member

Completed in 23 milliseconds