/linux-master/arch/s390/include/asm/ |
H A D | tlbflush.h | 20 static inline void __tlb_flush_idte(unsigned long asce) argument 28 asm volatile("idte 0,%1,%0" : : "a" (opt), "a" (asce) : "cc"); 63 __tlb_flush_idte(mm->context.asce); 75 __tlb_flush_idte(init_mm.context.asce);
|
H A D | mmu.h | 16 unsigned long asce; member in struct:__anon4
|
H A D | gmap.h | 33 * @asce: address space control element for gmap page table 55 unsigned long asce; member in struct:gmap 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);
|
H A D | mmu_context.h | 66 mm->context.asce = __pa(mm->pgd) | _ASCE_TABLE_LENGTH | 80 S390_lowcore.user_asce.val = next->context.asce;
|
H A D | pgtable.h | 239 #define _ASCE_TYPE_MASK 0x0c /* asce table type mask */ 614 unsigned long address, unsigned long asce) 619 asm volatile(".insn rrf,0xb98f0000,%[r1],%[r2],%[asce],0" 621 : [r2] "d" (r2.pair), [asce] "a" (asce) 1061 unsigned long opt, unsigned long asce, 1067 asm volatile(".insn rrf,0xb98b0000,%[r1],%[r2],%[asce],%[m4]" 1070 [asce] "a" (asce), [m4] "i" (local)); 1074 unsigned long opt, unsigned long asce, 612 crdte(unsigned long old, unsigned long new, unsigned long *table, unsigned long dtt, unsigned long address, unsigned long asce) argument 1060 __ptep_rdp(unsigned long addr, pte_t *ptep, unsigned long opt, unsigned long asce, int local) argument 1073 __ptep_ipte(unsigned long address, pte_t *ptep, unsigned long opt, unsigned long asce, int local) argument 1625 __pmdp_idte(unsigned long addr, pmd_t *pmdp, unsigned long opt, unsigned long asce, int local) argument 1651 __pudp_idte(unsigned long addr, pud_t *pudp, unsigned long opt, unsigned long asce, int local) argument [all...] |
H A D | pgalloc.h | 154 void base_asce_free(unsigned long asce);
|
/linux-master/arch/s390/kvm/ |
H A D | gaccess.c | 20 union asce { union 259 unsigned long asce : 64; /* Address-Space-Control Element */ member in struct:aste 380 static int ar_translation(struct kvm_vcpu *vcpu, union asce *asce, u8 ar, argument 399 asce->val = vcpu->arch.sie_block->gcr[1]; 402 asce->val = vcpu->arch.sie_block->gcr[7]; 466 asce->val = aste.asce; 556 static int get_vcpu_asce(struct kvm_vcpu *vcpu, union asce *asce, argument 616 guest_translate(struct kvm_vcpu *vcpu, unsigned long gva, unsigned long *gpa, const union asce asce, enum gacc_mode mode, enum prot_type *prot) argument 786 low_address_protection_enabled(struct kvm_vcpu *vcpu, const union asce asce) argument 828 fetch_prot_override_applicable(struct kvm_vcpu *vcpu, enum gacc_mode mode, union asce asce) argument 862 vcpu_check_access_key(struct kvm_vcpu *vcpu, u8 access_key, enum gacc_mode mode, union asce asce, gpa_t gpa, unsigned long ga, unsigned int len) argument 936 guest_range_to_gpas(struct kvm_vcpu *vcpu, unsigned long ga, u8 ar, unsigned long *gpas, unsigned long len, const union asce asce, enum gacc_mode mode, u8 access_key) argument 1060 union asce asce; local 1276 union asce asce; local 1299 union asce asce; local 1371 union asce asce; local [all...] |
H A D | vsie.c | 900 /* 62-63: asce id (always primary == 0) */ 1210 unsigned long asce; local 1215 asce = vcpu->arch.sie_block->gcr[1]; 1225 if (vsie_page->gmap && gmap_shadow_valid(vsie_page->gmap, asce, edat)) { 1232 gmap = gmap_shadow(vcpu->arch.gmap, asce, edat);
|
H A D | pv.c | 334 if ((kvm->arch.gmap->asce & _ASCE_TYPE_MASK) == _ASCE_TYPE_SEGMENT) 574 uvcb.guest_asce = kvm->arch.gmap->asce;
|
H A D | kvm-s390.c | 991 VM_EVENT(kvm, 3, "New guest asce: 0x%pK", 992 (void *) kvm->arch.gmap->asce);
|
/linux-master/arch/s390/mm/ |
H A D | pgalloc.c | 67 S390_lowcore.user_asce.val = mm->context.asce; 111 mm->context.asce = __pa(mm->pgd) | _ASCE_TABLE_LENGTH | 120 mm->context.asce = __pa(mm->pgd) | _ASCE_TABLE_LENGTH | 423 * base_asce_free - free asce and tables returned from base_asce_alloc() 424 * @asce: asce to be freed 429 void base_asce_free(unsigned long asce) argument 431 unsigned long *table = __va(asce & _ASCE_ORIGIN); 433 if (!asce) 435 switch (asce 483 unsigned long asce, *table, end; local [all...] |
H A D | fault.c | 78 if (gmap && gmap->asce == regs->cr1) 107 static void dump_pagetable(unsigned long asce, unsigned long address) argument 109 unsigned long entry, *table = __va(asce & _ASCE_ORIGIN); 111 pr_alert("AS:%016lx ", asce); 112 switch (asce & _ASCE_TYPE_MASK) { 163 unsigned long asce; local 185 asce = S390_lowcore.user_asce.val; 189 asce = ((struct gmap *)S390_lowcore.gmap)->asce; 193 asce [all...] |
H A D | pgtable.c | 50 unsigned long opt, asce; local 54 asce = READ_ONCE(mm->context.gmap_asce); 55 if (asce == 0UL || nodat) 57 if (asce != -1UL) { 58 asce = asce ? : mm->context.asce; 61 __ptep_ipte(addr, ptep, opt, asce, IPTE_LOCAL); 70 unsigned long opt, asce; local 74 asce [all...] |
H A D | gmap.c | 90 gmap->asce = atype | _ASCE_TABLE_LENGTH | 120 gmap_asce = gmap->asce; 132 __tlb_flush_idte(gmap->asce); 273 struct gmap, list)->asce; 567 if ((gmap->asce & _ASCE_TYPE_MASK) >= _ASCE_TYPE_REGION1) { 575 if ((gmap->asce & _ASCE_TYPE_MASK) >= _ASCE_TYPE_REGION2) { 583 if ((gmap->asce & _ASCE_TYPE_MASK) >= _ASCE_TYPE_REGION3) { 809 const int asce_type = gmap->asce & _ASCE_TYPE_MASK; 1290 * @asce: region or segment table *origin* + table-type bits 1295 * The table-type of the @asce identifie 1298 gmap_idte_one(unsigned long asce, unsigned long vaddr) argument 1556 unsigned long asce; local 1621 gmap_find_shadow(struct gmap *parent, unsigned long asce, int edat_level) argument 1650 gmap_shadow_valid(struct gmap *sg, unsigned long asce, int edat_level) argument 1673 gmap_shadow(struct gmap *parent, unsigned long asce, int edat_level) argument 2863 unsigned long asce; local [all...] |
/linux-master/drivers/s390/char/ |
H A D | sclp_diag.h | 44 * @asce: region or segment table designation 59 u64 asce; member in struct:sclp_diag_ftp
|
H A D | sclp_sd.c | 288 unsigned long page, asce = 0; local 311 asce = base_asce_alloc((unsigned long) data, dsize); 312 if (!asce) { 319 rc = sclp_sd_sync(page, SD_EQ_STORE_DATA, di, asce, (u64) data, &dsize, 335 base_asce_free(asce);
|
H A D | sclp_ftp.c | 112 sccb->evbuf.mdd.ftp.asce = _ASCE_REAL_SPACE;
|
/linux-master/arch/s390/kernel/ |
H A D | entry.S | 125 lctlg %c1,%c1,__LC_KERNEL_ASCE # load primary asce 196 lctlg %c1,%c1,__GMAP_ASCE(%r14) # load primary asce 215 lctlg %c1,%c1,__LC_KERNEL_ASCE # load primary asce
|
H A D | asm-offsets.c | 164 OFFSET(__GMAP_ASCE, gmap, asce);
|
/linux-master/arch/s390/boot/ |
H A D | vmem.c | 473 init_mm.context.asce = S390_lowcore.kernel_asce.val;
|