Home
last modified time | relevance | path

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

/linux/arch/powerpc/kvm/
H A Dtrace_booke.h73 TP_PROTO(__u32 mas0, __u32 mas8, __u32 mas1, __u64 mas2, __u64 mas7_3),
74 TP_ARGS(mas0, mas8, mas1, mas2, mas7_3),
80 __field( __u64, mas2 )
88 __entry->mas2 = mas2;
94 __entry->mas2, __entry->mas7_3)
98 TP_PROTO(__u32 mas0, __u32 mas1, __u64 mas2, __u64 mas7_3),
99 TP_ARGS(mas0, mas1, mas2, mas7_3),
104 __field( __u64, mas2 )
111 __entry->mas2 = mas2;
117 __entry->mas2, __entry->mas7_3)
H A De500_mmu.c71 esel += gtlb0_set_base(vcpu_e500, vcpu->arch.shared->mas2); in get_tlb_esel()
143 vcpu->arch.shared->mas2 = (eaddr & MAS2_EPN) in kvmppc_e500_deliver_tlb_miss()
335 vcpu->arch.shared->mas2 = gtlbe->mas2; in kvmppc_e500_emul_tlbre()
363 vcpu->arch.shared->mas2 = gtlbe->mas2; in kvmppc_e500_emul_tlbsx()
379 vcpu->arch.shared->mas2 &= MAS2_EPN; in kvmppc_e500_emul_tlbsx()
380 vcpu->arch.shared->mas2 |= vcpu->arch.shared->mas4 & in kvmppc_e500_emul_tlbsx()
411 gtlbe->mas2 = vcpu->arch.shared->mas2; in kvmppc_e500_emul_tlbwe()
413 gtlbe->mas2 &= 0xffffffffUL; in kvmppc_e500_emul_tlbwe()
417 gtlbe->mas2, gtlbe->mas7_3); in kvmppc_e500_emul_tlbwe()
571 sregs->u.e.mas2 = vcpu->arch.shared->mas2; in kvmppc_get_sregs_e500_tlb()
[all …]
H A De500_mmu_host.c81 mtspr(SPRN_MAS2, (unsigned long)stlbe->mas2); in __write_host_tlbe()
97 stlbe->mas2, stlbe->mas7_3); in __write_host_tlbe()
133 mas0 = get_host_mas0(stlbe->mas2); in write_host_tlbe()
177 magic.mas2 = vcpu->arch.magic_page_ea | MAS2_M; in kvmppc_map_magic()
259 ref->flags |= (gtlbe->mas2 & MAS2_ATTRIB_MASK) | wimg; in kvmppc_e500_ref_setup()
318 stlbe->mas2 = (gvaddr & MAS2_EPN) | (ref->flags & E500_TLB_MAS2_ATTR); in kvmppc_e500_setup_stlbe()
594 u32 mas1, mas2, mas3; in kvmppc_load_last_inst() local
614 mas2 = mfspr(SPRN_MAS2); in kvmppc_load_last_inst()
648 unlikely((mas2 & MAS2_I) || (mas2 & MAS2_W) || !(mas2 & MAS2_M))) { in kvmppc_load_last_inst()
H A De500_emulate.c231 vcpu->arch.shared->mas2 = spr_val; in kvmppc_core_emulate_mtspr_e500()
344 *spr_val = vcpu->arch.shared->mas2; in kvmppc_core_emulate_mfspr_e500()
H A De500.c336 tlbe->mas2 = 0; in kvmppc_e500_tlb_setup()
342 tlbe->mas2 = (0xe0004500 & 0xFFFFF000) | MAS2_I | MAS2_G; in kvmppc_e500_tlb_setup()
H A De500.h160 return tlbe->mas2 & MAS2_EPN; in get_tlb_eaddr()
/linux/arch/powerpc/mm/nohash/
H A De500_hugetlbpage.c121 unsigned long mas1, mas2; in book3e_hugetlb_preload() local
155 mas2 = ea & ~((1UL << shift) - 1); in book3e_hugetlb_preload()
156 mas2 |= (pte_val(pte) >> PTE_WIMGE_SHIFT) & MAS2_WIMGE_MASK; in book3e_hugetlb_preload()
163 mtspr(SPRN_MAS2, mas2); in book3e_hugetlb_preload()
/linux/arch/powerpc/include/uapi/asm/
H A Dkvm_para.h55 __u64 mas2; member
H A Dkvm.h259 __u64 mas2; member
368 __u64 mas2; member
/linux/tools/arch/powerpc/include/uapi/asm/
H A Dkvm.h259 __u64 mas2; member
368 __u64 mas2; member
/linux/arch/powerpc/include/asm/
H A Dptrace.h84 unsigned long mas2; member
/linux/arch/powerpc/kernel/
H A Dkvm.c469 kvm_patch_ins_ld(inst, magic_var(mas2), inst_rt); in kvm_check_ins()
571 kvm_patch_ins_std(inst, magic_var(mas2), inst_rt); in kvm_check_ins()
/linux/tools/testing/radix-tree/
H A Dmaple.c321 MA_STATE(mas2, mt, 0, 0); in check_new_node()
329 mas_push_node(&mas2, mn); in check_new_node()
330 MT_BUG_ON(mt, mas_allocated(&mas2) != j); in check_new_node()
333 MT_BUG_ON(mt, mas_allocated(&mas2) != i); in check_new_node()
336 MT_BUG_ON(mt, mas_allocated(&mas2) != j); in check_new_node()
337 mn = mas_pop_node(&mas2); /* get the next node. */ in check_new_node()
343 MT_BUG_ON(mt, mas_allocated(&mas2) != 0); in check_new_node()