/kernel/linux/linux-5.10/arch/s390/kvm/ |
D | gaccess.c | 19 union asce { union 258 unsigned long asce : 64; /* Address-Space-Control Element */ member 379 static int ar_translation(struct kvm_vcpu *vcpu, union asce *asce, u8 ar, in ar_translation() argument 397 asce->val = vcpu->arch.sie_block->gcr[1]; in ar_translation() 400 asce->val = vcpu->arch.sie_block->gcr[7]; in ar_translation() 464 asce->val = aste.asce; in ar_translation() 554 static int get_vcpu_asce(struct kvm_vcpu *vcpu, union asce *asce, in get_vcpu_asce() argument 561 asce->val = 0; in get_vcpu_asce() 562 asce->r = 1; in get_vcpu_asce() 571 asce->val = vcpu->arch.sie_block->gcr[1]; in get_vcpu_asce() [all …]
|
D | vsie.c | 1177 unsigned long asce; in acquire_gmap_shadow() local 1182 asce = vcpu->arch.sie_block->gcr[1]; in acquire_gmap_shadow() 1192 if (vsie_page->gmap && gmap_shadow_valid(vsie_page->gmap, asce, edat)) in acquire_gmap_shadow() 1197 gmap = gmap_shadow(vcpu->arch.gmap, asce, edat); in acquire_gmap_shadow()
|
D | pv.c | 188 uvcb.guest_asce = kvm->arch.gmap->asce; in kvm_s390_pv_init_vm()
|
D | kvm-s390.c | 897 (void *) kvm->arch.gmap->asce); in kvm_s390_set_mem_control()
|
/kernel/linux/linux-5.10/arch/s390/mm/ |
D | pgalloc.c | 75 S390_lowcore.user_asce = mm->context.asce; in __crst_table_upgrade() 128 mm->context.asce = __pa(mm->pgd) | _ASCE_TABLE_LENGTH | in crst_table_upgrade() 137 mm->context.asce = __pa(mm->pgd) | _ASCE_TABLE_LENGTH | in crst_table_upgrade() 527 void base_asce_free(unsigned long asce) in base_asce_free() argument 529 unsigned long table = asce & _ASCE_ORIGIN; in base_asce_free() 531 if (!asce) in base_asce_free() 533 switch (asce & _ASCE_TYPE_MASK) { in base_asce_free() 581 unsigned long asce, table, end; in base_asce_alloc() local 592 asce = table | _ASCE_TYPE_SEGMENT | _ASCE_TABLE_LENGTH; in base_asce_alloc() 598 asce = table | _ASCE_TYPE_REGION3 | _ASCE_TABLE_LENGTH; in base_asce_alloc() [all …]
|
D | pgtable.c | 50 unsigned long opt, asce; in ptep_ipte_local() local 54 asce = READ_ONCE(mm->context.gmap_asce); in ptep_ipte_local() 55 if (asce == 0UL || nodat) in ptep_ipte_local() 57 if (asce != -1UL) { in ptep_ipte_local() 58 asce = asce ? : mm->context.asce; in ptep_ipte_local() 61 __ptep_ipte(addr, ptep, opt, asce, IPTE_LOCAL); in ptep_ipte_local() 70 unsigned long opt, asce; in ptep_ipte_global() local 74 asce = READ_ONCE(mm->context.gmap_asce); in ptep_ipte_global() 75 if (asce == 0UL || nodat) in ptep_ipte_global() 77 if (asce != -1UL) { in ptep_ipte_global() [all …]
|
D | fault.c | 111 static void dump_pagetable(unsigned long asce, unsigned long address) in dump_pagetable() argument 113 unsigned long *table = __va(asce & _ASCE_ORIGIN); in dump_pagetable() 115 pr_alert("AS:%016lx ", asce); in dump_pagetable() 116 switch (asce & _ASCE_TYPE_MASK) { in dump_pagetable() 166 unsigned long asce; in dump_fault_info() local 188 asce = S390_lowcore.user_asce; in dump_fault_info() 192 asce = S390_lowcore.vdso_asce; in dump_fault_info() 196 asce = ((struct gmap *) S390_lowcore.gmap)->asce; in dump_fault_info() 200 asce = S390_lowcore.kernel_asce; in dump_fault_info() 207 dump_pagetable(asce, regs->int_parm_long & __FAIL_ADDR_MASK); in dump_fault_info()
|
D | gmap.c | 79 gmap->asce = atype | _ASCE_TABLE_LENGTH | in gmap_alloc() 109 gmap_asce = gmap->asce; in gmap_create() 121 __tlb_flush_idte(gmap->asce); in gmap_flush_tlb() 260 struct gmap, list)->asce; in gmap_remove() 555 if ((gmap->asce & _ASCE_TYPE_MASK) >= _ASCE_TYPE_REGION1) { in __gmap_link() 563 if ((gmap->asce & _ASCE_TYPE_MASK) >= _ASCE_TYPE_REGION2) { in __gmap_link() 571 if ((gmap->asce & _ASCE_TYPE_MASK) >= _ASCE_TYPE_REGION3) { in __gmap_link() 791 const int asce_type = gmap->asce & _ASCE_TYPE_MASK; in gmap_table_walk() 1273 static inline void gmap_idte_one(unsigned long asce, unsigned long vaddr) in gmap_idte_one() argument 1277 : : "a" (asce), "a" (vaddr) : "cc", "memory"); in gmap_idte_one() [all …]
|
D | init.c | 103 init_mm.context.asce = (__pa(init_mm.pgd) & PAGE_MASK) | asce_bits; in paging_init() 104 S390_lowcore.kernel_asce = init_mm.context.asce; in paging_init()
|
/kernel/linux/linux-5.10/arch/s390/include/asm/ |
D | tlbflush.h | 20 static inline void __tlb_flush_idte(unsigned long asce) in __tlb_flush_idte() argument 30 : : "a" (opt), "a" (asce) : "cc"); in __tlb_flush_idte() 65 __tlb_flush_idte(mm->context.asce); in __tlb_flush_mm() 77 __tlb_flush_idte(init_mm.context.asce); in __tlb_flush_kernel()
|
D | gmap.h | 55 unsigned long asce; member 126 struct gmap *gmap_shadow(struct gmap *parent, unsigned long asce, 128 int gmap_shadow_valid(struct gmap *sg, unsigned long asce, int edat_level);
|
D | mmu_context.h | 66 mm->context.asce = __pa(mm->pgd) | _ASCE_TABLE_LENGTH | in init_new_context() 76 S390_lowcore.user_asce = mm->context.asce; in set_user_asce() 96 S390_lowcore.user_asce = next->context.asce; in switch_mm()
|
D | mmu.h | 16 unsigned long asce; member
|
D | pgtable.h | 591 unsigned long address, unsigned long asce) in crdte() argument 600 : "d" (reg3), "d" (reg4), "d" (reg5), "a" (asce) in crdte() 1007 unsigned long opt, unsigned long asce, in __ptep_ipte() argument 1022 opt = opt | (asce & _ASCE_ORIGIN); in __ptep_ipte() 1488 unsigned long opt, unsigned long asce, in __pmdp_idte() argument 1508 [r3] "a" (asce), [m4] "i" (local) in __pmdp_idte() 1514 unsigned long opt, unsigned long asce, in __pudp_idte() argument 1535 [r3] "a" (asce), [m4] "i" (local) in __pudp_idte()
|
D | pgalloc.h | 154 void base_asce_free(unsigned long asce);
|
/kernel/linux/linux-5.10/arch/s390/lib/ |
D | uaccess.c | 66 unsigned long asce, cr; in enable_sacf_uaccess() local 75 asce = S390_lowcore.kernel_asce; in enable_sacf_uaccess() 82 asce = S390_lowcore.user_asce; in enable_sacf_uaccess() 85 if (cr != asce) { in enable_sacf_uaccess() 86 __ctl_load(asce, 7, 7); in enable_sacf_uaccess()
|
/kernel/linux/linux-5.10/drivers/s390/char/ |
D | sclp_sd.c | 287 unsigned long page, asce = 0; in sclp_sd_store_data() local 310 asce = base_asce_alloc((unsigned long) data, dsize); in sclp_sd_store_data() 311 if (!asce) { in sclp_sd_store_data() 318 rc = sclp_sd_sync(page, SD_EQ_STORE_DATA, di, asce, (u64) data, &dsize, in sclp_sd_store_data() 334 base_asce_free(asce); in sclp_sd_store_data()
|
D | sclp_diag.h | 59 u64 asce; member
|
D | sclp_ftp.c | 109 sccb->evbuf.mdd.ftp.asce = _ASCE_REAL_SPACE; in sclp_ftp_et7()
|
/kernel/linux/linux-5.10/arch/s390/kernel/ |
D | entry.S | 331 lctlg %c1,%c1,__GMAP_ASCE(%r14) # load primary asce 346 lctlg %c1,%c1,__LC_USER_ASCE # load primary asce 500 # _CIF_ASCE_PRIMARY and/or _CIF_ASCE_SECONDARY set, load user space asce 504 lctlg %c7,%c7,__LC_VDSO_ASCE # load secondary asce 511 lctlg %c1,%c1,__LC_USER_ASCE # load primary asce 879 # _CIF_ASCE_PRIMARY and/or CIF_ASCE_SECONDARY set, load user space asce 883 lctlg %c7,%c7,__LC_VDSO_ASCE # load secondary asce 890 lctlg %c1,%c1,__LC_USER_ASCE # load primary asce 1294 lctlg %c1,%c1,__LC_USER_ASCE # load primary asce
|
D | asm-offsets.c | 172 OFFSET(__GMAP_ASCE, gmap, asce); in main()
|