/openbmc/linux/arch/powerpc/kvm/ |
H A D | trace_booke.h | 73 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 D | e500_mmu.c | 143 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 D | e500_mmu_host.c | 78 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 D | e500_emulate.c | 231 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 D | e500.c | 336 tlbe->mas2 = 0; in kvmppc_e500_tlb_setup() 342 tlbe->mas2 = (0xe0004500 & 0xFFFFF000) | MAS2_I | MAS2_G; in kvmppc_e500_tlb_setup()
|
H A D | e500.h | 158 return tlbe->mas2 & MAS2_EPN; in get_tlb_eaddr()
|
/openbmc/u-boot/arch/powerpc/cpu/mpc85xx/ |
H A D | cpu_init_early.c | 83 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 D | tlb.c | 35 tlb_table[i].mas2, in init_tlbs()
|
/openbmc/linux/arch/powerpc/mm/nohash/ |
H A D | e500_hugetlbpage.c | 121 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 D | qemu-ppce500.c | 34 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 D | kvm_para.h | 55 __u64 mas2; member
|
H A D | kvm.h | 260 __u64 mas2; member 369 __u64 mas2; member
|
/openbmc/qemu/target/ppc/ |
H A D | mmu_common.c | 418 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 D | mmu-booke.c | 240 __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 D | mmu_helper.c | 1015 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 D | machine.c | 645 VMSTATE_UINT64(mas2, ppcmas_tlb_t),
|
/openbmc/u-boot/arch/powerpc/include/asm/ |
H A D | mmu.h | 525 .mas2 = FSL_BOOKE_MAS2(_epn, _wimge), \ 532 u32 mas2; member
|
/openbmc/linux/arch/powerpc/xmon/ |
H A D | xmon.c | 3908 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 D | ppce500_spin.c | 83 tlb->mas2 = (va & TARGET_PAGE_MASK) | MAS2_M; in mmubooke_create_initial_mapping()
|
H A D | e500.c | 764 tlb->mas2 = 0; in mmubooke_create_initial_mapping()
|
/openbmc/linux/tools/arch/powerpc/include/uapi/asm/ |
H A D | kvm.h | 260 __u64 mas2; member 369 __u64 mas2; member
|
/openbmc/qemu/linux-headers/asm-powerpc/ |
H A D | kvm.h | 259 __u64 mas2; member 368 __u64 mas2; member
|
/openbmc/linux/arch/powerpc/include/asm/ |
H A D | ptrace.h | 84 unsigned long mas2; member
|
/openbmc/linux/arch/powerpc/kernel/ |
H A D | kvm.c | 469 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 D | asm-offsets.c | 312 STACK_PT_REGS_OFFSET(MAS2, mas2); in main() 414 OFFSET(VCPU_SHARED_MAS2, kvm_vcpu_arch_shared, mas2); in main()
|