Home
last modified time | relevance | path

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

/linux-6.1.9/arch/arm64/kvm/vgic/
Dvgic.h107 static inline bool irq_is_pending(struct vgic_irq *irq) in irq_is_pending()
115 static inline bool vgic_irq_is_mapped_level(struct vgic_irq *irq) in vgic_irq_is_mapped_level()
120 static inline int vgic_irq_get_lr_count(struct vgic_irq *irq) in vgic_irq_get_lr_count()
129 static inline bool vgic_irq_is_multi_sgi(struct vgic_irq *irq) in vgic_irq_is_multi_sgi()
167 struct vgic_irq *vgic_get_irq(struct kvm *kvm, struct kvm_vcpu *vcpu,
169 void __vgic_put_lpi_locked(struct kvm *kvm, struct vgic_irq *irq);
170 void vgic_put_irq(struct kvm *kvm, struct vgic_irq *irq);
171 bool vgic_get_phys_line_level(struct vgic_irq *irq);
172 void vgic_irq_set_phys_pending(struct vgic_irq *irq, bool pending);
173 void vgic_irq_set_phys_active(struct vgic_irq *irq, bool active);
[all …]
Dvgic.c58 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()
124 void __vgic_put_lpi_locked(struct kvm *kvm, struct vgic_irq *irq) in __vgic_put_lpi_locked()
137 void vgic_put_irq(struct kvm *kvm, struct vgic_irq *irq) in vgic_put_irq()
153 struct vgic_irq *irq, *tmp; in vgic_flush_pending_lpis()
171 void vgic_irq_set_phys_pending(struct vgic_irq *irq, bool pending) in vgic_irq_set_phys_pending()
178 bool vgic_get_phys_line_level(struct vgic_irq *irq) in vgic_get_phys_line_level()
194 void vgic_irq_set_phys_active(struct vgic_irq *irq, bool active) in vgic_irq_set_phys_active()
214 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()
212 void vgic_v4_get_vlpi_state(struct vgic_irq *irq, bool *val) in vgic_v4_get_vlpi_state()
410 struct vgic_irq *irq; in kvm_vgic_v4_set_forwarding()
485 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-init.c138 dist->spis = kcalloc(nr_spis, sizeof(struct vgic_irq), GFP_KERNEL_ACCOUNT); in kvm_vgic_dist_init()
151 struct vgic_irq *irq = &dist->spis[i]; in kvm_vgic_dist_init()
204 struct vgic_irq *irq = &vgic_cpu->private_irqs[i]; in kvm_vgic_vcpu_init()
282 struct vgic_irq *irq = &vgic_cpu->private_irqs[i]; in vgic_init()
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-v3.c48 struct vgic_irq *irq; in vgic_v3_fold_lr_state()
106 void vgic_v3_populate_lr(struct kvm_vcpu *vcpu, struct vgic_irq *irq, int lr) in vgic_v3_populate_lr()
304 int vgic_v3_lpi_sync_pending_status(struct kvm *kvm, struct vgic_irq *irq) in vgic_v3_lpi_sync_pending_status()
379 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()
1083 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-6.1.9/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;
331 struct vgic_irq private_irqs[VGIC_NR_PRIVATE_IRQS];
/linux-6.1.9/tools/testing/selftests/kvm/
D.gitignore10 /aarch64/vgic_irq
DMakefile159 TEST_GEN_PROGS_aarch64 += aarch64/vgic_irq