Home
last modified time | relevance | path

Searched refs:mas2 (Results 1 – 25 of 28) sorted by relevance

12

/openbmc/linux/arch/powerpc/kvm/
H A Dtrace_booke.h73 TP_PROTO(__u32 mas0, __u32 mas8, __u32 mas1, __u64 mas2, __u64 mas7_3),
74 TP_ARGS(mas0, mas8, mas1, mas2, mas7_3),
80 __field( __u64, mas2 )
88 __entry->mas2 = mas2;
94 __entry->mas2, __entry->mas7_3)
98 TP_PROTO(__u32 mas0, __u32 mas1, __u64 mas2, __u64 mas7_3),
99 TP_ARGS(mas0, mas1, mas2, mas7_3),
104 __field( __u64, mas2 )
111 __entry->mas2 = mas2;
117 __entry->mas2, __entry->mas7_3)
H A De500_mmu.c143 vcpu->arch.shared->mas2 = (eaddr & MAS2_EPN) in kvmppc_e500_deliver_tlb_miss()
335 vcpu->arch.shared->mas2 = gtlbe->mas2; in kvmppc_e500_emul_tlbre()
363 vcpu->arch.shared->mas2 = gtlbe->mas2; in kvmppc_e500_emul_tlbsx()
379 vcpu->arch.shared->mas2 &= MAS2_EPN; in kvmppc_e500_emul_tlbsx()
380 vcpu->arch.shared->mas2 |= vcpu->arch.shared->mas4 & in kvmppc_e500_emul_tlbsx()
411 gtlbe->mas2 = vcpu->arch.shared->mas2; in kvmppc_e500_emul_tlbwe()
413 gtlbe->mas2 &= 0xffffffffUL; in kvmppc_e500_emul_tlbwe()
571 sregs->u.e.mas2 = vcpu->arch.shared->mas2; in kvmppc_get_sregs_e500_tlb()
588 vcpu->arch.shared->mas2 = sregs->u.e.mas2; in kvmppc_set_sregs_e500_tlb()
611 *val = get_reg_val(id, vcpu->arch.shared->mas2); in kvmppc_get_one_reg_e500_tlb()
[all …]
H A De500_mmu_host.c78 mtspr(SPRN_MAS2, (unsigned long)stlbe->mas2); in __write_host_tlbe()
94 stlbe->mas2, stlbe->mas7_3); in __write_host_tlbe()
130 mas0 = get_host_mas0(stlbe->mas2); in write_host_tlbe()
174 magic.mas2 = vcpu->arch.magic_page_ea | MAS2_M; in kvmppc_map_magic()
253 ref->flags |= (gtlbe->mas2 & MAS2_ATTRIB_MASK) | wimg; in kvmppc_e500_ref_setup()
317 stlbe->mas2 = (gvaddr & MAS2_EPN) | (ref->flags & E500_TLB_MAS2_ATTR); in kvmppc_e500_setup_stlbe()
632 u32 mas1, mas2, mas3; in kvmppc_load_last_inst() local
652 mas2 = mfspr(SPRN_MAS2); in kvmppc_load_last_inst()
686 unlikely((mas2 & MAS2_I) || (mas2 & MAS2_W) || !(mas2 & MAS2_M))) { in kvmppc_load_last_inst()
H A De500_emulate.c231 vcpu->arch.shared->mas2 = spr_val; in kvmppc_core_emulate_mtspr_e500()
344 *spr_val = vcpu->arch.shared->mas2; in kvmppc_core_emulate_mfspr_e500()
H A De500.c336 tlbe->mas2 = 0; in kvmppc_e500_tlb_setup()
342 tlbe->mas2 = (0xe0004500 & 0xFFFFF000) | MAS2_I | MAS2_G; in kvmppc_e500_tlb_setup()
H A De500.h158 return tlbe->mas2 & MAS2_EPN; in get_tlb_eaddr()
/openbmc/u-boot/arch/powerpc/cpu/mpc85xx/
H A Dcpu_init_early.c83 u32 mas0, mas1, mas2, mas3, mas7; in cpu_init_early_f() local
109 mas2 = FSL_BOOKE_MAS2(CONFIG_SYS_CCSRBAR, MAS2_I|MAS2_G); in cpu_init_early_f()
113 write_tlb(mas0, mas1, mas2, mas3, mas7); in cpu_init_early_f()
136 mas2 = FSL_BOOKE_MAS2(SRAM_BASE_ADDR, MAS2_I); in cpu_init_early_f()
140 write_tlb(mas0, mas1, mas2, mas3, mas7); in cpu_init_early_f()
H A Dtlb.c35 tlb_table[i].mas2, in init_tlbs()
/openbmc/linux/arch/powerpc/mm/nohash/
H A De500_hugetlbpage.c121 unsigned long mas1, mas2; in book3e_hugetlb_preload() local
155 mas2 = ea & ~((1UL << shift) - 1); in book3e_hugetlb_preload()
156 mas2 |= (pte_val(pte) >> PTE_WIMGE_SHIFT) & MAS2_WIMGE_MASK; in book3e_hugetlb_preload()
163 mtspr(SPRN_MAS2, mas2); in book3e_hugetlb_preload()
/openbmc/u-boot/board/freescale/qemu-ppce500/
H A Dqemu-ppce500.c34 u32 mas0, mas1, mas2, mas3, mas7; in map_fdt_as() local
41 mas2 = FSL_BOOKE_MAS2(fdt_virt_tlb, 0); in map_fdt_as()
45 write_tlb(mas0, mas1, mas2, mas3, mas7); in map_fdt_as()
/openbmc/linux/arch/powerpc/include/uapi/asm/
H A Dkvm_para.h55 __u64 mas2; member
H A Dkvm.h260 __u64 mas2; member
369 __u64 mas2; member
/openbmc/qemu/target/ppc/
H A Dmmu_common.c418 ea = entry->mas2 & ~(size - 1); in mmubooke206_dump_one_tlb()
433 entry->mas2 & MAS2_W ? 'W' : '-', in mmubooke206_dump_one_tlb()
434 entry->mas2 & MAS2_I ? 'I' : '-', in mmubooke206_dump_one_tlb()
435 entry->mas2 & MAS2_M ? 'M' : '-', in mmubooke206_dump_one_tlb()
436 entry->mas2 & MAS2_G ? 'G' : '-', in mmubooke206_dump_one_tlb()
437 entry->mas2 & MAS2_E ? 'E' : '-', in mmubooke206_dump_one_tlb()
H A Dmmu-booke.c240 __func__, address, pid, tlb->mas1, tlb->mas2, mask, in ppcmas_tlb_check()
250 if ((address & mask) != (tlb->mas2 & MAS2_EPN_MASK)) { in ppcmas_tlb_check()
H A Dmmu_helper.c1015 tlb_flush_page(env_cpu(env), tlb->mas2 & MAS2_EPN_MASK); in flush_page()
1124 tlb->mas2 = env->spr[SPR_BOOKE_MAS2] & mask; in helper_booke206_tlbwe()
1144 env->spr[SPR_BOOKE_MAS2] = tlb->mas2; in booke206_tlb_to_mas()
1228 if (((tlb->mas2 & MAS2_EPN_MASK) == (ea & mask)) && in booke206_invalidate_ea_tlb()
H A Dmachine.c645 VMSTATE_UINT64(mas2, ppcmas_tlb_t),
/openbmc/u-boot/arch/powerpc/include/asm/
H A Dmmu.h525 .mas2 = FSL_BOOKE_MAS2(_epn, _wimge), \
532 u32 mas2; member
/openbmc/linux/arch/powerpc/xmon/
H A Dxmon.c3908 u64 mas2 = 0; in dump_tlb_book3e() local
3915 mas2 = cc * 0x1000; in dump_tlb_book3e()
3921 mtspr(SPRN_MAS2, mas2); in dump_tlb_book3e()
3924 mas2 = mfspr(SPRN_MAS2); in dump_tlb_book3e()
3938 mas2 & ~0x3ffull, in dump_tlb_book3e()
3945 mas2 & MAS2_X0 ? 'a' : ' ', in dump_tlb_book3e()
3946 mas2 & MAS2_X1 ? 'v' : ' ', in dump_tlb_book3e()
3947 mas2 & MAS2_W ? 'w' : ' ', in dump_tlb_book3e()
3948 mas2 & MAS2_I ? 'i' : ' ', in dump_tlb_book3e()
3949 mas2 & MAS2_M ? 'm' : ' ', in dump_tlb_book3e()
[all …]
/openbmc/qemu/hw/ppc/
H A Dppce500_spin.c83 tlb->mas2 = (va & TARGET_PAGE_MASK) | MAS2_M; in mmubooke_create_initial_mapping()
H A De500.c764 tlb->mas2 = 0; in mmubooke_create_initial_mapping()
/openbmc/linux/tools/arch/powerpc/include/uapi/asm/
H A Dkvm.h260 __u64 mas2; member
369 __u64 mas2; member
/openbmc/qemu/linux-headers/asm-powerpc/
H A Dkvm.h259 __u64 mas2; member
368 __u64 mas2; member
/openbmc/linux/arch/powerpc/include/asm/
H A Dptrace.h84 unsigned long mas2; member
/openbmc/linux/arch/powerpc/kernel/
H A Dkvm.c469 kvm_patch_ins_ld(inst, magic_var(mas2), inst_rt); in kvm_check_ins()
571 kvm_patch_ins_std(inst, magic_var(mas2), inst_rt); in kvm_check_ins()
H A Dasm-offsets.c312 STACK_PT_REGS_OFFSET(MAS2, mas2); in main()
414 OFFSET(VCPU_SHARED_MAS2, kvm_vcpu_arch_shared, mas2); in main()

12