/Linux-v6.6/arch/arm64/kvm/vgic/ |
D | vgic.h | 108 static inline bool irq_is_pending(struct vgic_irq *irq) in irq_is_pending() 116 static inline bool vgic_irq_is_mapped_level(struct vgic_irq *irq) in vgic_irq_is_mapped_level() 121 static inline int vgic_irq_get_lr_count(struct vgic_irq *irq) in vgic_irq_get_lr_count() 130 static inline bool vgic_irq_is_multi_sgi(struct vgic_irq *irq) in vgic_irq_is_multi_sgi() 181 struct vgic_irq *vgic_get_irq(struct kvm *kvm, struct kvm_vcpu *vcpu, 183 void __vgic_put_lpi_locked(struct kvm *kvm, struct vgic_irq *irq); 184 void vgic_put_irq(struct kvm *kvm, struct vgic_irq *irq); 185 bool vgic_get_phys_line_level(struct vgic_irq *irq); 186 void vgic_irq_set_phys_pending(struct vgic_irq *irq, bool pending); 187 void vgic_irq_set_phys_active(struct vgic_irq *irq, bool active); [all …]
|
D | vgic.c | 60 static struct vgic_irq *vgic_get_lpi(struct kvm *kvm, u32 intid) in vgic_get_lpi() 63 struct vgic_irq *irq = NULL; in vgic_get_lpi() 92 struct vgic_irq *vgic_get_irq(struct kvm *kvm, struct kvm_vcpu *vcpu, in vgic_get_irq() 126 void __vgic_put_lpi_locked(struct kvm *kvm, struct vgic_irq *irq) in __vgic_put_lpi_locked() 139 void vgic_put_irq(struct kvm *kvm, struct vgic_irq *irq) in vgic_put_irq() 155 struct vgic_irq *irq, *tmp; in vgic_flush_pending_lpis() 173 void vgic_irq_set_phys_pending(struct vgic_irq *irq, bool pending) in vgic_irq_set_phys_pending() 180 bool vgic_get_phys_line_level(struct vgic_irq *irq) in vgic_get_phys_line_level() 196 void vgic_irq_set_phys_active(struct vgic_irq *irq, bool active) in vgic_irq_set_phys_active() 216 static struct kvm_vcpu *vgic_target_oracle(struct vgic_irq *irq) in vgic_target_oracle() [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() 239 struct vgic_irq *irq = vgic_get_irq(vcpu->kvm, vcpu, intid + i); in __read_pending() 298 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() 213 void vgic_v4_get_vlpi_state(struct vgic_irq *irq, bool *val) in vgic_v4_get_vlpi_state() 415 struct vgic_irq *irq; in kvm_vgic_v4_set_forwarding() 490 struct vgic_irq *irq; in kvm_vgic_v4_unset_forwarding()
|
D | vgic-mmio-v2.c | 146 struct vgic_irq *irq; in vgic_mmio_write_sgir() 170 struct vgic_irq *irq = vgic_get_irq(vcpu->kvm, vcpu, intid + i); in vgic_mmio_read_target() 194 struct vgic_irq *irq = vgic_get_irq(vcpu->kvm, NULL, intid + i); in vgic_mmio_write_target() 216 struct vgic_irq *irq = vgic_get_irq(vcpu->kvm, vcpu, intid + i); in vgic_mmio_read_sgipend() 234 struct vgic_irq *irq = vgic_get_irq(vcpu->kvm, vcpu, intid + i); in vgic_mmio_write_sgipendc() 256 struct vgic_irq *irq = vgic_get_irq(vcpu->kvm, vcpu, intid + i); in vgic_mmio_write_sgipends()
|
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_ACCOUNT); 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-init.c | 146 dist->spis = kcalloc(nr_spis, sizeof(struct vgic_irq), GFP_KERNEL_ACCOUNT); in kvm_vgic_dist_init() 159 struct vgic_irq *irq = &dist->spis[i]; in kvm_vgic_dist_init() 212 struct vgic_irq *irq = &vgic_cpu->private_irqs[i]; in kvm_vgic_vcpu_init() 291 struct vgic_irq *irq = &vgic_cpu->private_irqs[i]; in vgic_init()
|
D | vgic-v3.c | 49 struct vgic_irq *irq; in vgic_v3_fold_lr_state() 107 void vgic_v3_populate_lr(struct kvm_vcpu *vcpu, struct vgic_irq *irq, int lr) in vgic_v3_populate_lr() 305 int vgic_v3_lpi_sync_pending_status(struct kvm *kvm, struct vgic_irq *irq) in vgic_v3_lpi_sync_pending_status() 380 struct vgic_irq *irq; in vgic_v3_save_pending_tables()
|
D | vgic-mmio-v3.c | 197 struct vgic_irq *irq = vgic_get_irq(vcpu->kvm, NULL, intid); in vgic_mmio_read_irouter() 216 struct vgic_irq *irq; in vgic_mmio_write_irouter() 365 struct vgic_irq *irq = vgic_get_irq(vcpu->kvm, vcpu, intid + i); in vgic_v3_uaccess_write_pending() 550 struct vgic_irq *irq; in vgic_mmio_write_invlpi() 1094 struct vgic_irq *irq; in vgic_v3_dispatch_sgi()
|
D | vgic-v2.c | 62 struct vgic_irq *irq; in vgic_v2_fold_lr_state() 122 void vgic_v2_populate_lr(struct kvm_vcpu *vcpu, struct vgic_irq *irq, int lr) in vgic_v2_populate_lr()
|
/Linux-v6.6/include/kvm/ |
D | arm_vgic.h | 117 struct vgic_irq { struct 160 static inline bool vgic_irq_needs_resampling(struct vgic_irq *irq) in vgic_irq_needs_resampling() argument 261 struct vgic_irq *spis; 332 struct vgic_irq private_irqs[VGIC_NR_PRIVATE_IRQS];
|
/Linux-v6.6/tools/testing/selftests/kvm/ |
D | Makefile | 151 TEST_GEN_PROGS_aarch64 += aarch64/vgic_irq
|