Home
last modified time | relevance | path

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

/linux-4.1.27/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 …]
/linux-4.1.27/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()
86 static inline void __tlb_flush_asce(struct mm_struct *mm, unsigned long asce) in __tlb_flush_asce() argument
95 __tlb_flush_idte_local(asce); in __tlb_flush_asce()
98 __tlb_flush_idte(asce); in __tlb_flush_asce()
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()
Dmmu_context.h61 unsigned long asce; in load_kernel_asce() local
63 __ctl_store(asce, 1, 1); in load_kernel_asce()
64 if (asce != S390_lowcore.kernel_asce) in load_kernel_asce()
Dpgtable.h711 unsigned long asce; member
/linux-4.1.27/arch/s390/mm/
Dfault.c128 static void dump_pagetable(unsigned long asce, unsigned long address) in dump_pagetable() argument
130 unsigned long *table = __va(asce & PAGE_MASK); in dump_pagetable()
132 pr_alert("AS:%016lx ", asce); in dump_pagetable()
133 switch (asce & _ASCE_TYPE_MASK) { in dump_pagetable()
183 unsigned long asce; in dump_fault_info() local
202 asce = S390_lowcore.kernel_asce; in dump_fault_info()
208 asce = gmap->asce; in dump_fault_info()
213 asce = S390_lowcore.user_asce; in dump_fault_info()
217 dump_pagetable(asce, regs->int_parm_long & __FAIL_ADDR_MASK); in dump_fault_info()
Dpgtable.c187 gmap->asce = atype | _ASCE_TABLE_LENGTH | in gmap_alloc()
205 __tlb_flush_asce(gmap->mm, gmap->asce); in gmap_flush_tlb()
244 __tlb_flush_asce(gmap->mm, gmap->asce); in gmap_free()
519 if ((gmap->asce & _ASCE_TYPE_MASK) >= _ASCE_TYPE_REGION1) { in __gmap_link()
527 if ((gmap->asce & _ASCE_TYPE_MASK) >= _ASCE_TYPE_REGION2) { in __gmap_link()
535 if ((gmap->asce & _ASCE_TYPE_MASK) >= _ASCE_TYPE_REGION3) { in __gmap_link()
/linux-4.1.27/drivers/s390/char/
Dsclp_diag.h58 u64 asce; member
Dsclp_ftp.c108 sccb->evbuf.mdd.ftp.asce = _ASCE_REAL_SPACE; in sclp_ftp_et7()
/linux-4.1.27/arch/s390/kernel/
Dentry.S102 lctlg %c1,%c1,__LC_USER_ASCE # load primary asce
298 # _CIF_ASCE is set, load user space asce
302 lctlg %c1,%c1,__LC_USER_ASCE # load primary asce
599 # _CIF_ASCE is set, load user space asce
603 lctlg %c1,%c1,__LC_USER_ASCE # load primary asce
1004 lctlg %c1,%c1,__GMAP_ASCE(%r14) # load primary asce
1015 lctlg %c1,%c1,__LC_USER_ASCE # load primary asce
Dasm-offsets.c180 DEFINE(__GMAP_ASCE, offsetof(struct gmap, asce)); in main()
/linux-4.1.27/Documentation/s390/
DDebugging390.txt278 - cr1 contains the user asce
279 - cr7 contains the user asce
280 - cr13 contains the kernel asce
284 - cr1 contains the user or kernel asce
285 -> the kernel asce is loaded when a uaccess requires primary or
287 - cr7 contains the user or kernel asce, (changed with set_fs())
288 - cr13 contains the kernel asce
299 to contain the gmap asce before the SIE instruction gets executed. When
301 user asce.