Home
last modified time | relevance | path

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

/arch/powerpc/kvm/
De500_tlb.h60 return (tlbe->mas1 >> 7) & 0x1f; in get_tlb_size()
88 return (tlbe->mas1 >> 16) & 0xff; in get_tlb_tid()
94 return (tlbe->mas1 >> 12) & 0x1; in get_tlb_ts()
100 return (tlbe->mas1 >> 31) & 0x1; in get_tlb_v()
106 return (tlbe->mas1 >> 30) & 0x1; in get_tlb_iprot()
Dtrace.h351 TP_PROTO(__u32 mas0, __u32 mas8, __u32 mas1, __u64 mas2, __u64 mas7_3),
352 TP_ARGS(mas0, mas8, mas1, mas2, mas7_3),
357 __field( __u32, mas1 )
365 __entry->mas1 = mas1;
371 __entry->mas0, __entry->mas8, __entry->mas1,
376 TP_PROTO(__u32 mas0, __u32 mas1, __u64 mas2, __u64 mas7_3),
377 TP_ARGS(mas0, mas1, mas2, mas7_3),
381 __field( __u32, mas1 )
388 __entry->mas1 = mas1;
394 __entry->mas0, __entry->mas1,
De500_tlb.c291 mtspr(SPRN_MAS1, stlbe->mas1); in __write_host_tlbe()
298 trace_kvm_booke206_stlb_write(mas0, stlbe->mas8, stlbe->mas1, in __write_host_tlbe()
354 magic.mas1 = MAS1_VALID | MAS1_TS | MAS1_TID(stid) | in kvmppc_map_magic()
576 vcpu->arch.shared->mas1 = MAS1_VALID | (as ? MAS1_TS : 0) in kvmppc_e500_deliver_tlb_miss()
599 stlbe->mas1 = MAS1_TSIZE(tsize) | MAS1_TS | MAS1_VALID; in kvmppc_e500_setup_stlbe()
662 tsize = (gtlbe->mas1 & MAS1_TSIZE_MASK) >> in kvmppc_e500_shadow_map()
701 tsize = (gtlbe->mas1 & MAS1_TSIZE_MASK) >> in kvmppc_e500_shadow_map()
797 gtlbe->mas1 = 0; in kvmppc_e500_gtlbe_invalidate()
864 vcpu->arch.shared->mas1 = gtlbe->mas1; in kvmppc_e500_emul_tlbre()
895 vcpu->arch.shared->mas1 = gtlbe->mas1; in kvmppc_e500_emul_tlbsx()
[all …]
De500.c119 sregs->u.e.mas1 = vcpu->arch.shared->mas1; in kvmppc_core_get_sregs()
152 vcpu->arch.shared->mas1 = sregs->u.e.mas1; in kvmppc_core_set_sregs()
De500_emulate.c94 vcpu->arch.shared->mas1 = spr_val; break; in kvmppc_core_emulate_mtspr()
162 kvmppc_set_gpr(vcpu, rt, vcpu->arch.shared->mas1); break; in kvmppc_core_emulate_mfspr()
/arch/powerpc/mm/
Dhugetlbpage-book3e.c43 unsigned long mas1, mas2; in book3e_hugetlb_preload() local
92 mas1 = MAS1_VALID | MAS1_TID(mm->context.id) | MAS1_TSIZE(tsize); in book3e_hugetlb_preload()
100 mtspr(SPRN_MAS1, mas1); in book3e_hugetlb_preload()
/arch/powerpc/include/asm/
Dkvm.h237 __u32 mas1; member
294 __u32 mas1; member
Dkvm_para.h52 __u32 mas1; member
/arch/powerpc/platforms/wsp/
Dscom_smp.c314 u64 iar, srr0, srr1, esr, mas0, mas1, mas2, mas7_3, mas8, ccr2; in a2_scom_initial_tlb() local
320 rc[5] = a2_scom_getspr(scom, thread, SPRN_MAS1, &mas1); in a2_scom_initial_tlb()
330 pr_err(" retreived MAS1=0x%llx (err %d)\n", mas1, rc[5]); in a2_scom_initial_tlb()
/arch/powerpc/xmon/
Dxmon.c2776 u32 mas1 = MAS1_TSIZE(BOOK3E_PAGESZ_4K); in dump_tlb_book3e() local
2789 mtspr(SPRN_MAS1, mas1); in dump_tlb_book3e()
2792 mas1 = mfspr(SPRN_MAS1); in dump_tlb_book3e()
2797 if (!(mas1 & MAS1_VALID)) in dump_tlb_book3e()
2808 (mas1 >> 16) & 0x3fff, in dump_tlb_book3e()
2809 pgsz_names[(mas1 >> 7) & 0x1f], in dump_tlb_book3e()
2810 mas1 & MAS1_IND ? 'I' : ' ', in dump_tlb_book3e()
2811 mas1 & MAS1_IPROT ? 'P' : ' ', in dump_tlb_book3e()
2812 mas1 & MAS1_TS ? '1' : '0'); in dump_tlb_book3e()
2822 if (mas1 & MAS1_IND) in dump_tlb_book3e()
/arch/powerpc/kernel/
Dkvm.c473 kvm_patch_ins_lwz(inst, magic_var(mas1), inst_rt); in kvm_check_ins()
575 kvm_patch_ins_stw(inst, magic_var(mas1), inst_rt); in kvm_check_ins()
Dhead_booke.h409 unsigned long mas1; member
Dasm-offsets.c303 DEFINE(MAS1, STACK_INT_FRAME_SIZE+offsetof(struct exception_regs, mas1)); in main()
427 DEFINE(VCPU_SHARED_MAS1, offsetof(struct kvm_vcpu_arch_shared, mas1)); in main()