/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), 81 __field( __u64, mas7_3 ) 89 __entry->mas7_3 = mas7_3; 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), 105 __field( __u64, mas7_3 ) 112 __entry->mas7_3 = mas7_3; 117 __entry->mas2, __entry->mas7_3)
|
H A D | e500_emulate.c | 234 vcpu->arch.shared->mas7_3 &= ~(u64)0xffffffff; in kvmppc_core_emulate_mtspr_e500() 235 vcpu->arch.shared->mas7_3 |= spr_val; in kvmppc_core_emulate_mtspr_e500() 244 vcpu->arch.shared->mas7_3 &= (u64)0xffffffff; in kvmppc_core_emulate_mtspr_e500() 245 vcpu->arch.shared->mas7_3 |= (u64)spr_val << 32; in kvmppc_core_emulate_mtspr_e500() 347 *spr_val = (u32)vcpu->arch.shared->mas7_3; in kvmppc_core_emulate_mfspr_e500() 356 *spr_val = vcpu->arch.shared->mas7_3 >> 32; in kvmppc_core_emulate_mfspr_e500()
|
H A D | e500_mmu.c | 145 vcpu->arch.shared->mas7_3 &= MAS3_U0 | MAS3_U1 | MAS3_U2 | MAS3_U3; in kvmppc_e500_deliver_tlb_miss() 336 vcpu->arch.shared->mas7_3 = gtlbe->mas7_3; in kvmppc_e500_emul_tlbre() 364 vcpu->arch.shared->mas7_3 = gtlbe->mas7_3; in kvmppc_e500_emul_tlbsx() 382 vcpu->arch.shared->mas7_3 &= MAS3_U0 | MAS3_U1 | in kvmppc_e500_emul_tlbsx() 414 gtlbe->mas7_3 = vcpu->arch.shared->mas7_3; in kvmppc_e500_emul_tlbwe() 417 gtlbe->mas2, gtlbe->mas7_3); in kvmppc_e500_emul_tlbwe() 572 sregs->u.e.mas7_3 = vcpu->arch.shared->mas7_3; in kvmppc_get_sregs_e500_tlb() 589 vcpu->arch.shared->mas7_3 = sregs->u.e.mas7_3; in kvmppc_set_sregs_e500_tlb() 614 *val = get_reg_val(id, vcpu->arch.shared->mas7_3); in kvmppc_get_one_reg_e500_tlb() 667 vcpu->arch.shared->mas7_3 = set_reg_val(id, *val); in kvmppc_set_one_reg_e500_tlb()
|
H A D | e500_mmu_host.c | 79 mtspr(SPRN_MAS3, (u32)stlbe->mas7_3); in __write_host_tlbe() 80 mtspr(SPRN_MAS7, (u32)(stlbe->mas7_3 >> 32)); in __write_host_tlbe() 94 stlbe->mas2, stlbe->mas7_3); in __write_host_tlbe() 175 magic.mas7_3 = ((u64)pfn << PAGE_SHIFT) | in kvmppc_map_magic() 242 return tlbe->mas7_3 & (MAS3_SW|MAS3_UW); in tlbe_is_writable() 318 stlbe->mas7_3 = ((u64)pfn << PAGE_SHIFT) | in kvmppc_e500_setup_stlbe() 319 e500_shadow_mas3_attrib(gtlbe->mas7_3, pr); in kvmppc_e500_setup_stlbe()
|
H A D | e500.c | 337 tlbe->mas7_3 = E500_TLB_SUPER_PERM_MASK; in kvmppc_e500_tlb_setup() 343 tlbe->mas7_3 = (0xe0004500 & 0xFFFFF000) | E500_TLB_SUPER_PERM_MASK; in kvmppc_e500_tlb_setup()
|
H A D | e500.h | 175 return tlbe->mas7_3 & ~0xfffULL; in get_tlb_raddr()
|
/openbmc/linux/arch/powerpc/mm/nohash/ |
H A D | e500_hugetlbpage.c | 122 u64 mas7_3; in book3e_hugetlb_preload() local 157 mas7_3 = (u64)pte_pfn(pte) << PAGE_SHIFT; in book3e_hugetlb_preload() 158 mas7_3 |= (pte_val(pte) >> PTE_BAP_SHIFT) & MAS3_BAP_MASK; in book3e_hugetlb_preload() 160 mas7_3 &= ~(MAS3_SW|MAS3_UW); in book3e_hugetlb_preload() 166 mtspr(SPRN_MAS7, upper_32_bits(mas7_3)); in book3e_hugetlb_preload() 167 mtspr(SPRN_MAS3, lower_32_bits(mas7_3)); in book3e_hugetlb_preload()
|
/openbmc/qemu/target/ppc/ |
H A D | mmu-booke.c | 241 tlb->mas7_3, tlb->mas8); in ppcmas_tlb_check() 255 *raddrp = (tlb->mas7_3 & mask) | (address & ~mask); in ppcmas_tlb_check() 361 if (tlb->mas7_3 & MAS3_UR) { in mmubooke206_check_tlb() 364 if (tlb->mas7_3 & MAS3_UW) { in mmubooke206_check_tlb() 367 if (tlb->mas7_3 & MAS3_UX) { in mmubooke206_check_tlb() 371 if (tlb->mas7_3 & MAS3_SR) { in mmubooke206_check_tlb() 374 if (tlb->mas7_3 & MAS3_SW) { in mmubooke206_check_tlb() 377 if (tlb->mas7_3 & MAS3_SX) { in mmubooke206_check_tlb()
|
H A D | mmu_common.c | 419 pa = entry->mas7_3 & ~(size - 1); in mmubooke206_dump_one_tlb() 427 entry->mas7_3 & MAS3_SR ? 'R' : '-', in mmubooke206_dump_one_tlb() 428 entry->mas7_3 & MAS3_SW ? 'W' : '-', in mmubooke206_dump_one_tlb() 429 entry->mas7_3 & MAS3_SX ? 'X' : '-', in mmubooke206_dump_one_tlb() 430 entry->mas7_3 & MAS3_UR ? 'R' : '-', in mmubooke206_dump_one_tlb() 431 entry->mas7_3 & MAS3_UW ? 'W' : '-', in mmubooke206_dump_one_tlb() 432 entry->mas7_3 & MAS3_UX ? 'X' : '-', in mmubooke206_dump_one_tlb() 438 entry->mas7_3 & MAS3_U0 ? '0' : '-', in mmubooke206_dump_one_tlb() 439 entry->mas7_3 & MAS3_U1 ? '1' : '-', in mmubooke206_dump_one_tlb() 440 entry->mas7_3 & MAS3_U2 ? '2' : '-', in mmubooke206_dump_one_tlb() [all …]
|
H A D | mmu_helper.c | 1095 tlb->mas7_3 = ((uint64_t)env->spr[SPR_BOOKE_MAS7] << 32) | in helper_booke206_tlbwe() 1145 env->spr[SPR_BOOKE_MAS3] = tlb->mas7_3; in booke206_tlb_to_mas() 1146 env->spr[SPR_BOOKE_MAS7] = tlb->mas7_3 >> 32; in booke206_tlb_to_mas()
|
H A D | machine.c | 646 VMSTATE_UINT64(mas7_3, ppcmas_tlb_t),
|
H A D | kvm.c | 1123 env->spr[SPR_BOOKE_MAS3] = sregs.u.e.mas7_3 & 0xffffffff; in kvmppc_get_booke_sregs() 1126 env->spr[SPR_BOOKE_MAS7] = sregs.u.e.mas7_3 >> 32; in kvmppc_get_booke_sregs()
|
H A D | cpu.h | 374 uint64_t mas7_3; member
|
/openbmc/qemu/hw/ppc/ |
H A D | ppce500_spin.c | 84 tlb->mas7_3 = pa & TARGET_PAGE_MASK; in mmubooke_create_initial_mapping() 85 tlb->mas7_3 |= MAS3_UR | MAS3_UW | MAS3_UX | MAS3_SR | MAS3_SW | MAS3_SX; in mmubooke_create_initial_mapping()
|
H A D | e500.c | 765 tlb->mas7_3 = 0; in mmubooke_create_initial_mapping() 766 tlb->mas7_3 |= MAS3_UR | MAS3_UW | MAS3_UX | MAS3_SR | MAS3_SW | MAS3_SX; in mmubooke_create_initial_mapping()
|
/openbmc/linux/arch/powerpc/include/uapi/asm/ |
H A D | kvm_para.h | 54 __u64 mas7_3; member
|
H A D | kvm.h | 261 __u64 mas7_3; member 370 __u64 mas7_3; member
|
/openbmc/linux/arch/powerpc/kernel/ |
H A D | kvm.c | 473 kvm_patch_ins_lwz(inst, magic_var(mas7_3) + 4, inst_rt); in kvm_check_ins() 485 kvm_patch_ins_lwz(inst, magic_var(mas7_3), inst_rt); in kvm_check_ins() 575 kvm_patch_ins_stw(inst, magic_var(mas7_3) + 4, inst_rt); in kvm_check_ins() 587 kvm_patch_ins_stw(inst, magic_var(mas7_3), inst_rt); in kvm_check_ins()
|
H A D | asm-offsets.c | 415 OFFSET(VCPU_SHARED_MAS7_3, kvm_vcpu_arch_shared, mas7_3); in main()
|
/openbmc/linux/tools/arch/powerpc/include/uapi/asm/ |
H A D | kvm.h | 261 __u64 mas7_3; member 370 __u64 mas7_3; member
|
/openbmc/qemu/linux-headers/asm-powerpc/ |
H A D | kvm.h | 260 __u64 mas7_3; member 369 __u64 mas7_3; member
|