Home
last modified time | relevance | path

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

/Linux-v5.10/arch/powerpc/kvm/
Dtrace_booke.h88 TP_PROTO(__u32 mas0, __u32 mas8, __u32 mas1, __u64 mas2, __u64 mas7_3),
89 TP_ARGS(mas0, mas8, mas1, mas2, mas7_3),
95 __field( __u64, mas2 )
103 __entry->mas2 = mas2;
109 __entry->mas2, __entry->mas7_3)
113 TP_PROTO(__u32 mas0, __u32 mas1, __u64 mas2, __u64 mas7_3),
114 TP_ARGS(mas0, mas1, mas2, mas7_3),
119 __field( __u64, mas2 )
126 __entry->mas2 = mas2;
132 __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-v5.10/arch/powerpc/mm/nohash/
Dbook3e_hugetlbpage.c128 unsigned long mas1, mas2; in book3e_hugetlb_preload() local
162 mas2 = ea & ~((1UL << shift) - 1); in book3e_hugetlb_preload()
163 mas2 |= (pte_val(pte) >> PTE_WIMGE_SHIFT) & MAS2_WIMGE_MASK; in book3e_hugetlb_preload()
170 mtspr(SPRN_MAS2, mas2); in book3e_hugetlb_preload()
/Linux-v5.10/arch/powerpc/include/uapi/asm/
Dkvm_para.h55 __u64 mas2; member
Dkvm.h260 __u64 mas2; member
369 __u64 mas2; member
/Linux-v5.10/arch/powerpc/xmon/
Dxmon.c3839 u64 mas2 = 0; in dump_tlb_book3e() local
3846 mas2 = cc * 0x1000; in dump_tlb_book3e()
3852 mtspr(SPRN_MAS2, mas2); in dump_tlb_book3e()
3855 mas2 = mfspr(SPRN_MAS2); in dump_tlb_book3e()
3869 mas2 & ~0x3ffull, in dump_tlb_book3e()
3876 mas2 & MAS2_X0 ? 'a' : ' ', in dump_tlb_book3e()
3877 mas2 & MAS2_X1 ? 'v' : ' ', in dump_tlb_book3e()
3878 mas2 & MAS2_W ? 'w' : ' ', in dump_tlb_book3e()
3879 mas2 & MAS2_I ? 'i' : ' ', in dump_tlb_book3e()
3880 mas2 & MAS2_M ? 'm' : ' ', in dump_tlb_book3e()
[all …]
/Linux-v5.10/tools/arch/powerpc/include/uapi/asm/
Dkvm.h260 __u64 mas2; member
369 __u64 mas2; member
/Linux-v5.10/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()
Dhead_booke.h522 unsigned long mas2;
Dasm-offsets.c368 DEFINE(MAS2, STACK_INT_FRAME_SIZE+offsetof(struct exception_regs, mas2)); in main()
510 OFFSET(VCPU_SHARED_MAS2, kvm_vcpu_arch_shared, mas2); in main()