/kernel/linux/linux-5.10/arch/arm64/kvm/vgic/ |
D | vgic.c | 58 static struct vgic_irq *vgic_get_lpi(struct kvm *kvm, u32 intid) in vgic_get_lpi() 61 struct vgic_irq *irq = NULL; in vgic_get_lpi() 90 struct vgic_irq *vgic_get_irq(struct kvm *kvm, struct kvm_vcpu *vcpu, in vgic_get_irq() 125 void __vgic_put_lpi_locked(struct kvm *kvm, struct vgic_irq *irq) in __vgic_put_lpi_locked() 138 void vgic_put_irq(struct kvm *kvm, struct vgic_irq *irq) in vgic_put_irq() 154 struct vgic_irq *irq, *tmp; in vgic_flush_pending_lpis() 172 void vgic_irq_set_phys_pending(struct vgic_irq *irq, bool pending) in vgic_irq_set_phys_pending() 179 bool vgic_get_phys_line_level(struct vgic_irq *irq) in vgic_get_phys_line_level() 195 void vgic_irq_set_phys_active(struct vgic_irq *irq, bool active) in vgic_irq_set_phys_active() 215 static struct kvm_vcpu *vgic_target_oracle(struct vgic_irq *irq) in vgic_target_oracle() [all …]
|
D | vgic.h | 102 static inline bool irq_is_pending(struct vgic_irq *irq) in irq_is_pending() 110 static inline bool vgic_irq_is_mapped_level(struct vgic_irq *irq) in vgic_irq_is_mapped_level() 115 static inline int vgic_irq_get_lr_count(struct vgic_irq *irq) in vgic_irq_get_lr_count() 124 static inline bool vgic_irq_is_multi_sgi(struct vgic_irq *irq) in vgic_irq_is_multi_sgi() 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); 166 bool vgic_get_phys_line_level(struct vgic_irq *irq); 167 void vgic_irq_set_phys_pending(struct vgic_irq *irq, bool pending); 168 void vgic_irq_set_phys_active(struct vgic_irq *irq, bool active); [all …]
|
D | vgic-mmio.c | 53 struct vgic_irq *irq = vgic_get_irq(vcpu->kvm, vcpu, intid + i); in vgic_mmio_read_group() 64 static void vgic_update_vsgi(struct vgic_irq *irq) in vgic_update_vsgi() 77 struct vgic_irq *irq = vgic_get_irq(vcpu->kvm, vcpu, intid + i); in vgic_mmio_write_group() 105 struct vgic_irq *irq = vgic_get_irq(vcpu->kvm, vcpu, intid + i); in vgic_mmio_read_enable() 125 struct vgic_irq *irq = vgic_get_irq(vcpu->kvm, vcpu, intid + i); in vgic_mmio_write_senable() 174 struct vgic_irq *irq = vgic_get_irq(vcpu->kvm, vcpu, intid + i); in vgic_mmio_write_cenable() 196 struct vgic_irq *irq = vgic_get_irq(vcpu->kvm, vcpu, intid + i); in vgic_uaccess_write_senable() 217 struct vgic_irq *irq = vgic_get_irq(vcpu->kvm, vcpu, intid + i); in vgic_uaccess_write_cenable() 238 struct vgic_irq *irq = vgic_get_irq(vcpu->kvm, vcpu, intid + i); in vgic_mmio_read_pending() 264 static bool is_vgic_v2_sgi(struct kvm_vcpu *vcpu, struct vgic_irq *irq) in is_vgic_v2_sgi() [all …]
|
D | vgic-v4.c | 108 static void vgic_v4_sync_sgi_config(struct its_vpe *vpe, struct vgic_irq *irq) in vgic_v4_sync_sgi_config() 126 struct vgic_irq *irq = vgic_get_irq(vcpu->kvm, vcpu, i); in vgic_v4_enable_vsgis() 163 struct vgic_irq *irq = vgic_get_irq(vcpu->kvm, vcpu, i); in vgic_v4_disable_vsgis() 374 struct vgic_irq *irq; in kvm_vgic_v4_set_forwarding() 430 struct vgic_irq *irq; in kvm_vgic_v4_unset_forwarding()
|
D | vgic-mmio-v2.c | 135 struct vgic_irq *irq; in vgic_mmio_write_sgir() 159 struct vgic_irq *irq = vgic_get_irq(vcpu->kvm, vcpu, intid + i); in vgic_mmio_read_target() 183 struct vgic_irq *irq = vgic_get_irq(vcpu->kvm, NULL, intid + i); in vgic_mmio_write_target() 205 struct vgic_irq *irq = vgic_get_irq(vcpu->kvm, vcpu, intid + i); in vgic_mmio_read_sgipend() 223 struct vgic_irq *irq = vgic_get_irq(vcpu->kvm, vcpu, intid + i); in vgic_mmio_write_sgipendc() 245 struct vgic_irq *irq = vgic_get_irq(vcpu->kvm, vcpu, intid + i); in vgic_mmio_write_sgipends()
|
D | vgic-init.c | 137 dist->spis = kcalloc(nr_spis, sizeof(struct vgic_irq), GFP_KERNEL); in kvm_vgic_dist_init() 150 struct vgic_irq *irq = &dist->spis[i]; in kvm_vgic_dist_init() 203 struct vgic_irq *irq = &vgic_cpu->private_irqs[i]; in kvm_vgic_vcpu_init() 280 struct vgic_irq *irq = &vgic_cpu->private_irqs[i]; in vgic_init()
|
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() 43 struct vgic_irq *irq = vgic_get_irq(kvm, NULL, intid), *oldirq; in vgic_add_lpi() 51 irq = kzalloc(sizeof(struct vgic_irq), GFP_KERNEL); in vgic_add_lpi() 143 struct vgic_irq *irq; 153 struct vgic_irq *irq; 280 static int update_lpi_config(struct kvm *kvm, struct vgic_irq *irq, in update_lpi_config() 322 struct vgic_irq *irq; in vgic_copy_lpi_list() 354 static int update_affinity(struct vgic_irq *irq, struct kvm_vcpu *vcpu) in update_affinity() 431 struct vgic_irq *irq; in its_sync_lpi_pending_table() [all …]
|
D | vgic-debug.c | 161 static void print_header(struct seq_file *s, struct vgic_irq *irq, in print_header() 177 static void print_irq_state(struct seq_file *s, struct vgic_irq *irq, in print_irq_state() 234 struct vgic_irq *irq; in vgic_debug_show()
|
D | vgic-v3.c | 45 struct vgic_irq *irq; in vgic_v3_fold_lr_state() 118 void vgic_v3_populate_lr(struct kvm_vcpu *vcpu, struct vgic_irq *irq, int lr) in vgic_v3_populate_lr() 314 int vgic_v3_lpi_sync_pending_status(struct kvm *kvm, struct vgic_irq *irq) in vgic_v3_lpi_sync_pending_status() 366 struct vgic_irq *irq; in vgic_v3_save_pending_tables()
|
D | vgic-mmio-v3.c | 183 struct vgic_irq *irq = vgic_get_irq(vcpu->kvm, NULL, intid); in vgic_mmio_read_irouter() 202 struct vgic_irq *irq; in vgic_mmio_write_irouter() 326 struct vgic_irq *irq = vgic_get_irq(vcpu->kvm, vcpu, intid + i); in vgic_v3_uaccess_read_pending() 356 struct vgic_irq *irq = vgic_get_irq(vcpu->kvm, vcpu, intid + i); in vgic_v3_uaccess_write_pending() 996 struct vgic_irq *irq; in vgic_v3_dispatch_sgi()
|
D | vgic-v2.c | 62 struct vgic_irq *irq; in vgic_v2_fold_lr_state() 137 void vgic_v2_populate_lr(struct kvm_vcpu *vcpu, struct vgic_irq *irq, int lr) in vgic_v2_populate_lr()
|
/kernel/linux/linux-5.10/include/kvm/ |
D | arm_vgic.h | 92 struct vgic_irq { struct 237 struct vgic_irq *spis; 307 struct vgic_irq private_irqs[VGIC_NR_PRIVATE_IRQS];
|