Home
last modified time | relevance | path

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

/arch/powerpc/kvm/
Dtrace_booke.h89 TP_PROTO(__u32 mas0, __u32 mas8, __u32 mas1, __u64 mas2, __u64 mas7_3),
90 TP_ARGS(mas0, mas8, mas1, mas2, mas7_3),
96 __field( __u64, mas2 )
104 __entry->mas2 = mas2;
110 __entry->mas2, __entry->mas7_3)
114 TP_PROTO(__u32 mas0, __u32 mas1, __u64 mas2, __u64 mas7_3),
115 TP_ARGS(mas0, mas1, mas2, mas7_3),
120 __field( __u64, mas2 )
127 __entry->mas2 = mas2;
133 __entry->mas2, __entry->mas7_3)
De500_mmu.c74 esel += gtlb0_set_base(vcpu_e500, vcpu->arch.shared->mas2); in get_tlb_esel()
146 vcpu->arch.shared->mas2 = (eaddr & MAS2_EPN) in kvmppc_e500_deliver_tlb_miss()
338 vcpu->arch.shared->mas2 = gtlbe->mas2; in kvmppc_e500_emul_tlbre()
366 vcpu->arch.shared->mas2 = gtlbe->mas2; in kvmppc_e500_emul_tlbsx()
382 vcpu->arch.shared->mas2 &= MAS2_EPN; in kvmppc_e500_emul_tlbsx()
383 vcpu->arch.shared->mas2 |= vcpu->arch.shared->mas4 & in kvmppc_e500_emul_tlbsx()
414 gtlbe->mas2 = vcpu->arch.shared->mas2; in kvmppc_e500_emul_tlbwe()
416 gtlbe->mas2 &= 0xffffffffUL; in kvmppc_e500_emul_tlbwe()
420 gtlbe->mas2, gtlbe->mas7_3); in kvmppc_e500_emul_tlbwe()
578 sregs->u.e.mas2 = vcpu->arch.shared->mas2; in kvmppc_get_sregs_e500_tlb()
[all …]
De500_mmu_host.c80 mtspr(SPRN_MAS2, (unsigned long)stlbe->mas2); in __write_host_tlbe()
96 stlbe->mas2, stlbe->mas7_3); in __write_host_tlbe()
132 mas0 = get_host_mas0(stlbe->mas2); in write_host_tlbe()
176 magic.mas2 = vcpu->arch.magic_page_ea | MAS2_M; in kvmppc_map_magic()
255 ref->flags |= (gtlbe->mas2 & MAS2_ATTRIB_MASK) | wimg; in kvmppc_e500_ref_setup()
319 stlbe->mas2 = (gvaddr & MAS2_EPN) | (ref->flags & E500_TLB_MAS2_ATTR); in kvmppc_e500_setup_stlbe()
634 u32 mas1, mas2, mas3; in kvmppc_load_last_inst() local
654 mas2 = mfspr(SPRN_MAS2); in kvmppc_load_last_inst()
688 unlikely((mas2 & MAS2_I) || (mas2 & MAS2_W) || !(mas2 & MAS2_M))) { in kvmppc_load_last_inst()
De500_emulate.c235 vcpu->arch.shared->mas2 = spr_val; in kvmppc_core_emulate_mtspr_e500()
341 *spr_val = vcpu->arch.shared->mas2; in kvmppc_core_emulate_mfspr_e500()
De500.c340 tlbe->mas2 = 0; in kvmppc_e500_tlb_setup()
346 tlbe->mas2 = (0xe0004500 & 0xFFFFF000) | MAS2_I | MAS2_G; in kvmppc_e500_tlb_setup()
De500.h161 return tlbe->mas2 & MAS2_EPN; in get_tlb_eaddr()
/arch/powerpc/mm/
Dhugetlbpage-book3e.c136 unsigned long mas1, mas2; in book3e_hugetlb_preload() local
182 mas2 = ea & ~((1UL << shift) - 1); in book3e_hugetlb_preload()
183 mas2 |= (pte_val(pte) >> PTE_WIMGE_SHIFT) & MAS2_WIMGE_MASK; in book3e_hugetlb_preload()
190 mtspr(SPRN_MAS2, mas2); in book3e_hugetlb_preload()
/arch/powerpc/include/uapi/asm/
Dkvm_para.h54 __u64 mas2; member
Dkvm.h250 __u64 mas2; member
359 __u64 mas2; member
/arch/powerpc/xmon/
Dxmon.c3159 u64 mas2 = 0; in dump_tlb_book3e() local
3166 mas2 = cc * 0x1000; in dump_tlb_book3e()
3172 mtspr(SPRN_MAS2, mas2); in dump_tlb_book3e()
3175 mas2 = mfspr(SPRN_MAS2); in dump_tlb_book3e()
3189 mas2 & ~0x3ffull, in dump_tlb_book3e()
3196 mas2 & MAS2_X0 ? 'a' : ' ', in dump_tlb_book3e()
3197 mas2 & MAS2_X1 ? 'v' : ' ', in dump_tlb_book3e()
3198 mas2 & MAS2_W ? 'w' : ' ', in dump_tlb_book3e()
3199 mas2 & MAS2_I ? 'i' : ' ', in dump_tlb_book3e()
3200 mas2 & MAS2_M ? 'm' : ' ', in dump_tlb_book3e()
[all …]
/arch/powerpc/kernel/
Dkvm.c478 kvm_patch_ins_ld(inst, magic_var(mas2), inst_rt); in kvm_check_ins()
580 kvm_patch_ins_std(inst, magic_var(mas2), inst_rt); in kvm_check_ins()
Dhead_booke.h428 unsigned long mas2; member
Dasm-offsets.c342 DEFINE(MAS2, STACK_INT_FRAME_SIZE+offsetof(struct exception_regs, mas2)); in main()
483 DEFINE(VCPU_SHARED_MAS2, offsetof(struct kvm_vcpu_arch_shared, mas2)); in main()