/kernel/linux/linux-5.10/arch/powerpc/kvm/ |
D | trace_booke.h | 88 TP_PROTO(__u32 mas0, __u32 mas8, __u32 mas1, __u64 mas2, __u64 mas7_3), 89 TP_ARGS(mas0, mas8, mas1, mas2, mas7_3), 94 __field( __u32, mas1 ) 102 __entry->mas1 = mas1; 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), 118 __field( __u32, mas1 ) 125 __entry->mas1 = mas1; 131 __entry->mas0, __entry->mas1,
|
D | e500.h | 153 return (tlbe->mas1 >> 7) & 0x1f; in get_tlb_size() 181 return (tlbe->mas1 >> 16) & 0xff; in get_tlb_tid() 187 return (tlbe->mas1 >> 12) & 0x1; in get_tlb_ts() 193 return (tlbe->mas1 >> 31) & 0x1; in get_tlb_v() 199 return (tlbe->mas1 >> 30) & 0x1; in get_tlb_iprot() 205 return (tlbe->mas1 & MAS1_TSIZE_MASK) >> MAS1_TSIZE_SHIFT; in get_tlb_tsize() 289 #define get_tlb_sts(gtlbe) (gtlbe->mas1 & MAS1_TS)
|
D | e500_mmu.c | 140 vcpu->arch.shared->mas1 = MAS1_VALID | (as ? MAS1_TS : 0) in kvmppc_e500_deliver_tlb_miss() 223 gtlbe->mas1 = 0; in kvmppc_e500_gtlbe_invalidate() 334 vcpu->arch.shared->mas1 = gtlbe->mas1; in kvmppc_e500_emul_tlbre() 362 vcpu->arch.shared->mas1 = gtlbe->mas1; in kvmppc_e500_emul_tlbsx() 375 vcpu->arch.shared->mas1 = in kvmppc_e500_emul_tlbsx() 410 gtlbe->mas1 = vcpu->arch.shared->mas1; in kvmppc_e500_emul_tlbwe() 416 trace_kvm_booke206_gtlb_write(vcpu->arch.shared->mas0, gtlbe->mas1, in kvmppc_e500_emul_tlbwe() 439 gtlbe->mas1 &= ~MAS1_TSIZE(~0); in kvmppc_e500_emul_tlbwe() 440 gtlbe->mas1 |= MAS1_TSIZE(BOOK3E_PAGESZ_4K); in kvmppc_e500_emul_tlbwe() 570 sregs->u.e.mas1 = vcpu->arch.shared->mas1; in kvmppc_get_sregs_e500_tlb() [all …]
|
D | e500_mmu_host.c | 77 mtspr(SPRN_MAS1, stlbe->mas1); in __write_host_tlbe() 93 trace_kvm_booke206_stlb_write(mas0, stlbe->mas8, stlbe->mas1, in __write_host_tlbe() 151 stlbe->mas1 |= MAS1_TID(stid); in write_stlbe() 172 magic.mas1 = MAS1_VALID | MAS1_TS | MAS1_TID(stid) | in kvmppc_map_magic() 316 stlbe->mas1 = MAS1_TSIZE(tsize) | get_tlb_sts(gtlbe) | MAS1_VALID; in kvmppc_e500_setup_stlbe() 389 tsize = (gtlbe->mas1 & MAS1_TSIZE_MASK) >> in kvmppc_e500_shadow_map() 428 tsize = (gtlbe->mas1 & MAS1_TSIZE_MASK) >> in kvmppc_e500_shadow_map() 632 u32 mas1, mas2, mas3; in kvmppc_load_last_inst() local 651 mas1 = mfspr(SPRN_MAS1); in kvmppc_load_last_inst() 665 if (!(mas1 & MAS1_VALID)) in kvmppc_load_last_inst() [all …]
|
D | e500_emulate.c | 228 vcpu->arch.shared->mas1 = spr_val; in kvmppc_core_emulate_mtspr_e500() 341 *spr_val = vcpu->arch.shared->mas1; in kvmppc_core_emulate_mfspr_e500()
|
D | e500.c | 335 tlbe->mas1 = MAS1_VALID | MAS1_TSIZE(BOOK3E_PAGESZ_256M); in kvmppc_e500_tlb_setup() 341 tlbe->mas1 = MAS1_VALID | MAS1_TSIZE(BOOK3E_PAGESZ_4K); in kvmppc_e500_tlb_setup()
|
/kernel/linux/linux-5.10/arch/powerpc/mm/nohash/ |
D | book3e_hugetlbpage.c | 128 unsigned long mas1, mas2; in book3e_hugetlb_preload() local 161 mas1 = MAS1_VALID | MAS1_TID(mm->context.id) | MAS1_TSIZE(tsize); in book3e_hugetlb_preload() 169 mtspr(SPRN_MAS1, mas1); in book3e_hugetlb_preload()
|
/kernel/linux/linux-5.10/arch/powerpc/include/asm/nohash/ |
D | mmu-book3e.h | 66 #define MAS1_GET_TSIZE(mas1) (((mas1) & MAS1_TSIZE_MASK) >> MAS1_TSIZE_SHIFT) argument
|
/kernel/linux/linux-5.10/arch/powerpc/include/uapi/asm/ |
D | kvm_para.h | 53 __u32 mas1; member
|
D | kvm.h | 259 __u32 mas1; member 368 __u32 mas1; member
|
/kernel/linux/linux-5.10/tools/arch/powerpc/include/uapi/asm/ |
D | kvm.h | 259 __u32 mas1; member 368 __u32 mas1; member
|
/kernel/linux/linux-5.10/arch/powerpc/xmon/ |
D | xmon.c | 3840 u32 mas1 = MAS1_TSIZE(BOOK3E_PAGESZ_4K); in dump_tlb_book3e() local 3853 mtspr(SPRN_MAS1, mas1); in dump_tlb_book3e() 3856 mas1 = mfspr(SPRN_MAS1); in dump_tlb_book3e() 3861 if (!(mas1 & MAS1_VALID)) in dump_tlb_book3e() 3872 (mas1 >> 16) & 0x3fff, in dump_tlb_book3e() 3873 pgsz_names[(mas1 >> 7) & 0x1f], in dump_tlb_book3e() 3874 mas1 & MAS1_IND ? 'I' : ' ', in dump_tlb_book3e() 3875 mas1 & MAS1_IPROT ? 'P' : ' ', in dump_tlb_book3e() 3876 mas1 & MAS1_TS ? '1' : '0'); in dump_tlb_book3e() 3886 if (mas1 & MAS1_IND) in dump_tlb_book3e()
|
/kernel/linux/linux-5.10/arch/powerpc/kernel/ |
D | kvm.c | 465 kvm_patch_ins_lwz(inst, magic_var(mas1), inst_rt); in kvm_check_ins() 567 kvm_patch_ins_stw(inst, magic_var(mas1), inst_rt); in kvm_check_ins()
|
D | head_booke.h | 521 unsigned long mas1; member
|
D | asm-offsets.c | 367 DEFINE(MAS1, STACK_INT_FRAME_SIZE+offsetof(struct exception_regs, mas1)); in main() 509 OFFSET(VCPU_SHARED_MAS1, kvm_vcpu_arch_shared, mas1); in main()
|
/kernel/linux/linux-5.10/Documentation/virt/kvm/ |
D | api.rst | 5458 - The tsize field of mas1 shall be set to 4K on TLB0, even though the
|