Home
last modified time | relevance | path

Searched refs:asce (Results 1 – 10 of 10) sorted by relevance

/arch/s390/include/asm/
Dtlbflush.h20 static inline void __tlb_flush_idte(unsigned long asce) in __tlb_flush_idte() argument
25 : : "a" (2048), "a" (asce) : "cc"); in __tlb_flush_idte()
31 static inline void __tlb_flush_idte_local(unsigned long asce) in __tlb_flush_idte_local() argument
36 : : "a" (2048), "a" (asce) : "cc"); in __tlb_flush_idte_local()
87 static inline void __tlb_flush_asce(struct mm_struct *mm, unsigned long asce) in __tlb_flush_asce() argument
96 __tlb_flush_idte_local(asce); in __tlb_flush_asce()
99 __tlb_flush_idte(asce); in __tlb_flush_asce()
114 __tlb_flush_idte(init_mm.context.asce); in __tlb_flush_kernel()
125 static inline void __tlb_flush_asce(struct mm_struct *mm, unsigned long asce) in __tlb_flush_asce() argument
128 __tlb_flush_idte_local(asce); in __tlb_flush_asce()
[all …]
Dmmu_context.h38 mm->context.asce = __pa(mm->pgd) | _ASCE_TABLE_LENGTH | in init_new_context()
43 mm->context.asce = __pa(mm->pgd) | _ASCE_TABLE_LENGTH | in init_new_context()
48 mm->context.asce = __pa(mm->pgd) | _ASCE_TABLE_LENGTH | in init_new_context()
61 S390_lowcore.user_asce = mm->context.asce; in set_user_asce()
77 unsigned long asce; in load_kernel_asce() local
79 __ctl_store(asce, 1, 1); in load_kernel_asce()
80 if (asce != S390_lowcore.kernel_asce) in load_kernel_asce()
90 S390_lowcore.user_asce = next->context.asce; in switch_mm()
Dmmu.h14 unsigned long asce; member
Dpgtable.h773 unsigned long asce; member
/arch/s390/kvm/
Dgaccess.c15 union asce { union
254 unsigned long asce : 64; /* Address-Space-Control Element */ member
359 static int ar_translation(struct kvm_vcpu *vcpu, union asce *asce, ar_t ar, in ar_translation() argument
377 asce->val = vcpu->arch.sie_block->gcr[1]; in ar_translation()
380 asce->val = vcpu->arch.sie_block->gcr[7]; in ar_translation()
444 asce->val = aste.asce; in ar_translation()
463 static int get_vcpu_asce(struct kvm_vcpu *vcpu, union asce *asce, in get_vcpu_asce() argument
477 asce->val = 0; in get_vcpu_asce()
478 asce->r = 1; in get_vcpu_asce()
484 asce->val = vcpu->arch.sie_block->gcr[1]; in get_vcpu_asce()
[all …]
/arch/s390/mm/
Dfault.c129 static void dump_pagetable(unsigned long asce, unsigned long address) in dump_pagetable() argument
131 unsigned long *table = __va(asce & PAGE_MASK); in dump_pagetable()
133 pr_alert("AS:%016lx ", asce); in dump_pagetable()
134 switch (asce & _ASCE_TYPE_MASK) { in dump_pagetable()
184 unsigned long asce; in dump_fault_info() local
203 asce = S390_lowcore.kernel_asce; in dump_fault_info()
209 asce = gmap->asce; in dump_fault_info()
214 asce = S390_lowcore.user_asce; in dump_fault_info()
218 dump_pagetable(asce, regs->int_parm_long & __FAIL_ADDR_MASK); in dump_fault_info()
Dinit.c92 init_mm.context.asce = (__pa(init_mm.pgd) & PAGE_MASK) | asce_bits; in paging_init()
93 S390_lowcore.kernel_asce = init_mm.context.asce; in paging_init()
Dpgtable.c69 mm->context.asce = __pa(mm->pgd) | _ASCE_TABLE_LENGTH | in crst_table_upgrade()
93 mm->context.asce = __pa(mm->pgd) | _ASCE_TABLE_LENGTH | in crst_table_downgrade()
151 gmap->asce = atype | _ASCE_TABLE_LENGTH | in gmap_alloc()
169 __tlb_flush_idte(gmap->asce); in gmap_flush_tlb()
208 __tlb_flush_idte(gmap->asce); in gmap_free()
483 if ((gmap->asce & _ASCE_TYPE_MASK) >= _ASCE_TYPE_REGION1) { in __gmap_link()
491 if ((gmap->asce & _ASCE_TYPE_MASK) >= _ASCE_TYPE_REGION2) { in __gmap_link()
499 if ((gmap->asce & _ASCE_TYPE_MASK) >= _ASCE_TYPE_REGION3) { in __gmap_link()
/arch/s390/kernel/
Dentry.S293 lctlg %c1,%c1,__GMAP_ASCE(%r14) # load primary asce
308 lctlg %c1,%c1,__LC_USER_ASCE # load primary asce
454 # _CIF_ASCE is set, load user space asce
458 lctlg %c1,%c1,__LC_USER_ASCE # load primary asce
799 # _CIF_ASCE is set, load user space asce
803 lctlg %c1,%c1,__LC_USER_ASCE # load primary asce
1202 lctlg %c1,%c1,__LC_USER_ASCE # load primary asce
Dasm-offsets.c193 OFFSET(__GMAP_ASCE, gmap, asce); in main()