/linux-4.1.27/arch/s390/mm/ |
D | pgtable.c | 147 struct gmap *gmap_alloc(struct mm_struct *mm, unsigned long limit) in gmap_alloc() 149 struct gmap *gmap; in gmap_alloc() local 171 gmap = kzalloc(sizeof(struct gmap), GFP_KERNEL); in gmap_alloc() 172 if (!gmap) in gmap_alloc() 174 INIT_LIST_HEAD(&gmap->crst_list); in gmap_alloc() 175 INIT_RADIX_TREE(&gmap->guest_to_host, GFP_KERNEL); in gmap_alloc() 176 INIT_RADIX_TREE(&gmap->host_to_guest, GFP_ATOMIC); in gmap_alloc() 177 spin_lock_init(&gmap->guest_table_lock); in gmap_alloc() 178 gmap->mm = mm; in gmap_alloc() 183 list_add(&page->lru, &gmap->crst_list); in gmap_alloc() [all …]
|
D | fault.c | 206 else if ((current->flags & PF_VCPU) && S390_lowcore.gmap) { in dump_fault_info() 207 struct gmap *gmap = (struct gmap *)S390_lowcore.gmap; in dump_fault_info() local 208 asce = gmap->asce; in dump_fault_info() 373 struct gmap *gmap; in do_exception() local 415 gmap = (current->flags & PF_VCPU) ? in do_exception() 416 (struct gmap *) S390_lowcore.gmap : NULL; in do_exception() 417 if (gmap) { in do_exception() 419 address = __gmap_translate(gmap, address); in do_exception() 424 if (gmap->pfault_enabled) in do_exception() 483 if (gmap && (flags & FAULT_FLAG_RETRY_NOWAIT)) { in do_exception() [all …]
|
/linux-4.1.27/arch/s390/include/asm/ |
D | pgtable.h | 703 struct gmap { struct 723 void (*notifier_call)(struct gmap *gmap, unsigned long gaddr); argument 726 struct gmap *gmap_alloc(struct mm_struct *mm, unsigned long limit); 727 void gmap_free(struct gmap *gmap); 728 void gmap_enable(struct gmap *gmap); 729 void gmap_disable(struct gmap *gmap); 730 int gmap_map_segment(struct gmap *gmap, unsigned long from, 732 int gmap_unmap_segment(struct gmap *gmap, unsigned long to, unsigned long len); 733 unsigned long __gmap_translate(struct gmap *, unsigned long gaddr); 734 unsigned long gmap_translate(struct gmap *, unsigned long gaddr); [all …]
|
D | kvm_host.h | 510 struct gmap *gmap; member 585 struct gmap *gmap; member
|
D | lowcore.h | 144 __u64 gmap; /* 0x0398 */ member
|
/linux-4.1.27/arch/s390/kvm/ |
D | kvm-s390.c | 131 static void kvm_gmap_notifier(struct gmap *gmap, unsigned long address); 216 struct gmap *gmap = kvm->arch.gmap; in kvm_s390_sync_dirty_log() local 218 down_read(&gmap->mm->mmap_sem); in kvm_s390_sync_dirty_log() 224 if (gmap_test_and_clear_dirty(address, gmap)) in kvm_s390_sync_dirty_log() 227 up_read(&gmap->mm->mmap_sem); in kvm_s390_sync_dirty_log() 315 if (put_user(kvm->arch.gmap->asce_end, (u64 __user *)attr->addr)) in kvm_s390_get_mem_control() 342 s390_reset_cmma(kvm->arch.gmap->mm); in kvm_s390_set_mem_control() 356 if (new_limit > kvm->arch.gmap->asce_end) in kvm_s390_set_mem_control() 363 struct gmap *new = gmap_alloc(current->mm, new_limit); in kvm_s390_set_mem_control() 368 gmap_free(kvm->arch.gmap); in kvm_s390_set_mem_control() [all …]
|
D | diag.c | 43 gmap_discard(vcpu->arch.gmap, start, end); in diag_release_pages() 51 gmap_discard(vcpu->arch.gmap, start, prefix); in diag_release_pages() 53 gmap_discard(vcpu->arch.gmap, 0, 4096); in diag_release_pages() 55 gmap_discard(vcpu->arch.gmap, 4096, 8192); in diag_release_pages() 56 gmap_discard(vcpu->arch.gmap, prefix + 2 * PAGE_SIZE, end); in diag_release_pages()
|
D | priv.c | 754 struct gmap *gmap; in handle_essa() local 758 gmap = vcpu->arch.gmap; in handle_essa() 773 down_read(&gmap->mm->mmap_sem); in handle_essa() 780 __gmap_zap(gmap, cbrle); in handle_essa() 782 up_read(&gmap->mm->mmap_sem); in handle_essa()
|
D | kvm-s390.h | 52 if (kvm->arch.gmap) in kvm_is_ucontrol()
|
D | interrupt.c | 1850 map->addr = gmap_translate(kvm->arch.gmap, addr); in kvm_s390_adapter_map() 1963 dev->kvm->arch.gmap->pfault_enabled = 1; in flic_set_attr() 1966 dev->kvm->arch.gmap->pfault_enabled = 0; in flic_set_attr()
|
/linux-4.1.27/arch/s390/kernel/ |
D | asm-offsets.c | 177 DEFINE(__LC_GMAP, offsetof(struct _lowcore, gmap)); in main() 180 DEFINE(__GMAP_ASCE, offsetof(struct gmap, asce)); in main()
|
D | entry.S | 1001 lg %r14,__LC_GMAP # get gmap pointer
|
/linux-4.1.27/include/video/ |
D | gbe.h | 62 volatile uint32_t gmap[256]; /* gamma map */ member
|
/linux-4.1.27/Documentation/virtual/kvm/devices/ |
D | s390_flic.txt | 88 perform a gmap translation for the guest address provided in addr,
|
/linux-4.1.27/drivers/video/fbdev/ |
D | gbefb.c | 815 gbe->gmap[i] = (i << 24) | (i << 16) | (i << 8); in gbefb_set_par()
|
/linux-4.1.27/Documentation/s390/ |
D | Debugging390.txt | 299 to contain the gmap asce before the SIE instruction gets executed. When
|