Searched refs:mas4 (Results 1 – 10 of 10) sorted by relevance
/Linux-v4.19/arch/powerpc/mm/ |
D | tlb_nohash.c | 610 unsigned int mas4; in early_init_this_mmu() local 614 mas4 = 0x4 << MAS4_WIMGED_SHIFT; in early_init_this_mmu() 617 mas4 |= MAS4_INDD; in early_init_this_mmu() 618 mas4 |= BOOK3E_PAGESZ_2M << MAS4_TSIZED_SHIFT; in early_init_this_mmu() 619 mas4 |= MAS4_TLBSELD(1); in early_init_this_mmu() 624 mas4 |= MAS4_INDD; in early_init_this_mmu() 626 mas4 |= BOOK3E_PAGESZ_256M << MAS4_TSIZED_SHIFT; in early_init_this_mmu() 629 mas4 |= BOOK3E_PAGESZ_1M << MAS4_TSIZED_SHIFT; in early_init_this_mmu() 636 mas4 |= BOOK3E_PAGESZ_64K << MAS4_TSIZED_SHIFT; in early_init_this_mmu() 638 mas4 |= BOOK3E_PAGESZ_4K << MAS4_TSIZED_SHIFT; in early_init_this_mmu() [all …]
|
/Linux-v4.19/arch/powerpc/kvm/ |
D | e500_mmu.c | 137 tlbsel = (vcpu->arch.shared->mas4 >> 28) & 0x1; in kvmppc_e500_deliver_tlb_miss() 139 tsized = (vcpu->arch.shared->mas4 >> 7) & 0x1f; in kvmppc_e500_deliver_tlb_miss() 147 | (vcpu->arch.shared->mas4 & MAS2_ATTRIB_MASK); in kvmppc_e500_deliver_tlb_miss() 372 tlbsel = vcpu->arch.shared->mas4 >> 28 & 0x1; in kvmppc_e500_emul_tlbsx() 381 | (vcpu->arch.shared->mas4 & MAS4_TSIZED(~0)); in kvmppc_e500_emul_tlbsx() 383 vcpu->arch.shared->mas2 |= vcpu->arch.shared->mas4 & in kvmppc_e500_emul_tlbsx() 580 sregs->u.e.mas4 = vcpu->arch.shared->mas4; in kvmppc_get_sregs_e500_tlb() 597 vcpu->arch.shared->mas4 = sregs->u.e.mas4; in kvmppc_set_sregs_e500_tlb() 624 *val = get_reg_val(id, vcpu->arch.shared->mas4); in kvmppc_get_one_reg_e500_tlb() 677 vcpu->arch.shared->mas4 = set_reg_val(id, *val); in kvmppc_set_one_reg_e500_tlb()
|
D | e500_mmu_host.c | 112 u32 mas4; in get_host_mas0() local 116 mas4 = mfspr(SPRN_MAS4); in get_host_mas0() 117 mtspr(SPRN_MAS4, mas4 & ~MAS4_TLBSEL_MASK); in get_host_mas0() 120 mtspr(SPRN_MAS4, mas4); in get_host_mas0()
|
D | e500_emulate.c | 242 vcpu->arch.shared->mas4 = spr_val; in kvmppc_core_emulate_mtspr_e500() 347 *spr_val = vcpu->arch.shared->mas4; in kvmppc_core_emulate_mfspr_e500()
|
D | e500.h | 319 unsigned int tidseld = (vcpu->arch.shared->mas4 >> 16) & 0xf; in get_tlbmiss_tid()
|
/Linux-v4.19/arch/powerpc/include/uapi/asm/ |
D | kvm_para.h | 56 __u32 mas4; member
|
D | kvm.h | 262 __u32 mas4; member
|
/Linux-v4.19/arch/powerpc/kernel/ |
D | kvm.c | 487 kvm_patch_ins_lwz(inst, magic_var(mas4), inst_rt); in kvm_check_ins() 589 kvm_patch_ins_stw(inst, magic_var(mas4), inst_rt); in kvm_check_ins()
|
D | asm-offsets.c | 483 OFFSET(VCPU_SHARED_MAS4, kvm_vcpu_arch_shared, mas4); in main()
|
/Linux-v4.19/tools/arch/powerpc/include/uapi/asm/ |
D | kvm.h | 262 __u32 mas4; member
|