Home
last modified time | relevance | path

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

/linux/arch/s390/kvm/
A Dgaccess.c19 union asce { union
464 asce->val = aste.asce; in ar_translation()
562 asce->r = 1; in get_vcpu_asce()
615 unsigned long *gpa, const union asce asce, in guest_translate() argument
631 if (asce.r) in guest_translate()
785 const union asce asce) in low_address_protection_enabled() argument
799 const union asce asce, enum gacc_mode mode) in guest_page_range() argument
838 union asce asce; in access_guest() local
914 union asce asce; in guest_translate_address() local
1001 union asce asce; in kvm_s390_shadow_tables() local
[all …]
A Dvsie.c1182 unsigned long asce; in acquire_gmap_shadow() local
1187 asce = vcpu->arch.sie_block->gcr[1]; in acquire_gmap_shadow()
1197 if (vsie_page->gmap && gmap_shadow_valid(vsie_page->gmap, asce, edat)) in acquire_gmap_shadow()
1202 gmap = gmap_shadow(vcpu->arch.gmap, asce, edat); in acquire_gmap_shadow()
A Dpv.c193 uvcb.guest_asce = kvm->arch.gmap->asce; in kvm_s390_pv_init_vm()
A Dkvm-s390.c924 (void *) kvm->arch.gmap->asce); in kvm_s390_set_mem_control()
/linux/arch/s390/mm/
A Dpgalloc.c75 S390_lowcore.user_asce = mm->context.asce; in __crst_table_upgrade()
119 mm->context.asce = __pa(mm->pgd) | _ASCE_TABLE_LENGTH | in crst_table_upgrade()
128 mm->context.asce = __pa(mm->pgd) | _ASCE_TABLE_LENGTH | in crst_table_upgrade()
516 void base_asce_free(unsigned long asce) in base_asce_free() argument
518 unsigned long table = asce & _ASCE_ORIGIN; in base_asce_free()
520 if (!asce) in base_asce_free()
522 switch (asce & _ASCE_TYPE_MASK) { in base_asce_free()
570 unsigned long asce, table, end; in base_asce_alloc() local
602 base_asce_free(asce); in base_asce_alloc()
603 asce = 0; in base_asce_alloc()
[all …]
A Dpgtable.c50 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()
70 unsigned long opt, asce; in ptep_ipte_global() local
75 if (asce == 0UL || nodat) in ptep_ipte_global()
77 if (asce != -1UL) { in ptep_ipte_global()
78 asce = asce ? : mm->context.asce; in ptep_ipte_global()
365 mm->context.asce, IDTE_LOCAL); in pmdp_idte_local()
[all …]
A Dfault.c105 static void dump_pagetable(unsigned long asce, unsigned long address) in dump_pagetable() argument
107 unsigned long *table = __va(asce & _ASCE_ORIGIN); in dump_pagetable()
109 pr_alert("AS:%016lx ", asce); in dump_pagetable()
110 switch (asce & _ASCE_TYPE_MASK) { in dump_pagetable()
160 unsigned long asce; in dump_fault_info() local
182 asce = S390_lowcore.user_asce; in dump_fault_info()
186 asce = ((struct gmap *) S390_lowcore.gmap)->asce; in dump_fault_info()
190 asce = S390_lowcore.kernel_asce; in dump_fault_info()
197 dump_pagetable(asce, regs->int_parm_long & __FAIL_ADDR_MASK); in dump_fault_info()
A Dgmap.c108 gmap_asce = gmap->asce; in gmap_create()
120 __tlb_flush_idte(gmap->asce); in gmap_flush_tlb()
259 struct gmap, list)->asce; in gmap_remove()
1532 unsigned long asce, *r2t; in __gmap_unshadow_r1t() local
1544 gmap_idte_one(asce, raddr); in __gmap_unshadow_r1t()
1664 if (asce & _ASCE_REAL_SPACE) in gmap_shadow()
1671 new->orig_asce = asce; in gmap_shadow()
1682 if (asce & _ASCE_REAL_SPACE) { in gmap_shadow()
1697 if (asce & _ASCE_REAL_SPACE) { in gmap_shadow()
2381 gmap->asce, IDTE_LOCAL); in gmap_pmdp_idte_local()
[all …]
A Dinit.c108 init_mm.context.asce = (__pa(init_mm.pgd) & PAGE_MASK) | asce_bits; in paging_init()
109 S390_lowcore.kernel_asce = init_mm.context.asce; in paging_init()
/linux/arch/s390/include/asm/
A Dtlbflush.h20 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()
A Dgmap.h55 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);
A Dmmu_context.h67 mm->context.asce = __pa(mm->pgd) | _ASCE_TABLE_LENGTH | in init_new_context()
81 S390_lowcore.user_asce = next->context.asce; in switch_mm_irqs_off()
A Dpgtable.h587 unsigned long address, unsigned long asce) in crdte() argument
594 : [r2] "d" (r2.pair), [asce] "a" (asce) in crdte()
1001 unsigned long opt, unsigned long asce, in __ptep_ipte() argument
1016 opt = opt | (asce & _ASCE_ORIGIN); in __ptep_ipte()
1485 unsigned long opt, unsigned long asce, in __pmdp_idte() argument
1505 [r3] "a" (asce), [m4] "i" (local) in __pmdp_idte()
1511 unsigned long opt, unsigned long asce, in __pudp_idte() argument
1532 [r3] "a" (asce), [m4] "i" (local) in __pudp_idte()
A Dmmu.h16 unsigned long asce; member
A Dpgalloc.h151 void base_asce_free(unsigned long asce);
/linux/drivers/s390/char/
A Dsclp_sd.c288 unsigned long page, asce = 0; in sclp_sd_store_data() local
311 asce = base_asce_alloc((unsigned long) data, dsize); in sclp_sd_store_data()
312 if (!asce) { in sclp_sd_store_data()
319 rc = sclp_sd_sync(page, SD_EQ_STORE_DATA, di, asce, (u64) data, &dsize, in sclp_sd_store_data()
335 base_asce_free(asce); in sclp_sd_store_data()
A Dsclp_diag.h59 u64 asce; member
A Dsclp_ftp.c112 sccb->evbuf.mdd.ftp.asce = _ASCE_REAL_SPACE; in sclp_ftp_et7()
/linux/arch/s390/kernel/
A Dentry.S188 lctlg %c1,%c1,__LC_KERNEL_ASCE # load primary asce
256 lctlg %c1,%c1,__GMAP_ASCE(%r14) # load primary asce
271 lctlg %c1,%c1,__LC_KERNEL_ASCE # load primary asce
A Dasm-offsets.c151 OFFSET(__GMAP_ASCE, gmap, asce); in main()

Completed in 46 milliseconds