/Linux-v5.4/arch/arm64/include/asm/ |
D | stage2_pgtable.h | 32 #define kvm_stage2_levels(kvm) VTCR_EL2_LVLS(kvm->arch.vtcr) argument 35 #define stage2_pgdir_shift(kvm) pt_levels_pgdir_shift(kvm_stage2_levels(kvm)) argument 36 #define stage2_pgdir_size(kvm) (1ULL << stage2_pgdir_shift(kvm)) argument 37 #define stage2_pgdir_mask(kvm) ~(stage2_pgdir_size(kvm) - 1) argument 51 #define stage2_pgd_ptrs(kvm) __s2_pgd_ptrs(kvm_phys_shift(kvm), kvm_stage2_levels(kvm)) argument 52 #define stage2_pgd_size(kvm) __s2_pgd_size(kvm_phys_shift(kvm), kvm_stage2_levels(kvm)) argument 59 #define kvm_mmu_cache_min_pages(kvm) (kvm_stage2_levels(kvm) - 1) argument 62 static inline bool kvm_stage2_has_pud(struct kvm *kvm) in kvm_stage2_has_pud() argument 64 return (CONFIG_PGTABLE_LEVELS > 3) && (kvm_stage2_levels(kvm) > 3); in kvm_stage2_has_pud() 71 static inline bool stage2_pgd_none(struct kvm *kvm, pgd_t pgd) in stage2_pgd_none() argument [all …]
|
/Linux-v5.4/include/linux/ |
D | kvm_host.h | 193 int kvm_io_bus_register_dev(struct kvm *kvm, enum kvm_bus bus_idx, gpa_t addr, 195 void kvm_io_bus_unregister_dev(struct kvm *kvm, enum kvm_bus bus_idx, 197 struct kvm_io_device *kvm_io_bus_get_dev(struct kvm *kvm, enum kvm_bus bus_idx, 264 struct kvm *kvm; member 382 struct kvm *kvm, int irq_source_id, int level, 443 struct kvm { struct 532 static inline struct kvm_io_bus *kvm_get_bus(struct kvm *kvm, enum kvm_bus idx) in kvm_get_bus() argument 534 return srcu_dereference_check(kvm->buses[idx], &kvm->srcu, in kvm_get_bus() 535 lockdep_is_held(&kvm->slots_lock) || in kvm_get_bus() 536 !refcount_read(&kvm->users_count)); in kvm_get_bus() [all …]
|
/Linux-v5.4/virt/kvm/ |
D | eventfd.c | 36 kvm_arch_irqfd_allowed(struct kvm *kvm, struct kvm_irqfd *args) in kvm_arch_irqfd_allowed() argument 46 struct kvm *kvm = irqfd->kvm; in irqfd_inject() local 49 kvm_set_irq(kvm, KVM_USERSPACE_IRQ_SOURCE_ID, irqfd->gsi, 1, in irqfd_inject() 51 kvm_set_irq(kvm, KVM_USERSPACE_IRQ_SOURCE_ID, irqfd->gsi, 0, in irqfd_inject() 54 kvm_set_irq(kvm, KVM_IRQFD_RESAMPLE_IRQ_SOURCE_ID, in irqfd_inject() 67 struct kvm *kvm; in irqfd_resampler_ack() local 73 kvm = resampler->kvm; in irqfd_resampler_ack() 75 kvm_set_irq(kvm, KVM_IRQFD_RESAMPLE_IRQ_SOURCE_ID, in irqfd_resampler_ack() 78 idx = srcu_read_lock(&kvm->irq_srcu); in irqfd_resampler_ack() 83 srcu_read_unlock(&kvm->irq_srcu, idx); in irqfd_resampler_ack() [all …]
|
D | kvm_main.c | 156 static void kvm_uevent_notify_change(unsigned int type, struct kvm *kvm); 160 __weak int kvm_arch_mmu_notifier_invalidate_range(struct kvm *kvm, in kvm_arch_mmu_notifier_invalidate_range() argument 249 bool kvm_make_vcpus_request_mask(struct kvm *kvm, unsigned int req, in kvm_make_vcpus_request_mask() argument 258 kvm_for_each_vcpu(i, vcpu, kvm) { in kvm_make_vcpus_request_mask() 279 bool kvm_make_all_cpus_request(struct kvm *kvm, unsigned int req) in kvm_make_all_cpus_request() argument 286 called = kvm_make_vcpus_request_mask(kvm, req, NULL, cpus); in kvm_make_all_cpus_request() 293 void kvm_flush_remote_tlbs(struct kvm *kvm) in kvm_flush_remote_tlbs() argument 299 long dirty_count = smp_load_acquire(&kvm->tlbs_dirty); in kvm_flush_remote_tlbs() 312 if (!kvm_arch_flush_remote_tlb(kvm) in kvm_flush_remote_tlbs() 313 || kvm_make_all_cpus_request(kvm, KVM_REQ_TLB_FLUSH)) in kvm_flush_remote_tlbs() [all …]
|
D | irqchip.c | 22 int kvm_irq_map_gsi(struct kvm *kvm, in kvm_irq_map_gsi() argument 29 irq_rt = srcu_dereference_check(kvm->irq_routing, &kvm->irq_srcu, in kvm_irq_map_gsi() 30 lockdep_is_held(&kvm->irq_lock)); in kvm_irq_map_gsi() 41 int kvm_irq_map_chip_pin(struct kvm *kvm, unsigned irqchip, unsigned pin) in kvm_irq_map_chip_pin() argument 45 irq_rt = srcu_dereference(kvm->irq_routing, &kvm->irq_srcu); in kvm_irq_map_chip_pin() 49 int kvm_send_userspace_msi(struct kvm *kvm, struct kvm_msi *msi) in kvm_send_userspace_msi() argument 53 if (!irqchip_in_kernel(kvm) || (msi->flags & ~KVM_MSI_VALID_DEVID)) in kvm_send_userspace_msi() 62 return kvm_set_msi(&route, kvm, KVM_USERSPACE_IRQ_SOURCE_ID, 1, false); in kvm_send_userspace_msi() 71 int kvm_set_irq(struct kvm *kvm, int irq_source_id, u32 irq, int level, in kvm_set_irq() argument 83 idx = srcu_read_lock(&kvm->irq_srcu); in kvm_set_irq() [all …]
|
D | coalesced_mmio.c | 54 ring = dev->kvm->coalesced_mmio_ring; in coalesced_mmio_has_room() 69 struct kvm_coalesced_mmio_ring *ring = dev->kvm->coalesced_mmio_ring; in coalesced_mmio_write() 75 spin_lock(&dev->kvm->ring_lock); in coalesced_mmio_write() 80 spin_unlock(&dev->kvm->ring_lock); in coalesced_mmio_write() 92 spin_unlock(&dev->kvm->ring_lock); in coalesced_mmio_write() 110 int kvm_coalesced_mmio_init(struct kvm *kvm) in kvm_coalesced_mmio_init() argument 121 kvm->coalesced_mmio_ring = page_address(page); in kvm_coalesced_mmio_init() 128 spin_lock_init(&kvm->ring_lock); in kvm_coalesced_mmio_init() 129 INIT_LIST_HEAD(&kvm->coalesced_zones); in kvm_coalesced_mmio_init() 135 void kvm_coalesced_mmio_free(struct kvm *kvm) in kvm_coalesced_mmio_free() argument [all …]
|
D | coalesced_mmio.h | 21 struct kvm *kvm; member 25 int kvm_coalesced_mmio_init(struct kvm *kvm); 26 void kvm_coalesced_mmio_free(struct kvm *kvm); 27 int kvm_vm_ioctl_register_coalesced_mmio(struct kvm *kvm, 29 int kvm_vm_ioctl_unregister_coalesced_mmio(struct kvm *kvm, 34 static inline int kvm_coalesced_mmio_init(struct kvm *kvm) { return 0; } in kvm_coalesced_mmio_init() argument 35 static inline void kvm_coalesced_mmio_free(struct kvm *kvm) { } in kvm_coalesced_mmio_free() argument
|
/Linux-v5.4/arch/x86/kvm/ |
D | irq_comm.c | 31 struct kvm *kvm, int irq_source_id, int level, in kvm_set_pic_irq() argument 34 struct kvm_pic *pic = kvm->arch.vpic; in kvm_set_pic_irq() 39 struct kvm *kvm, int irq_source_id, int level, in kvm_set_ioapic_irq() argument 42 struct kvm_ioapic *ioapic = kvm->arch.vioapic; in kvm_set_ioapic_irq() 47 int kvm_irq_delivery_to_apic(struct kvm *kvm, struct kvm_lapic *src, in kvm_irq_delivery_to_apic() argument 61 if (kvm_irq_delivery_to_apic_fast(kvm, src, irq, &r, dest_map)) in kvm_irq_delivery_to_apic() 66 kvm_for_each_vcpu(i, vcpu, kvm) { in kvm_irq_delivery_to_apic() 95 lowest = kvm_get_vcpu(kvm, idx); in kvm_irq_delivery_to_apic() 104 void kvm_set_msi_irq(struct kvm *kvm, struct kvm_kernel_irq_routing_entry *e, in kvm_set_msi_irq() argument 107 trace_kvm_msi_set_irq(e->msi.address_lo | (kvm->arch.x2apic_format ? in kvm_set_msi_irq() [all …]
|
D | irq.h | 26 struct kvm; 54 struct kvm *kvm; member 64 int kvm_pic_init(struct kvm *kvm); 65 void kvm_pic_destroy(struct kvm *kvm); 66 int kvm_pic_read_irq(struct kvm *kvm); 69 static inline int pic_in_kernel(struct kvm *kvm) in pic_in_kernel() argument 71 int mode = kvm->arch.irqchip_mode; in pic_in_kernel() 78 static inline int irqchip_split(struct kvm *kvm) in irqchip_split() argument 80 int mode = kvm->arch.irqchip_mode; in irqchip_split() 87 static inline int irqchip_kernel(struct kvm *kvm) in irqchip_kernel() argument [all …]
|
/Linux-v5.4/virt/kvm/arm/vgic/ |
D | vgic-init.c | 52 void kvm_vgic_early_init(struct kvm *kvm) in kvm_vgic_early_init() argument 54 struct vgic_dist *dist = &kvm->arch.vgic; in kvm_vgic_early_init() 71 int kvm_vgic_create(struct kvm *kvm, u32 type) in kvm_vgic_create() argument 76 if (irqchip_in_kernel(kvm)) in kvm_vgic_create() 95 kvm_for_each_vcpu(i, vcpu, kvm) { in kvm_vgic_create() 101 kvm_for_each_vcpu(i, vcpu, kvm) { in kvm_vgic_create() 108 kvm->arch.max_vcpus = VGIC_V2_MAX_CPUS; in kvm_vgic_create() 110 kvm->arch.max_vcpus = VGIC_V3_MAX_CPUS; in kvm_vgic_create() 112 if (atomic_read(&kvm->online_vcpus) > kvm->arch.max_vcpus) { in kvm_vgic_create() 117 kvm->arch.vgic.in_kernel = true; in kvm_vgic_create() [all …]
|
D | vgic.h | 162 struct vgic_irq *vgic_get_irq(struct kvm *kvm, struct kvm_vcpu *vcpu, 164 void __vgic_put_lpi_locked(struct kvm *kvm, struct vgic_irq *irq); 165 void vgic_put_irq(struct kvm *kvm, struct vgic_irq *irq); 169 bool vgic_queue_irq_unlock(struct kvm *kvm, struct vgic_irq *irq, 171 void vgic_kick_vcpus(struct kvm *kvm); 173 int vgic_check_ioaddr(struct kvm *kvm, phys_addr_t *ioaddr, 190 int vgic_v2_map_resources(struct kvm *kvm); 191 int vgic_register_dist_iodev(struct kvm *kvm, gpa_t dist_base_address, 219 int vgic_v3_map_resources(struct kvm *kvm); 220 int vgic_v3_lpi_sync_pending_status(struct kvm *kvm, struct vgic_irq *irq); [all …]
|
D | vgic-debug.c | 55 static void iter_init(struct kvm *kvm, struct vgic_state_iter *iter, in iter_init() argument 58 int nr_cpus = atomic_read(&kvm->online_vcpus); in iter_init() 63 iter->nr_spis = kvm->arch.vgic.nr_spis; in iter_init() 64 if (kvm->arch.vgic.vgic_model == KVM_DEV_TYPE_ARM_VGIC_V3) { in iter_init() 65 iter->nr_lpis = vgic_copy_lpi_list(kvm, NULL, &iter->lpi_array); in iter_init() 85 struct kvm *kvm = (struct kvm *)s->private; in vgic_debug_start() local 88 mutex_lock(&kvm->lock); in vgic_debug_start() 89 iter = kvm->arch.vgic.iter; in vgic_debug_start() 101 iter_init(kvm, iter, *pos); in vgic_debug_start() 102 kvm->arch.vgic.iter = iter; in vgic_debug_start() [all …]
|
D | vgic-its.c | 29 static int update_lpi_config(struct kvm *kvm, struct vgic_irq *irq, 39 static struct vgic_irq *vgic_add_lpi(struct kvm *kvm, u32 intid, in vgic_add_lpi() argument 42 struct vgic_dist *dist = &kvm->arch.vgic; in vgic_add_lpi() 43 struct vgic_irq *irq = vgic_get_irq(kvm, NULL, intid), *oldirq; in vgic_add_lpi() 100 ret = update_lpi_config(kvm, irq, NULL, false); in vgic_add_lpi() 104 ret = vgic_v3_lpi_sync_pending_status(kvm, irq); in vgic_add_lpi() 273 static int update_lpi_config(struct kvm *kvm, struct vgic_irq *irq, in update_lpi_config() argument 276 u64 propbase = GICR_PROPBASER_ADDRESS(kvm->arch.vgic.propbaser); in update_lpi_config() 281 ret = kvm_read_guest_lock(kvm, propbase + irq->intid - GIC_LPI_OFFSET, in update_lpi_config() 294 vgic_queue_irq_unlock(kvm, irq, flags); in update_lpi_config() [all …]
|
/Linux-v5.4/arch/s390/kvm/ |
D | kvm-s390.c | 60 #define VM_STAT(x) offsetof(struct kvm, stat.x), KVM_STAT_VM 269 struct kvm *kvm; in kvm_clock_sync() local 274 list_for_each_entry(kvm, &vm_list, vm_list) { in kvm_clock_sync() 275 kvm_for_each_vcpu(i, vcpu, kvm) { in kvm_clock_sync() 278 kvm->arch.epoch = vcpu->arch.sie_block->epoch; in kvm_clock_sync() 279 kvm->arch.epdx = vcpu->arch.sie_block->epdx; in kvm_clock_sync() 504 int kvm_vm_ioctl_check_extension(struct kvm *kvm, long ext) in kvm_vm_ioctl_check_extension() argument 539 if (hpage && !kvm_is_ucontrol(kvm)) in kvm_vm_ioctl_check_extension() 575 static void kvm_s390_sync_dirty_log(struct kvm *kvm, in kvm_s390_sync_dirty_log() argument 581 struct gmap *gmap = kvm->arch.gmap; in kvm_s390_sync_dirty_log() [all …]
|
D | kvm-s390.h | 42 debug_sprintf_event(d_vcpu->kvm->arch.dbf, d_loglevel, \ 70 return test_bit(vcpu->vcpu_id, vcpu->kvm->arch.idle_mask); in is_vcpu_idle() 73 static inline int kvm_is_ucontrol(struct kvm *kvm) in kvm_is_ucontrol() argument 76 if (kvm->arch.gmap) in kvm_is_ucontrol() 170 static inline int test_kvm_facility(struct kvm *kvm, unsigned long nr) in test_kvm_facility() argument 172 return __test_facility(nr, kvm->arch.model.fac_mask) && in test_kvm_facility() 173 __test_facility(nr, kvm->arch.model.fac_list); in test_kvm_facility() 187 static inline int test_kvm_cpu_feat(struct kvm *kvm, unsigned long nr) in test_kvm_cpu_feat() argument 190 return test_bit_inv(nr, kvm->arch.cpu_feat); in test_kvm_cpu_feat() 194 static inline int kvm_s390_user_cpu_state_ctrl(struct kvm *kvm) in kvm_s390_user_cpu_state_ctrl() argument [all …]
|
/Linux-v5.4/tools/perf/ |
D | builtin-kvm.c | 102 static const char *get_exit_reason(struct perf_kvm_stat *kvm, in get_exit_reason() argument 113 (unsigned long long)exit_code, kvm->exit_reasons_isa); in get_exit_reason() 117 void exit_event_decode_key(struct perf_kvm_stat *kvm, in exit_event_decode_key() argument 121 const char *exit_reason = get_exit_reason(kvm, key->exit_reasons, in exit_event_decode_key() 127 static bool register_kvm_events_ops(struct perf_kvm_stat *kvm) in register_kvm_events_ops() argument 132 if (!strcmp(events_ops->name, kvm->report_event)) { in register_kvm_events_ops() 133 kvm->events_ops = events_ops->ops; in register_kvm_events_ops() 148 static void init_kvm_event_record(struct perf_kvm_stat *kvm) in init_kvm_event_record() argument 153 INIT_LIST_HEAD(&kvm->kvm_events_cache[i]); in init_kvm_event_record() 225 static struct kvm_event *find_create_kvm_event(struct perf_kvm_stat *kvm, in find_create_kvm_event() argument [all …]
|
/Linux-v5.4/arch/arm64/kvm/hyp/ |
D | tlb.c | 19 static void __hyp_text __tlb_switch_to_guest_vhe(struct kvm *kvm, in __tlb_switch_to_guest_vhe() argument 56 __load_guest_stage2(kvm); in __tlb_switch_to_guest_vhe() 63 static void __hyp_text __tlb_switch_to_guest_nvhe(struct kvm *kvm, in __tlb_switch_to_guest_nvhe() argument 66 __load_guest_stage2(kvm); in __tlb_switch_to_guest_nvhe() 70 static void __hyp_text __tlb_switch_to_guest(struct kvm *kvm, in __tlb_switch_to_guest() argument 74 __tlb_switch_to_guest_vhe(kvm, cxt); in __tlb_switch_to_guest() 76 __tlb_switch_to_guest_nvhe(kvm, cxt); in __tlb_switch_to_guest() 79 static void __hyp_text __tlb_switch_to_host_vhe(struct kvm *kvm, in __tlb_switch_to_host_vhe() argument 99 static void __hyp_text __tlb_switch_to_host_nvhe(struct kvm *kvm, in __tlb_switch_to_host_nvhe() argument 105 static void __hyp_text __tlb_switch_to_host(struct kvm *kvm, in __tlb_switch_to_host() argument [all …]
|
/Linux-v5.4/virt/kvm/arm/ |
D | mmu.c | 52 void kvm_flush_remote_tlbs(struct kvm *kvm) in kvm_flush_remote_tlbs() argument 54 kvm_call_hyp(__kvm_tlb_flush_vmid, kvm); in kvm_flush_remote_tlbs() 57 static void kvm_tlb_flush_vmid_ipa(struct kvm *kvm, phys_addr_t ipa) in kvm_tlb_flush_vmid_ipa() argument 59 kvm_call_hyp(__kvm_tlb_flush_vmid_ipa, kvm, ipa); in kvm_tlb_flush_vmid_ipa() 95 static void stage2_dissolve_pmd(struct kvm *kvm, phys_addr_t addr, pmd_t *pmd) in stage2_dissolve_pmd() argument 101 kvm_tlb_flush_vmid_ipa(kvm, addr); in stage2_dissolve_pmd() 113 static void stage2_dissolve_pud(struct kvm *kvm, phys_addr_t addr, pud_t *pudp) in stage2_dissolve_pud() argument 115 if (!stage2_pud_huge(kvm, *pudp)) in stage2_dissolve_pud() 118 stage2_pud_clear(kvm, pudp); in stage2_dissolve_pud() 119 kvm_tlb_flush_vmid_ipa(kvm, addr); in stage2_dissolve_pud() [all …]
|
/Linux-v5.4/arch/powerpc/kvm/ |
D | Makefile | 6 ccflags-y := -Ivirt/kvm -Iarch/powerpc/kvm 7 KVM := ../../../virt/kvm 19 kvm-e500-objs := \ 29 kvm-objs-$(CONFIG_KVM_E500V2) := $(kvm-e500-objs) 31 kvm-e500mc-objs := \ 41 kvm-objs-$(CONFIG_KVM_E500MC) := $(kvm-e500mc-objs) 43 kvm-book3s_64-builtin-objs-$(CONFIG_SPAPR_TCE_IOMMU) := \ 46 kvm-pr-y := \ 59 kvm-book3s_64-builtin-objs-$(CONFIG_KVM_BOOK3S_64_HANDLER) += \ 63 kvm-book3s_64-builtin-objs-$(CONFIG_KVM_BOOK3S_64_HANDLER) += \ [all …]
|
D | book3s_64_mmu_hv.c | 45 static long kvmppc_virtmode_do_h_enter(struct kvm *kvm, unsigned long flags, 51 struct kvm *kvm; member 116 void kvmppc_set_hpt(struct kvm *kvm, struct kvm_hpt_info *info) in kvmppc_set_hpt() argument 118 atomic64_set(&kvm->arch.mmio_update, 0); in kvmppc_set_hpt() 119 kvm->arch.hpt = *info; in kvmppc_set_hpt() 120 kvm->arch.sdr1 = __pa(info->virt) | (info->order - 18); in kvmppc_set_hpt() 123 info->virt, (long)info->order, kvm->arch.lpid); in kvmppc_set_hpt() 126 long kvmppc_alloc_reset_hpt(struct kvm *kvm, int order) in kvmppc_alloc_reset_hpt() argument 131 mutex_lock(&kvm->arch.mmu_setup_lock); in kvmppc_alloc_reset_hpt() 132 if (kvm->arch.mmu_ready) { in kvmppc_alloc_reset_hpt() [all …]
|
D | book3s_64_mmu_radix.c | 87 int lpid = vcpu->kvm->arch.lpid; in kvmhv_copy_tofrom_guest_radix() 131 struct kvm *kvm = vcpu->kvm; in kvmppc_mmu_walk_radix_tree() local 163 ret = kvm_read_guest(kvm, addr, &rpte, sizeof(rpte)); in kvmppc_mmu_walk_radix_tree() 224 struct kvm *kvm = vcpu->kvm; in kvmppc_mmu_radix_translate_table() local 239 ret = kvm_read_guest(kvm, ptbl, &entry, sizeof(entry)); in kvmppc_mmu_radix_translate_table() 269 vcpu->kvm->arch.process_table, pid, &pte); in kvmppc_mmu_radix_xlate() 295 void kvmppc_radix_tlbie_page(struct kvm *kvm, unsigned long addr, in kvmppc_radix_tlbie_page() argument 323 static void kvmppc_radix_flush_pwc(struct kvm *kvm, unsigned int lpid) in kvmppc_radix_flush_pwc() argument 338 static unsigned long kvmppc_radix_update_pte(struct kvm *kvm, pte_t *ptep, in kvmppc_radix_update_pte() argument 345 void kvmppc_radix_set_pte_at(struct kvm *kvm, unsigned long addr, in kvmppc_radix_set_pte_at() argument [all …]
|
/Linux-v5.4/arch/arm/include/asm/ |
D | stage2_pgtable.h | 17 #define kvm_mmu_cache_min_pages(kvm) 2 argument 19 #define stage2_pgd_none(kvm, pgd) pgd_none(pgd) argument 20 #define stage2_pgd_clear(kvm, pgd) pgd_clear(pgd) argument 21 #define stage2_pgd_present(kvm, pgd) pgd_present(pgd) argument 22 #define stage2_pgd_populate(kvm, pgd, pud) pgd_populate(NULL, pgd, pud) argument 23 #define stage2_pud_offset(kvm, pgd, address) pud_offset(pgd, address) argument 24 #define stage2_pud_free(kvm, pud) do { } while (0) argument 26 #define stage2_pud_none(kvm, pud) pud_none(pud) argument 27 #define stage2_pud_clear(kvm, pud) pud_clear(pud) argument 28 #define stage2_pud_present(kvm, pud) pud_present(pud) argument [all …]
|
/Linux-v5.4/arch/powerpc/include/asm/ |
D | kvm_ppc.h | 122 extern struct kvm_vcpu *kvmppc_core_vcpu_create(struct kvm *kvm, 164 extern void kvmppc_set_hpt(struct kvm *kvm, struct kvm_hpt_info *info); 165 extern long kvmppc_alloc_reset_hpt(struct kvm *kvm, int order); 167 extern void kvmppc_rmap_reset(struct kvm *kvm); 168 extern long kvmppc_prepare_vrma(struct kvm *kvm, 173 extern long kvm_spapr_tce_attach_iommu_group(struct kvm *kvm, int tablefd, 175 extern void kvm_spapr_tce_release_iommu_group(struct kvm *kvm, 177 extern int kvmppc_switch_mmu_to_hpt(struct kvm *kvm); 178 extern int kvmppc_switch_mmu_to_radix(struct kvm *kvm); 179 extern void kvmppc_setup_partition_table(struct kvm *kvm); [all …]
|
D | kvm_book3s.h | 86 struct kvm *kvm; member 161 extern long kvmppc_hv_find_lock_hpte(struct kvm *kvm, gva_t eaddr, 175 extern int kvmppc_book3s_hcall_implemented(struct kvm *kvm, unsigned long hc); 195 extern void kvmppc_radix_tlbie_page(struct kvm *kvm, unsigned long addr, 197 extern void kvmppc_unmap_pte(struct kvm *kvm, pte_t *pte, unsigned long gpa, 201 extern bool kvmppc_hv_handle_set_rc(struct kvm *kvm, pgd_t *pgtable, 209 extern int kvmppc_init_vm_radix(struct kvm *kvm); 210 extern void kvmppc_free_radix(struct kvm *kvm); 211 extern void kvmppc_free_pgtable_radix(struct kvm *kvm, pgd_t *pgd, 215 extern int kvm_unmap_radix(struct kvm *kvm, struct kvm_memory_slot *memslot, [all …]
|
/Linux-v5.4/arch/arm64/kvm/ |
D | Makefile | 6 ccflags-y += -I $(srctree)/$(src) -I $(srctree)/virt/kvm/arm/vgic 8 KVM=../../../virt/kvm 10 obj-$(CONFIG_KVM_ARM_HOST) += kvm.o 13 kvm-$(CONFIG_KVM_ARM_HOST) += $(KVM)/kvm_main.o $(KVM)/coalesced_mmio.o $(KVM)/eventfd.o $(KVM)/vfi… 14 kvm-$(CONFIG_KVM_ARM_HOST) += $(KVM)/arm/arm.o $(KVM)/arm/mmu.o $(KVM)/arm/mmio.o 15 kvm-$(CONFIG_KVM_ARM_HOST) += $(KVM)/arm/psci.o $(KVM)/arm/perf.o 17 kvm-$(CONFIG_KVM_ARM_HOST) += inject_fault.o regmap.o va_layout.o 18 kvm-$(CONFIG_KVM_ARM_HOST) += hyp.o hyp-init.o handle_exit.o 19 kvm-$(CONFIG_KVM_ARM_HOST) += guest.o debug.o reset.o sys_regs.o sys_regs_generic_v8.o 20 kvm-$(CONFIG_KVM_ARM_HOST) += vgic-sys-reg-v3.o fpsimd.o pmu.o [all …]
|