| /linux/arch/s390/kvm/ |
| H A D | dat.h | 29 #define _ASCE(x) ((union asce) { .val = (x), }) 367 union asce asce; member 515 gfn_t gfn, union asce asce, bool uses_skeys); 517 union asce asce); 518 void dat_crstep_xchg(union crste *crstep, union crste new, gfn_t gfn, union asce asce); 520 long _dat_walk_gfn_range(gfn_t start, gfn_t end, union asce asce, 523 int dat_entry_walk(struct kvm_s390_mmu_cache *mc, gfn_t gfn, union asce asce, int flags, 527 int dat_set_asce_limit(struct kvm_s390_mmu_cache *mc, union asce *asce, int newtype); 528 int dat_get_storage_key(union asce asce, gfn_t gfn, union skey *skey); 529 int dat_set_storage_key(struct kvm_s390_mmu_cache *mc, union asce asce, gfn_t gfn, [all …]
|
| H A D | dat.c | 105 int dat_set_asce_limit(struct kvm_s390_mmu_cache *mc, union asce *asce, int newtype) in dat_set_asce_limit() argument 110 while (asce->dt > newtype) { in dat_set_asce_limit() 111 table = dereference_asce(*asce); in dat_set_asce_limit() 116 asce->rsto = crste.h.fc0.to; in dat_set_asce_limit() 122 asce->dt--; in dat_set_asce_limit() 124 while (asce->dt < newtype) { in dat_set_asce_limit() 125 crste = _crste_fc0(asce->rsto, asce->dt + 1); in dat_set_asce_limit() 131 asce->rsto = __pa(table) >> PAGE_SHIFT; in dat_set_asce_limit() 132 asce->dt++; in dat_set_asce_limit() 146 void dat_crstep_xchg(union crste *crstep, union crste new, gfn_t gfn, union asce asce) in dat_crstep_xchg() argument [all …]
|
| H A D | gmap.c | 77 gmap->asce.val = __pa(table); in gmap_new() 78 gmap->asce.dt = type; in gmap_new() 79 gmap->asce.tl = _ASCE_TABLE_LENGTH; in gmap_new() 80 gmap->asce.x = 1; in gmap_new() 81 gmap->asce.p = 1; in gmap_new() 82 gmap->asce.s = 1; in gmap_new() 142 rc = dat_set_asce_limit(mc, &gmap->asce, type); in gmap_set_limit() 199 KVM_BUG_ON(!gmap->asce.val, gmap->kvm); in gmap_dispose() 204 asce_flush_tlb(gmap->asce); in gmap_dispose() 207 dat_free_level(dereference_asce(gmap->asce), owns_page_tables(gmap)); in gmap_dispose() [all …]
|
| H A D | pv.c | 466 if (kvm->arch.gmap->asce.dt == TABLE_TYPE_SEGMENT) in kvm_s390_pv_set_aside() 479 priv->old_gmap_table = (unsigned long)dereference_asce(kvm->arch.gmap->asce); in kvm_s390_pv_set_aside() 605 gmap_pv_destroy_range(kvm->arch.gmap, 0, asce_end(kvm->arch.gmap->asce), false); in kvm_s390_pv_deinit_cleanup_all() 643 if (gmap_pv_destroy_range(kvm->arch.gmap, 0, asce_end(kvm->arch.gmap->asce), true)) in kvm_s390_pv_deinit_aside_vm() 716 uvcb.guest_asce = kvm->arch.gmap->asce.val; in kvm_s390_pv_init_vm()
|
| H A D | kvm-s390.c | 560 union asce asce = kvm->arch.gmap->asce; in kvm_s390_keyop() local 568 r = dat_cond_set_storage_key(mc, asce, gfn, skey, &skey, 0, 0, 0); in kvm_s390_keyop() 573 r = dat_get_storage_key(asce, gfn, &skey); in kvm_s390_keyop() 578 r = dat_reset_reference_bit(asce, gfn); in kvm_s390_keyop() 990 start_gfn = dat_reset_cmma(kvm->arch.gmap->asce, start_gfn); in kvm_s390_set_mem_control() 1017 (void *)kvm->arch.gmap->asce.val); in kvm_s390_set_mem_control() 2114 r = dat_get_storage_key(kvm->arch.gmap->asce, in kvm_s390_get_skeys() 2181 r = dat_set_storage_key(mc, kvm->arch.gmap->asce, in kvm_s390_set_skeys() 2235 ret = dat_peek_cmma(args->start_gfn, kvm->arch.gmap->asce, &args->count, in kvm_s390_get_cmma_bits() 2238 ret = dat_get_cmma(kvm->arch.gmap->asce, &args->start_gfn, &args->count, in kvm_s390_get_cmma_bits() [all …]
|
| /linux/drivers/s390/char/ |
| H A D | sclp_sd.c | 295 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 D | sclp_diag.h | 59 u64 asce; member
|
| H A D | sclp_ftp.c | 111 sccb->evbuf.mdd.ftp.asce = _ASCE_REAL_SPACE; in sclp_ftp_et7()
|
| /linux/arch/s390/boot/ |
| H A D | vmem.c | 554 init_mm.context.asce = get_lowcore()->kernel_asce.val; in setup_vmem()
|