Home
last modified time | relevance | path

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

/linux/arch/s390/kvm/
H A Dgaccess.c104 unsigned long asce : 64; /* Address-Space-Control Element */ member
210 static int ar_translation(struct kvm_vcpu *vcpu, union asce *asce, u8 ar, in ar_translation() argument
229 asce->val = vcpu->arch.sie_block->gcr[1]; in ar_translation()
232 asce->val = vcpu->arch.sie_block->gcr[7]; in ar_translation()
296 asce->val = aste.asce; in ar_translation()
386 static int get_vcpu_asce(struct kvm_vcpu *vcpu, union asce *asce, in get_vcpu_asce() argument
393 asce->val = 0; in get_vcpu_asce()
394 asce->r = 1; in get_vcpu_asce()
403 asce->val = vcpu->arch.sie_block->gcr[1]; in get_vcpu_asce()
406 asce->val = vcpu->arch.sie_block->gcr[7]; in get_vcpu_asce()
[all …]
H A Dvsie.c81 int gmap_shadow_valid(struct gmap *sg, unsigned long asce, int edat_level) in gmap_shadow_valid() argument
85 return sg->orig_asce == asce && sg->edat_level == edat_level; in gmap_shadow_valid()
1194 rc = kvm_s390_enter_exit_sie(scb_s, vcpu->run->s.regs.gprs, vsie_page->gmap->asce); in do_vsie_run()
1253 unsigned long asce; in acquire_gmap_shadow() local
1258 asce = vcpu->arch.sie_block->gcr[1]; in acquire_gmap_shadow()
1268 if (vsie_page->gmap && gmap_shadow_valid(vsie_page->gmap, asce, edat)) { in acquire_gmap_shadow()
1275 gmap = gmap_shadow(vcpu->arch.gmap, asce, edat); in acquire_gmap_shadow()
H A Dkvm-s390.h439 int gmap_shadow_valid(struct gmap *sg, unsigned long asce, int edat_level);
442 struct gmap *gmap_shadow(struct gmap *parent, unsigned long asce, int edat_level);
H A Dpv.c394 if ((kvm->arch.gmap->asce & _ASCE_TYPE_MASK) == _ASCE_TYPE_SEGMENT) in kvm_s390_pv_set_aside()
645 uvcb.guest_asce = kvm->arch.gmap->asce; in kvm_s390_pv_init_vm()
H A Dkvm-s390.c1036 (void *) kvm->arch.gmap->asce); in kvm_s390_set_mem_control()
5015 vcpu->arch.gmap->asce); in __vcpu_run()
/linux/arch/s390/mm/
H A Dpgtable.c43 unsigned long opt, asce; in ptep_ipte_local() local
47 asce = READ_ONCE(mm->context.gmap_asce); in ptep_ipte_local()
48 if (asce == 0UL || nodat) in ptep_ipte_local()
50 if (asce != -1UL) { in ptep_ipte_local()
51 asce = asce ? : mm->context.asce; in ptep_ipte_local()
54 __ptep_ipte(addr, ptep, opt, asce, IPTE_LOCAL); in ptep_ipte_local()
63 unsigned long opt, asce; in ptep_ipte_global() local
67 asce = READ_ONCE(mm->context.gmap_asce); in ptep_ipte_global()
68 if (asce == 0UL || nodat) in ptep_ipte_global()
70 if (asce != -1UL) { in ptep_ipte_global()
[all …]
H A Dgmap.c99 gmap->asce = atype | _ASCE_TABLE_LENGTH | in gmap_alloc()
130 gmap_asce = gmap->asce; in gmap_create()
141 __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()
699 const int asce_type = gmap->asce & _ASCE_TYPE_MASK; in gmap_table_walk()
1143 static inline void gmap_idte_one(unsigned long asce, unsigned long vaddr) in gmap_idte_one() argument
1147 : : "a" (asce), "a" (vaddr) : "cc", "memory"); in gmap_idte_one()
[all …]
/linux/drivers/s390/char/
H A Dsclp_sd.c295 unsigned long page, asce = 0; in sclp_sd_store_data() local
318 asce = base_asce_alloc((unsigned long) data, dsize); in sclp_sd_store_data()
319 if (!asce) { in sclp_sd_store_data()
326 rc = sclp_sd_sync(page, SD_EQ_STORE_DATA, di, asce, (u64) data, &dsize, in sclp_sd_store_data()
335 asce = 0; in sclp_sd_store_data()
348 base_asce_free(asce); in sclp_sd_store_data()
H A Dsclp_diag.h59 u64 asce; member
/linux/arch/s390/kernel/
H A Dentry.S119 lctlg %c1,%c1,__LC_USER_ASCE(\lowcore) # load primary asce
191 stg %r5,__SF_SIE_GUEST_ASCE(%r15) # save guest asce
197 lctlg %c1,%c1,__SF_SIE_GUEST_ASCE(%r15) # load primary asce
216 lctlg %c1,%c1,__LC_USER_ASCE(%r14) # load primary asce
/linux/arch/s390/include/asm/
H A Dpgtable.h691 unsigned long address, unsigned long asce) in crdte() argument
698 : [r2] "d" (r2.pair), [asce] "a" (asce) in crdte()
1157 unsigned long opt, unsigned long asce, in __ptep_ipte() argument
1172 opt = opt | (asce & _ASCE_ORIGIN); in __ptep_ipte()
1694 unsigned long opt, unsigned long asce, in __pmdp_idte() argument
1714 [r3] "a" (asce), [m4] "i" (local) in __pmdp_idte()
1720 unsigned long opt, unsigned long asce, in __pudp_idte() argument
1741 [r3] "a" (asce), [m4] "i" (local) in __pudp_idte()
H A Ddat-bits.h12 union asce { union
H A Dpgalloc.h181 void base_asce_free(unsigned long asce);
/linux/arch/s390/boot/
H A Dvmem.c554 init_mm.context.asce = get_lowcore()->kernel_asce.val; in setup_vmem()