Home
last modified time | relevance | path

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

/Linux-v4.19/arch/powerpc/kvm/
Dtrace_booke.h90 TP_PROTO(__u32 mas0, __u32 mas8, __u32 mas1, __u64 mas2, __u64 mas7_3),
91 TP_ARGS(mas0, mas8, mas1, mas2, mas7_3),
96 __field( __u32, mas1 )
104 __entry->mas1 = mas1;
110 __entry->mas0, __entry->mas8, __entry->mas1,
115 TP_PROTO(__u32 mas0, __u32 mas1, __u64 mas2, __u64 mas7_3),
116 TP_ARGS(mas0, mas1, mas2, mas7_3),
120 __field( __u32, mas1 )
127 __entry->mas1 = mas1;
133 __entry->mas0, __entry->mas1,
De500.h156 return (tlbe->mas1 >> 7) & 0x1f; in get_tlb_size()
184 return (tlbe->mas1 >> 16) & 0xff; in get_tlb_tid()
190 return (tlbe->mas1 >> 12) & 0x1; in get_tlb_ts()
196 return (tlbe->mas1 >> 31) & 0x1; in get_tlb_v()
202 return (tlbe->mas1 >> 30) & 0x1; in get_tlb_iprot()
208 return (tlbe->mas1 & MAS1_TSIZE_MASK) >> MAS1_TSIZE_SHIFT; in get_tlb_tsize()
292 #define get_tlb_sts(gtlbe) (gtlbe->mas1 & MAS1_TS)
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.c80 mtspr(SPRN_MAS1, stlbe->mas1); in __write_host_tlbe()
96 trace_kvm_booke206_stlb_write(mas0, stlbe->mas8, stlbe->mas1, in __write_host_tlbe()
154 stlbe->mas1 |= MAS1_TID(stid); in write_stlbe()
175 magic.mas1 = MAS1_VALID | MAS1_TS | MAS1_TID(stid) | in kvmppc_map_magic()
319 stlbe->mas1 = MAS1_TSIZE(tsize) | get_tlb_sts(gtlbe) | MAS1_VALID; in kvmppc_e500_setup_stlbe()
392 tsize = (gtlbe->mas1 & MAS1_TSIZE_MASK) >> in kvmppc_e500_shadow_map()
431 tsize = (gtlbe->mas1 & MAS1_TSIZE_MASK) >> in kvmppc_e500_shadow_map()
635 u32 mas1, mas2, mas3; in kvmppc_load_last_inst() local
654 mas1 = mfspr(SPRN_MAS1); in kvmppc_load_last_inst()
668 if (!(mas1 & MAS1_VALID)) in kvmppc_load_last_inst()
[all …]
De500_emulate.c232 vcpu->arch.shared->mas1 = spr_val; in kvmppc_core_emulate_mtspr_e500()
338 *spr_val = vcpu->arch.shared->mas1; in kvmppc_core_emulate_mfspr_e500()
De500.c338 tlbe->mas1 = MAS1_VALID | MAS1_TSIZE(BOOK3E_PAGESZ_256M); in kvmppc_e500_tlb_setup()
344 tlbe->mas1 = MAS1_VALID | MAS1_TSIZE(BOOK3E_PAGESZ_4K); in kvmppc_e500_tlb_setup()
/Linux-v4.19/arch/powerpc/mm/
Dhugetlbpage-book3e.c137 unsigned long mas1, mas2; in book3e_hugetlb_preload() local
175 mas1 = MAS1_VALID | MAS1_TID(mm->context.id) | MAS1_TSIZE(tsize); in book3e_hugetlb_preload()
183 mtspr(SPRN_MAS1, mas1); in book3e_hugetlb_preload()
/Linux-v4.19/arch/powerpc/include/asm/
Dmmu-book3e.h66 #define MAS1_GET_TSIZE(mas1) (((mas1) & MAS1_TSIZE_MASK) >> MAS1_TSIZE_SHIFT) argument
/Linux-v4.19/arch/powerpc/include/uapi/asm/
Dkvm_para.h53 __u32 mas1; member
Dkvm.h259 __u32 mas1; member
368 __u32 mas1; member
/Linux-v4.19/tools/arch/powerpc/include/uapi/asm/
Dkvm.h259 __u32 mas1; member
368 __u32 mas1; member
/Linux-v4.19/arch/powerpc/xmon/
Dxmon.c3603 u32 mas1 = MAS1_TSIZE(BOOK3E_PAGESZ_4K); in dump_tlb_book3e() local
3616 mtspr(SPRN_MAS1, mas1); in dump_tlb_book3e()
3619 mas1 = mfspr(SPRN_MAS1); in dump_tlb_book3e()
3624 if (!(mas1 & MAS1_VALID)) in dump_tlb_book3e()
3635 (mas1 >> 16) & 0x3fff, in dump_tlb_book3e()
3636 pgsz_names[(mas1 >> 7) & 0x1f], in dump_tlb_book3e()
3637 mas1 & MAS1_IND ? 'I' : ' ', in dump_tlb_book3e()
3638 mas1 & MAS1_IPROT ? 'P' : ' ', in dump_tlb_book3e()
3639 mas1 & MAS1_TS ? '1' : '0'); in dump_tlb_book3e()
3649 if (mas1 & MAS1_IND) in dump_tlb_book3e()
/Linux-v4.19/arch/powerpc/kernel/
Dkvm.c475 kvm_patch_ins_lwz(inst, magic_var(mas1), inst_rt); in kvm_check_ins()
577 kvm_patch_ins_stw(inst, magic_var(mas1), inst_rt); in kvm_check_ins()
Dhead_booke.h428 unsigned long mas1; member
Dasm-offsets.c337 DEFINE(MAS1, STACK_INT_FRAME_SIZE+offsetof(struct exception_regs, mas1)); in main()
480 OFFSET(VCPU_SHARED_MAS1, kvm_vcpu_arch_shared, mas1); in main()
/Linux-v4.19/Documentation/virtual/kvm/
Dapi.txt4150 - The tsize field of mas1 shall be set to 4K on TLB0, even though the