/linux-6.3-rc2/arch/s390/kvm/ |
A D | gaccess.c | 20 union asce { union 465 asce->val = aste.asce; in ar_translation() 633 unsigned long *gpa, const union asce asce, in guest_translate() argument 649 if (asce.r) in guest_translate() 803 const union asce asce) in low_address_protection_enabled() argument 845 union asce asce) in fetch_prot_override_applicable() argument 879 enum gacc_mode mode, union asce asce, gpa_t gpa, in vcpu_check_access_key() argument 1076 union asce asce; in access_guest_with_key() local 1292 union asce asce; in guest_translate_address_with_key() local 1315 union asce asce; in check_gva_range() local [all …]
|
A D | vsie.c | 1192 unsigned long asce; in acquire_gmap_shadow() local 1197 asce = vcpu->arch.sie_block->gcr[1]; in acquire_gmap_shadow() 1207 if (vsie_page->gmap && gmap_shadow_valid(vsie_page->gmap, asce, edat)) in acquire_gmap_shadow() 1212 gmap = gmap_shadow(vcpu->arch.gmap, asce, edat); in acquire_gmap_shadow()
|
A D | pv.c | 550 uvcb.guest_asce = kvm->arch.gmap->asce; in kvm_s390_pv_init_vm()
|
A D | kvm-s390.c | 985 (void *) kvm->arch.gmap->asce); in kvm_s390_set_mem_control()
|
/linux-6.3-rc2/arch/s390/mm/ |
A D | pgalloc.c | 75 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() 624 void base_asce_free(unsigned long asce) in base_asce_free() argument 626 unsigned long *table = __va(asce & _ASCE_ORIGIN); in base_asce_free() 628 if (!asce) in base_asce_free() 630 switch (asce & _ASCE_TYPE_MASK) { in base_asce_free() 678 unsigned long asce, *table, end; in base_asce_alloc() local 710 base_asce_free(asce); in base_asce_alloc() 711 asce = 0; in base_asce_alloc() [all …]
|
A D | gmap.c | 108 gmap_asce = gmap->asce; in gmap_create() 120 __tlb_flush_idte(gmap->asce); in gmap_flush_tlb() 1542 unsigned long asce; in __gmap_unshadow_r1t() local 1555 gmap_idte_one(asce, raddr); in __gmap_unshadow_r1t() 1675 if (asce & _ASCE_REAL_SPACE) in gmap_shadow() 1682 new->orig_asce = asce; in gmap_shadow() 1693 if (asce & _ASCE_REAL_SPACE) { in gmap_shadow() 1708 if (asce & _ASCE_REAL_SPACE) { in gmap_shadow() 2844 unsigned long asce; in s390_replace_asce() local 2866 asce = (gmap->asce & ~_ASCE_ORIGIN) | __pa(table); in s390_replace_asce() [all …]
|
A 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() 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() 390 mm->context.asce, IDTE_LOCAL); in pmdp_idte_local() [all …]
|
A D | fault.c | 124 static void dump_pagetable(unsigned long asce, unsigned long address) in dump_pagetable() argument 126 unsigned long *table = __va(asce & _ASCE_ORIGIN); in dump_pagetable() 128 pr_alert("AS:%016lx ", asce); in dump_pagetable() 129 switch (asce & _ASCE_TYPE_MASK) { in dump_pagetable() 179 unsigned long asce; in dump_fault_info() local 201 asce = S390_lowcore.user_asce; in dump_fault_info() 205 asce = ((struct gmap *) S390_lowcore.gmap)->asce; in dump_fault_info() 209 asce = S390_lowcore.kernel_asce; in dump_fault_info() 216 dump_pagetable(asce, regs->int_parm_long & __FAIL_ADDR_MASK); in dump_fault_info()
|
/linux-6.3-rc2/arch/s390/include/asm/ |
A D | tlbflush.h | 20 static inline void __tlb_flush_idte(unsigned long asce) in __tlb_flush_idte() argument 28 asm volatile("idte 0,%1,%0" : : "a" (opt), "a" (asce) : "cc"); in __tlb_flush_idte() 63 __tlb_flush_idte(mm->context.asce); in __tlb_flush_mm() 75 __tlb_flush_idte(init_mm.context.asce); in __tlb_flush_kernel()
|
A 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);
|
A D | mmu_context.h | 67 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 D | pgtable.h | 617 unsigned long address, unsigned long asce) in crdte() argument 624 : [r2] "d" (r2.pair), [asce] "a" (asce) in crdte() 1063 unsigned long opt, unsigned long asce, in __ptep_rdp() argument 1072 [asce] "a" (asce), [m4] "i" (local)); in __ptep_rdp() 1076 unsigned long opt, unsigned long asce, in __ptep_ipte() argument 1091 opt = opt | (asce & _ASCE_ORIGIN); in __ptep_ipte() 1610 unsigned long opt, unsigned long asce, in __pmdp_idte() argument 1630 [r3] "a" (asce), [m4] "i" (local) in __pmdp_idte() 1636 unsigned long opt, unsigned long asce, in __pudp_idte() argument 1657 [r3] "a" (asce), [m4] "i" (local) in __pudp_idte()
|
A D | mmu.h | 17 unsigned long asce; member
|
A D | pgalloc.h | 151 void base_asce_free(unsigned long asce);
|
/linux-6.3-rc2/drivers/s390/char/ |
A D | sclp_sd.c | 288 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 D | sclp_diag.h | 59 u64 asce; member
|
A D | sclp_ftp.c | 112 sccb->evbuf.mdd.ftp.asce = _ASCE_REAL_SPACE; in sclp_ftp_et7()
|
/linux-6.3-rc2/arch/s390/kernel/ |
A D | entry.S | 152 lctlg %c1,%c1,__LC_KERNEL_ASCE # load primary asce 221 lctlg %c1,%c1,__GMAP_ASCE(%r14) # load primary asce 242 lctlg %c1,%c1,__LC_KERNEL_ASCE # load primary asce
|
A D | asm-offsets.c | 164 OFFSET(__GMAP_ASCE, gmap, asce); in main()
|
/linux-6.3-rc2/arch/s390/boot/ |
A D | vmem.c | 270 init_mm.context.asce = S390_lowcore.kernel_asce; in setup_vmem()
|