Home
last modified time | relevance | path

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

/Linux-v5.4/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),
92 __field( __u32, mas0 )
100 __entry->mas0 = mas0;
108 __entry->mas0, __entry->mas8, __entry->mas1,
113 TP_PROTO(__u32 mas0, __u32 mas1, __u64 mas2, __u64 mas7_3),
114 TP_ARGS(mas0, mas1, mas2, mas7_3),
117 __field( __u32, mas0 )
124 __entry->mas0 = mas0;
131 __entry->mas0, __entry->mas1,
De500_mmu_host.c70 uint32_t mas0, in __write_host_tlbe() argument
76 mtspr(SPRN_MAS0, mas0); in __write_host_tlbe()
93 trace_kvm_booke206_stlb_write(mas0, stlbe->mas8, stlbe->mas1, in __write_host_tlbe()
108 u32 mas0; in get_host_mas0() local
116 mas0 = mfspr(SPRN_MAS0); in get_host_mas0()
120 return mas0; in get_host_mas0()
127 u32 mas0; in write_host_tlbe() local
130 mas0 = get_host_mas0(stlbe->mas2); in write_host_tlbe()
131 __write_host_tlbe(stlbe, mas0, vcpu_e500->vcpu.kvm->arch.lpid); in write_host_tlbe()
De500_mmu.c138 vcpu->arch.shared->mas0 = MAS0_TLBSEL(tlbsel) | MAS0_ESEL(victim) in kvmppc_e500_deliver_tlb_miss()
332 vcpu->arch.shared->mas0 &= ~MAS0_NV(~0); in kvmppc_e500_emul_tlbre()
333 vcpu->arch.shared->mas0 |= MAS0_NV(vcpu_e500->gtlb_nv[tlbsel]); in kvmppc_e500_emul_tlbre()
360 vcpu->arch.shared->mas0 = MAS0_TLBSEL(tlbsel) | MAS0_ESEL(esel) in kvmppc_e500_emul_tlbsx()
372 vcpu->arch.shared->mas0 = MAS0_TLBSEL(tlbsel) in kvmppc_e500_emul_tlbsx()
416 trace_kvm_booke206_gtlb_write(vcpu->arch.shared->mas0, gtlbe->mas1, in kvmppc_e500_emul_tlbwe()
573 sregs->u.e.mas0 = vcpu->arch.shared->mas0; in kvmppc_get_sregs_e500_tlb()
590 vcpu->arch.shared->mas0 = sregs->u.e.mas0; in kvmppc_set_sregs_e500_tlb()
609 *val = get_reg_val(id, vcpu->arch.shared->mas0); in kvmppc_get_one_reg_e500_tlb()
662 vcpu->arch.shared->mas0 = set_reg_val(id, *val); in kvmppc_set_one_reg_e500_tlb()
De500.h239 return (vcpu->arch.shared->mas0 >> 28) & 0x1; in get_tlb_tlbsel()
244 return vcpu->arch.shared->mas0 & 0xfff; in get_tlb_nv_bit()
249 return (vcpu->arch.shared->mas0 >> 16) & 0xfff; in get_tlb_esel_bit()
De500_emulate.c226 vcpu->arch.shared->mas0 = spr_val; in kvmppc_core_emulate_mtspr_e500()
339 *spr_val = vcpu->arch.shared->mas0; in kvmppc_core_emulate_mfspr_e500()
/Linux-v5.4/arch/powerpc/include/asm/nohash/
Dmmu-book3e.h47 #define MAS0_GET_TLBSEL(mas0) (((mas0) & MAS0_TLBSEL_MASK) >> \ argument
/Linux-v5.4/arch/powerpc/include/uapi/asm/
Dkvm_para.h52 __u32 mas0; member
Dkvm.h258 __u32 mas0; member
/Linux-v5.4/arch/powerpc/kernel/
Dkvm.c461 kvm_patch_ins_lwz(inst, magic_var(mas0), inst_rt); in kvm_check_ins()
563 kvm_patch_ins_stw(inst, magic_var(mas0), inst_rt); in kvm_check_ins()
Dasm-offsets.c342 DEFINE(MAS0, STACK_INT_FRAME_SIZE+offsetof(struct exception_regs, mas0)); in main()
344 DEFINE(MMUCR, STACK_INT_FRAME_SIZE+offsetof(struct exception_regs, mas0)); in main()
487 OFFSET(VCPU_SHARED_MAS0, kvm_vcpu_arch_shared, mas0); in main()
Dhead_booke.h516 unsigned long mas0;
/Linux-v5.4/tools/arch/powerpc/include/uapi/asm/
Dkvm.h258 __u32 mas0; member
/Linux-v5.4/arch/powerpc/xmon/
Dxmon.c3670 u32 mas0 = MAS0_TLBSEL(tlb); in dump_tlb_book3e() local
3682 mas0 |= MAS0_ESEL(esel); in dump_tlb_book3e()
3683 mtspr(SPRN_MAS0, mas0); in dump_tlb_book3e()