/linux-4.4.14/arch/s390/mm/ |
D | pgtable.c | 111 struct gmap *gmap_alloc(struct mm_struct *mm, unsigned long limit) in gmap_alloc() 113 struct gmap *gmap; in gmap_alloc() local 135 gmap = kzalloc(sizeof(struct gmap), GFP_KERNEL); in gmap_alloc() 136 if (!gmap) in gmap_alloc() 138 INIT_LIST_HEAD(&gmap->crst_list); in gmap_alloc() 139 INIT_RADIX_TREE(&gmap->guest_to_host, GFP_KERNEL); in gmap_alloc() 140 INIT_RADIX_TREE(&gmap->host_to_guest, GFP_ATOMIC); in gmap_alloc() 141 spin_lock_init(&gmap->guest_table_lock); in gmap_alloc() 142 gmap->mm = mm; in gmap_alloc() 147 list_add(&page->lru, &gmap->crst_list); in gmap_alloc() [all …]
|
D | fault.c | 207 else if ((current->flags & PF_VCPU) && S390_lowcore.gmap) { in dump_fault_info() 208 struct gmap *gmap = (struct gmap *)S390_lowcore.gmap; in dump_fault_info() local 209 asce = gmap->asce; in dump_fault_info() 374 struct gmap *gmap; in do_exception() local 416 gmap = (current->flags & PF_VCPU) ? in do_exception() 417 (struct gmap *) S390_lowcore.gmap : NULL; in do_exception() 418 if (gmap) { in do_exception() 420 address = __gmap_translate(gmap, address); in do_exception() 425 if (gmap->pfault_enabled) in do_exception() 484 if (gmap && (flags & FAULT_FLAG_RETRY_NOWAIT)) { in do_exception() [all …]
|
/linux-4.4.14/arch/s390/include/asm/ |
D | pgtable.h | 765 struct gmap { struct 785 void (*notifier_call)(struct gmap *gmap, unsigned long gaddr); argument 788 struct gmap *gmap_alloc(struct mm_struct *mm, unsigned long limit); 789 void gmap_free(struct gmap *gmap); 790 void gmap_enable(struct gmap *gmap); 791 void gmap_disable(struct gmap *gmap); 792 int gmap_map_segment(struct gmap *gmap, unsigned long from, 794 int gmap_unmap_segment(struct gmap *gmap, unsigned long to, unsigned long len); 795 unsigned long __gmap_translate(struct gmap *, unsigned long gaddr); 796 unsigned long gmap_translate(struct gmap *, unsigned long gaddr); [all …]
|
D | kvm_host.h | 516 struct gmap *gmap; member 591 struct gmap *gmap; member
|
D | lowcore.h | 151 __u64 gmap; /* 0x0398 */ member
|
/linux-4.4.14/arch/s390/kvm/ |
D | kvm-s390.c | 141 static void kvm_gmap_notifier(struct gmap *gmap, unsigned long address); 271 struct gmap *gmap = kvm->arch.gmap; in kvm_s390_sync_dirty_log() local 273 down_read(&gmap->mm->mmap_sem); in kvm_s390_sync_dirty_log() 279 if (gmap_test_and_clear_dirty(address, gmap)) in kvm_s390_sync_dirty_log() 282 up_read(&gmap->mm->mmap_sem); in kvm_s390_sync_dirty_log() 378 kvm->arch.gmap->asce_end); in kvm_s390_get_mem_control() 379 if (put_user(kvm->arch.gmap->asce_end, (u64 __user *)attr->addr)) in kvm_s390_get_mem_control() 417 s390_reset_cmma(kvm->arch.gmap->mm); in kvm_s390_set_mem_control() 431 if (new_limit > kvm->arch.gmap->asce_end) in kvm_s390_set_mem_control() 438 struct gmap *new = gmap_alloc(current->mm, new_limit); 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 | 747 struct gmap *gmap; in handle_essa() local 751 gmap = vcpu->arch.gmap; in handle_essa() 766 down_read(&gmap->mm->mmap_sem); in handle_essa() 773 __gmap_zap(gmap, cbrle); in handle_essa() 775 up_read(&gmap->mm->mmap_sem); in handle_essa()
|
D | kvm-s390.h | 59 if (kvm->arch.gmap) in kvm_is_ucontrol()
|
D | interrupt.c | 1839 map->addr = gmap_translate(kvm->arch.gmap, addr); in kvm_s390_adapter_map() 1952 dev->kvm->arch.gmap->pfault_enabled = 1; in flic_set_attr() 1955 dev->kvm->arch.gmap->pfault_enabled = 0; in flic_set_attr()
|
/linux-4.4.14/arch/s390/kernel/ |
D | asm-offsets.c | 171 OFFSET(__LC_GMAP, _lowcore, gmap); in main() 192 OFFSET(__GMAP_ASCE, gmap, asce); in main()
|
D | entry.S | 215 lg %r14,__LC_GMAP # get gmap pointer
|
/linux-4.4.14/include/video/ |
D | gbe.h | 62 volatile uint32_t gmap[256]; /* gamma map */ member
|
/linux-4.4.14/Documentation/virtual/kvm/devices/ |
D | s390_flic.txt | 88 perform a gmap translation for the guest address provided in addr,
|
/linux-4.4.14/drivers/video/fbdev/ |
D | gbefb.c | 813 gbe->gmap[i] = (i << 24) | (i << 16) | (i << 8); in gbefb_set_par()
|
/linux-4.4.14/Documentation/s390/ |
D | Debugging390.txt | 299 to contain the gmap asce before the SIE instruction gets executed. When
|