Home
last modified time | relevance | path

Searched refs:vgic_irq (Results 1 – 13 of 13) sorted by relevance

/Linux-v6.6/arch/arm64/kvm/vgic/
Dvgic.h108 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 …]
Dvgic.c60 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 …]
Dvgic-mmio.c53 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 …]
Dvgic-v4.c108 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()
Dvgic-mmio-v2.c146 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()
Dvgic-its.c29 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 …]
Dvgic-debug.c161 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()
Dvgic-init.c146 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()
Dvgic-v3.c49 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()
Dvgic-mmio-v3.c197 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()
Dvgic-v2.c62 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/
Darm_vgic.h117 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/
DMakefile151 TEST_GEN_PROGS_aarch64 += aarch64/vgic_irq