/linux/arch/s390/kvm/ |
H A D | gaccess.c | 103 unsigned long asce : 64; /* Address-Space-Control Element */ member 224 static int ar_translation(struct kvm_vcpu *vcpu, union asce *asce, u8 ar, in ar_translation() argument 243 asce->val = vcpu->arch.sie_block->gcr[1]; in ar_translation() 246 asce->val = vcpu->arch.sie_block->gcr[7]; in ar_translation() 310 asce->val = aste.asce; in ar_translation() 400 static int get_vcpu_asce(struct kvm_vcpu *vcpu, union asce *asce, in get_vcpu_asce() argument 407 asce->val = 0; in get_vcpu_asce() 408 asce->r = 1; in get_vcpu_asce() 417 asce->val = vcpu->arch.sie_block->gcr[1]; in get_vcpu_asce() 420 asce->val = vcpu->arch.sie_block->gcr[7]; in get_vcpu_asce() [all …]
|
H A D | gmap-vsie.c | 39 static struct gmap *gmap_find_shadow(struct gmap *parent, unsigned long asce, int edat_level) in gmap_find_shadow() argument 45 if (!gmap_shadow_valid(sg, asce, edat_level)) in gmap_find_shadow() 70 struct gmap *gmap_shadow(struct gmap *parent, unsigned long asce, int edat_level) in gmap_shadow() argument 80 sg = gmap_find_shadow(parent, asce, edat_level); in gmap_shadow() 85 limit = -1UL >> (33 - (((asce & _ASCE_TYPE_MASK) >> 2) * 11)); in gmap_shadow() 86 if (asce & _ASCE_REAL_SPACE) in gmap_shadow() 94 new->orig_asce = asce; in gmap_shadow() 99 sg = gmap_find_shadow(parent, asce, edat_level); in gmap_shadow() 105 if (asce & _ASCE_REAL_SPACE) { in gmap_shadow() 120 if (asce & _ASCE_REAL_SPACE) { in gmap_shadow() [all …]
|
H A D | gmap.h | 18 struct gmap *gmap_shadow(struct gmap *parent, unsigned long asce, int edat_level); 32 static inline int gmap_shadow_valid(struct gmap *sg, unsigned long asce, int edat_level) in gmap_shadow_valid() argument 36 return sg->orig_asce == asce && sg->edat_level == edat_level; in gmap_shadow_valid()
|
H A D | vsie.c | 1170 rc = sie64a(scb_s, vcpu->run->s.regs.gprs, vsie_page->gmap->asce); in do_vsie_run() 1228 unsigned long asce; in acquire_gmap_shadow() local 1233 asce = vcpu->arch.sie_block->gcr[1]; in acquire_gmap_shadow() 1243 if (vsie_page->gmap && gmap_shadow_valid(vsie_page->gmap, asce, edat)) { in acquire_gmap_shadow() 1250 gmap = gmap_shadow(vcpu->arch.gmap, asce, edat); in acquire_gmap_shadow()
|
H A D | pv.c | 335 if ((kvm->arch.gmap->asce & _ASCE_TYPE_MASK) == _ASCE_TYPE_SEGMENT) in kvm_s390_pv_set_aside() 575 uvcb.guest_asce = kvm->arch.gmap->asce; in kvm_s390_pv_init_vm()
|
H A D | kvm-s390.c | 1024 (void *) kvm->arch.gmap->asce); in kvm_s390_set_mem_control() 5089 vcpu->arch.gmap->asce); in __vcpu_run()
|
/linux/arch/s390/mm/ |
H A D | pgalloc.c | 69 get_lowcore()->user_asce.val = mm->context.asce; in __crst_table_upgrade() 115 mm->context.asce = __pa(mm->pgd) | _ASCE_TABLE_LENGTH | in crst_table_upgrade() 124 mm->context.asce = __pa(mm->pgd) | _ASCE_TABLE_LENGTH | in crst_table_upgrade() 415 void base_asce_free(unsigned long asce) in base_asce_free() argument 417 unsigned long *table = __va(asce & _ASCE_ORIGIN); in base_asce_free() 419 if (!asce) in base_asce_free() 421 switch (asce & _ASCE_TYPE_MASK) { in base_asce_free() 469 unsigned long asce, *table, end; in base_asce_alloc() local 480 asce = __pa(table) | _ASCE_TYPE_SEGMENT | _ASCE_TABLE_LENGTH; in base_asce_alloc() 486 asce = __pa(table) | _ASCE_TYPE_REGION3 | _ASCE_TABLE_LENGTH; in base_asce_alloc() [all …]
|
H A D | gmap.c | 96 gmap->asce = atype | _ASCE_TABLE_LENGTH | in gmap_alloc() 127 gmap_asce = gmap->asce; in gmap_create() 139 __tlb_flush_idte(gmap->asce); in gmap_flush_tlb() 295 struct gmap, list)->asce; in gmap_remove() 541 if ((gmap->asce & _ASCE_TYPE_MASK) >= _ASCE_TYPE_REGION1) { in __gmap_link() 549 if ((gmap->asce & _ASCE_TYPE_MASK) >= _ASCE_TYPE_REGION2) { in __gmap_link() 557 if ((gmap->asce & _ASCE_TYPE_MASK) >= _ASCE_TYPE_REGION3) { in __gmap_link() 741 const int asce_type = gmap->asce & _ASCE_TYPE_MASK; in gmap_table_walk() 1185 static inline void gmap_idte_one(unsigned long asce, unsigned long vaddr) in gmap_idte_one() argument 1189 : : "a" (asce), "a" (vaddr) : "cc", "memory"); in gmap_idte_one() [all …]
|
/linux/arch/s390/include/asm/ |
H A D | mmu_context.h | 67 mm->context.asce = __pa(mm->pgd) | _ASCE_TABLE_LENGTH | in init_new_context() 81 get_lowcore()->user_asce.val = next->context.asce; in switch_mm_irqs_off()
|
H A D | pgtable.h | 701 unsigned long address, unsigned long asce) in crdte() argument 708 : [r2] "d" (r2.pair), [asce] "a" (asce) in crdte() 1150 unsigned long opt, unsigned long asce, in __ptep_rdp() argument 1159 [asce] "a" (asce), [m4] "i" (local)); in __ptep_rdp() 1163 unsigned long opt, unsigned long asce, in __ptep_ipte() argument 1178 opt = opt | (asce & _ASCE_ORIGIN); in __ptep_ipte() 1714 unsigned long opt, unsigned long asce, in __pmdp_idte() argument 1734 [r3] "a" (asce), [m4] "i" (local) in __pmdp_idte() 1740 unsigned long opt, unsigned long asce, in __pudp_idte() argument 1761 [r3] "a" (asce), [m4] "i" (local) in __pudp_idte()
|
H A D | mmu.h | 16 unsigned long asce; member
|
H A D | dat-bits.h | 12 union asce { union
|
H A D | gmap.h | 52 unsigned long asce; member
|
H A D | pgalloc.h | 174 void base_asce_free(unsigned long asce);
|
/linux/drivers/s390/char/ |
H A D | sclp_diag.h | 59 u64 asce; member
|
H A D | sclp_ftp.c | 112 sccb->evbuf.mdd.ftp.asce = _ASCE_REAL_SPACE; in sclp_ftp_et7()
|
/linux/arch/s390/boot/ |
H A D | vmem.c | 562 init_mm.context.asce = get_lowcore()->kernel_asce.val; in setup_vmem()
|