Home
last modified time | relevance | path

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

/Linux-v6.6/arch/powerpc/kvm/
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)
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 …]
De500_mmu_host.c78 mtspr(SPRN_MAS2, (unsigned long)stlbe->mas2); in __write_host_tlbe()
94 stlbe->mas2, stlbe->mas7_3); in __write_host_tlbe()
130 mas0 = get_host_mas0(stlbe->mas2); in write_host_tlbe()
174 magic.mas2 = vcpu->arch.magic_page_ea | MAS2_M; in kvmppc_map_magic()
253 ref->flags |= (gtlbe->mas2 & MAS2_ATTRIB_MASK) | wimg; in kvmppc_e500_ref_setup()
317 stlbe->mas2 = (gvaddr & MAS2_EPN) | (ref->flags & E500_TLB_MAS2_ATTR); in kvmppc_e500_setup_stlbe()
632 u32 mas1, mas2, mas3; in kvmppc_load_last_inst() local
652 mas2 = mfspr(SPRN_MAS2); in kvmppc_load_last_inst()
686 unlikely((mas2 & MAS2_I) || (mas2 & MAS2_W) || !(mas2 & MAS2_M))) { in kvmppc_load_last_inst()
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()
De500.c336 tlbe->mas2 = 0; in kvmppc_e500_tlb_setup()
342 tlbe->mas2 = (0xe0004500 & 0xFFFFF000) | MAS2_I | MAS2_G; in kvmppc_e500_tlb_setup()
De500.h158 return tlbe->mas2 & MAS2_EPN; in get_tlb_eaddr()
/Linux-v6.6/arch/powerpc/mm/nohash/
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-v6.6/arch/powerpc/include/uapi/asm/
Dkvm_para.h55 __u64 mas2; member
Dkvm.h260 __u64 mas2; member
369 __u64 mas2; member
/Linux-v6.6/arch/powerpc/xmon/
Dxmon.c3908 u64 mas2 = 0; in dump_tlb_book3e() local
3915 mas2 = cc * 0x1000; in dump_tlb_book3e()
3921 mtspr(SPRN_MAS2, mas2); in dump_tlb_book3e()
3924 mas2 = mfspr(SPRN_MAS2); in dump_tlb_book3e()
3938 mas2 & ~0x3ffull, in dump_tlb_book3e()
3945 mas2 & MAS2_X0 ? 'a' : ' ', in dump_tlb_book3e()
3946 mas2 & MAS2_X1 ? 'v' : ' ', in dump_tlb_book3e()
3947 mas2 & MAS2_W ? 'w' : ' ', in dump_tlb_book3e()
3948 mas2 & MAS2_I ? 'i' : ' ', in dump_tlb_book3e()
3949 mas2 & MAS2_M ? 'm' : ' ', in dump_tlb_book3e()
[all …]
/Linux-v6.6/tools/arch/powerpc/include/uapi/asm/
Dkvm.h260 __u64 mas2; member
369 __u64 mas2; member
/Linux-v6.6/arch/powerpc/include/asm/
Dptrace.h84 unsigned long mas2; member
/Linux-v6.6/arch/powerpc/kernel/
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()
Dasm-offsets.c312 STACK_PT_REGS_OFFSET(MAS2, mas2); in main()
412 OFFSET(VCPU_SHARED_MAS2, kvm_vcpu_arch_shared, mas2); in main()
/Linux-v6.6/tools/testing/radix-tree/
Dmaple.c315 MA_STATE(mas2, mt, 0, 0); in check_new_node()
323 mas_push_node(&mas2, mn); in check_new_node()
324 MT_BUG_ON(mt, mas_allocated(&mas2) != j); in check_new_node()
327 MT_BUG_ON(mt, mas_allocated(&mas2) != i); in check_new_node()
330 MT_BUG_ON(mt, mas_allocated(&mas2) != j); in check_new_node()
331 mn = mas_pop_node(&mas2); /* get the next node. */ in check_new_node()
337 MT_BUG_ON(mt, mas_allocated(&mas2) != 0); in check_new_node()