Home
last modified time | relevance | path

Searched refs:mas0 (Results 1 – 13 of 13) 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),
94 __field( __u32, mas0 )
102 __entry->mas0 = mas0;
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),
119 __field( __u32, mas0 )
126 __entry->mas0 = mas0;
133 __entry->mas0, __entry->mas1,
De500_mmu_host.c73 uint32_t mas0, in __write_host_tlbe() argument
79 mtspr(SPRN_MAS0, mas0); in __write_host_tlbe()
96 trace_kvm_booke206_stlb_write(mas0, stlbe->mas8, stlbe->mas1, in __write_host_tlbe()
111 u32 mas0; in get_host_mas0() local
119 mas0 = mfspr(SPRN_MAS0); in get_host_mas0()
123 return mas0; in get_host_mas0()
130 u32 mas0; in write_host_tlbe() local
133 mas0 = get_host_mas0(stlbe->mas2); in write_host_tlbe()
134 __write_host_tlbe(stlbe, mas0, vcpu_e500->vcpu.kvm->arch.lpid); in write_host_tlbe()
De500_mmu.c141 vcpu->arch.shared->mas0 = MAS0_TLBSEL(tlbsel) | MAS0_ESEL(victim) in kvmppc_e500_deliver_tlb_miss()
335 vcpu->arch.shared->mas0 &= ~MAS0_NV(~0); in kvmppc_e500_emul_tlbre()
336 vcpu->arch.shared->mas0 |= MAS0_NV(vcpu_e500->gtlb_nv[tlbsel]); in kvmppc_e500_emul_tlbre()
363 vcpu->arch.shared->mas0 = MAS0_TLBSEL(tlbsel) | MAS0_ESEL(esel) in kvmppc_e500_emul_tlbsx()
375 vcpu->arch.shared->mas0 = MAS0_TLBSEL(tlbsel) in kvmppc_e500_emul_tlbsx()
419 trace_kvm_booke206_gtlb_write(vcpu->arch.shared->mas0, gtlbe->mas1, in kvmppc_e500_emul_tlbwe()
576 sregs->u.e.mas0 = vcpu->arch.shared->mas0; in kvmppc_get_sregs_e500_tlb()
593 vcpu->arch.shared->mas0 = sregs->u.e.mas0; in kvmppc_set_sregs_e500_tlb()
612 *val = get_reg_val(id, vcpu->arch.shared->mas0); in kvmppc_get_one_reg_e500_tlb()
665 vcpu->arch.shared->mas0 = set_reg_val(id, *val); in kvmppc_set_one_reg_e500_tlb()
De500.h242 return (vcpu->arch.shared->mas0 >> 28) & 0x1; in get_tlb_tlbsel()
247 return vcpu->arch.shared->mas0 & 0xfff; in get_tlb_nv_bit()
252 return (vcpu->arch.shared->mas0 >> 16) & 0xfff; in get_tlb_esel_bit()
De500_emulate.c229 vcpu->arch.shared->mas0 = spr_val; in kvmppc_core_emulate_mtspr_e500()
335 *spr_val = vcpu->arch.shared->mas0; in kvmppc_core_emulate_mfspr_e500()
/Linux-v4.19/arch/powerpc/include/asm/
Dmmu-book3e.h47 #define MAS0_GET_TLBSEL(mas0) (((mas0) & MAS0_TLBSEL_MASK) >> \ argument
/Linux-v4.19/arch/powerpc/include/uapi/asm/
Dkvm_para.h52 __u32 mas0; member
Dkvm.h258 __u32 mas0; member
/Linux-v4.19/arch/powerpc/kernel/
Dkvm.c471 kvm_patch_ins_lwz(inst, magic_var(mas0), inst_rt); in kvm_check_ins()
573 kvm_patch_ins_stw(inst, magic_var(mas0), inst_rt); in kvm_check_ins()
Dasm-offsets.c334 DEFINE(MAS0, STACK_INT_FRAME_SIZE+offsetof(struct exception_regs, mas0)); in main()
336 DEFINE(MMUCR, STACK_INT_FRAME_SIZE+offsetof(struct exception_regs, mas0)); in main()
479 OFFSET(VCPU_SHARED_MAS0, kvm_vcpu_arch_shared, mas0); in main()
Dhead_booke.h427 unsigned long mas0; member
/Linux-v4.19/tools/arch/powerpc/include/uapi/asm/
Dkvm.h258 __u32 mas0; member
/Linux-v4.19/arch/powerpc/xmon/
Dxmon.c3602 u32 mas0 = MAS0_TLBSEL(tlb); in dump_tlb_book3e() local
3614 mas0 |= MAS0_ESEL(esel); in dump_tlb_book3e()
3615 mtspr(SPRN_MAS0, mas0); in dump_tlb_book3e()