Home
last modified time | relevance | path

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

/arch/powerpc/kvm/
De500.h153 return (tlbe->mas1 >> 7) & 0x1f; in get_tlb_size()
181 return (tlbe->mas1 >> 16) & 0xff; in get_tlb_tid()
187 return (tlbe->mas1 >> 12) & 0x1; in get_tlb_ts()
193 return (tlbe->mas1 >> 31) & 0x1; in get_tlb_v()
199 return (tlbe->mas1 >> 30) & 0x1; in get_tlb_iprot()
205 return (tlbe->mas1 & MAS1_TSIZE_MASK) >> MAS1_TSIZE_SHIFT; in get_tlb_tsize()
289 #define get_tlb_sts(gtlbe) (gtlbe->mas1 & MAS1_TS)
Dtrace.h461 TP_PROTO(__u32 mas0, __u32 mas8, __u32 mas1, __u64 mas2, __u64 mas7_3),
462 TP_ARGS(mas0, mas8, mas1, mas2, mas7_3),
467 __field( __u32, mas1 )
475 __entry->mas1 = mas1;
481 __entry->mas0, __entry->mas8, __entry->mas1,
486 TP_PROTO(__u32 mas0, __u32 mas1, __u64 mas2, __u64 mas7_3),
487 TP_ARGS(mas0, mas1, mas2, mas7_3),
491 __field( __u32, mas1 )
498 __entry->mas1 = mas1;
504 __entry->mas0, __entry->mas1,
De500_mmu.c143 vcpu->arch.shared->mas1 = MAS1_VALID | (as ? MAS1_TS : 0) in kvmppc_e500_deliver_tlb_miss()
226 gtlbe->mas1 = 0; in kvmppc_e500_gtlbe_invalidate()
337 vcpu->arch.shared->mas1 = gtlbe->mas1; in kvmppc_e500_emul_tlbre()
365 vcpu->arch.shared->mas1 = gtlbe->mas1; in kvmppc_e500_emul_tlbsx()
378 vcpu->arch.shared->mas1 = in kvmppc_e500_emul_tlbsx()
413 gtlbe->mas1 = vcpu->arch.shared->mas1; in kvmppc_e500_emul_tlbwe()
419 trace_kvm_booke206_gtlb_write(vcpu->arch.shared->mas0, gtlbe->mas1, in kvmppc_e500_emul_tlbwe()
442 gtlbe->mas1 &= ~MAS1_TSIZE(~0); in kvmppc_e500_emul_tlbwe()
443 gtlbe->mas1 |= MAS1_TSIZE(BOOK3E_PAGESZ_4K); in kvmppc_e500_emul_tlbwe()
577 sregs->u.e.mas1 = vcpu->arch.shared->mas1; in kvmppc_get_sregs_e500_tlb()
[all …]
De500_mmu_host.c86 mtspr(SPRN_MAS1, stlbe->mas1); in __write_host_tlbe()
102 trace_kvm_booke206_stlb_write(mas0, stlbe->mas8, stlbe->mas1, in __write_host_tlbe()
155 stlbe->mas1 |= MAS1_TID(stid); in write_stlbe()
176 magic.mas1 = MAS1_VALID | MAS1_TS | MAS1_TID(stid) | in kvmppc_map_magic()
314 stlbe->mas1 = MAS1_TSIZE(tsize) | get_tlb_sts(gtlbe) | MAS1_VALID; in kvmppc_e500_setup_stlbe()
380 tsize = (gtlbe->mas1 & MAS1_TSIZE_MASK) >> in kvmppc_e500_shadow_map()
419 tsize = (gtlbe->mas1 & MAS1_TSIZE_MASK) >> in kvmppc_e500_shadow_map()
De500_emulate.c173 vcpu->arch.shared->mas1 = spr_val; in kvmppc_core_emulate_mtspr()
260 *spr_val = vcpu->arch.shared->mas1; in kvmppc_core_emulate_mfspr()
De500.c344 tlbe->mas1 = MAS1_VALID | MAS1_TSIZE(BOOK3E_PAGESZ_256M); in kvmppc_e500_tlb_setup()
350 tlbe->mas1 = MAS1_VALID | MAS1_TSIZE(BOOK3E_PAGESZ_4K); in kvmppc_e500_tlb_setup()
/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/uapi/asm/
Dkvm_para.h52 __u32 mas1; member
Dkvm.h248 __u32 mas1; member
335 __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.c2857 u32 mas1 = MAS1_TSIZE(BOOK3E_PAGESZ_4K); in dump_tlb_book3e() local
2870 mtspr(SPRN_MAS1, mas1); in dump_tlb_book3e()
2873 mas1 = mfspr(SPRN_MAS1); in dump_tlb_book3e()
2878 if (!(mas1 & MAS1_VALID)) in dump_tlb_book3e()
2889 (mas1 >> 16) & 0x3fff, in dump_tlb_book3e()
2890 pgsz_names[(mas1 >> 7) & 0x1f], in dump_tlb_book3e()
2891 mas1 & MAS1_IND ? 'I' : ' ', in dump_tlb_book3e()
2892 mas1 & MAS1_IPROT ? 'P' : ' ', in dump_tlb_book3e()
2893 mas1 & MAS1_TS ? '1' : '0'); in dump_tlb_book3e()
2903 if (mas1 & MAS1_IND) in dump_tlb_book3e()
/arch/powerpc/kernel/
Dkvm.c474 kvm_patch_ins_lwz(inst, magic_var(mas1), inst_rt); in kvm_check_ins()
576 kvm_patch_ins_stw(inst, magic_var(mas1), inst_rt); in kvm_check_ins()
Dhead_booke.h427 unsigned long mas1; member
Dasm-offsets.c341 DEFINE(MAS1, STACK_INT_FRAME_SIZE+offsetof(struct exception_regs, mas1)); in main()
466 DEFINE(VCPU_SHARED_MAS1, offsetof(struct kvm_vcpu_arch_shared, mas1)); in main()