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

/linux-master/arch/s390/include/asm/
H A Dtlbflush.h20 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 Dmmu.h16 unsigned long asce; member in struct:__anon4
H A Dgmap.h33 * @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 Dmmu_context.h66 mm->context.asce = __pa(mm->pgd) | _ASCE_TABLE_LENGTH |
80 S390_lowcore.user_asce.val = next->context.asce;
H A Dpgtable.h239 #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 Dpgalloc.h154 void base_asce_free(unsigned long asce);
/linux-master/arch/s390/kvm/
H A Dgaccess.c20 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 Dvsie.c900 /* 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 Dpv.c334 if ((kvm->arch.gmap->asce & _ASCE_TYPE_MASK) == _ASCE_TYPE_SEGMENT)
574 uvcb.guest_asce = kvm->arch.gmap->asce;
H A Dkvm-s390.c991 VM_EVENT(kvm, 3, "New guest asce: 0x%pK",
992 (void *) kvm->arch.gmap->asce);
/linux-master/arch/s390/mm/
H A Dpgalloc.c67 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 Dfault.c78 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 Dpgtable.c50 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 Dgmap.c90 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 Dsclp_diag.h44 * @asce: region or segment table designation
59 u64 asce; member in struct:sclp_diag_ftp
H A Dsclp_sd.c288 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 Dsclp_ftp.c112 sccb->evbuf.mdd.ftp.asce = _ASCE_REAL_SPACE;
/linux-master/arch/s390/kernel/
H A Dentry.S125 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 Dasm-offsets.c164 OFFSET(__GMAP_ASCE, gmap, asce);
/linux-master/arch/s390/boot/
H A Dvmem.c473 init_mm.context.asce = S390_lowcore.kernel_asce.val;

Completed in 188 milliseconds