/arch/x86/kvm/ |
D | trace.h | 22 __field( unsigned int, vcpu_id ) 27 __entry->vcpu_id = vcpu->vcpu_id; 31 TP_printk("vcpu %u, rip 0x%lx", __entry->vcpu_id, __entry->rip) 302 __field( unsigned int, vcpu_id ) \ 309 __entry->vcpu_id = vcpu->vcpu_id; \ 318 __entry->vcpu_id, \ 555 __entry->apicid = apic->vcpu->vcpu_id; 572 __entry->apicid = apic->vcpu->vcpu_id; 844 TP_PROTO(unsigned int vcpu_id, __u64 previous_tsc_offset, 846 TP_ARGS(vcpu_id, previous_tsc_offset, next_tsc_offset), [all …]
|
D | ioapic.c | 124 old_val = test_bit(vcpu->vcpu_id, dest_map->map); in __rtc_irq_eoi_tracking_restore_one() 130 __set_bit(vcpu->vcpu_id, dest_map->map); in __rtc_irq_eoi_tracking_restore_one() 131 dest_map->vectors[vcpu->vcpu_id] = e->fields.vector; in __rtc_irq_eoi_tracking_restore_one() 134 __clear_bit(vcpu->vcpu_id, dest_map->map); in __rtc_irq_eoi_tracking_restore_one() 168 if (test_bit(vcpu->vcpu_id, dest_map->map) && in rtc_irq_eoi() 169 (vector == dest_map->vectors[vcpu->vcpu_id]) && in rtc_irq_eoi() 170 (test_and_clear_bit(vcpu->vcpu_id, in rtc_irq_eoi() 289 if (test_bit(vcpu->vcpu_id, dest_map->map)) in kvm_ioapic_scan_entry() 290 __set_bit(dest_map->vectors[vcpu->vcpu_id], in kvm_ioapic_scan_entry()
|
D | lapic.c | 111 return apic->vcpu->vcpu_id; in kvm_x2apic_id() 336 WARN_ON_ONCE(id != apic->vcpu->vcpu_id); in kvm_apic_set_x2apic_id() 1069 trace_kvm_apic_accept_irq(vcpu->vcpu_id, delivery_mode, in __apic_accept_irq() 1086 __set_bit(vcpu->vcpu_id, dest_map->map); in __apic_accept_irq() 1087 dest_map->vectors[vcpu->vcpu_id] = vector; in __apic_accept_irq() 1494 apic->vcpu->vcpu_id, in limit_periodic_timer_frequency() 1780 apic->vcpu->vcpu_id, in set_target_expiration() 1892 trace_kvm_hv_timer_state(vcpu->vcpu_id, ktimer->hv_timer_in_use); in start_hv_timer() 1911 trace_kvm_hv_timer_state(apic->vcpu->vcpu_id, false); in start_sw_timer() 2283 kvm_apic_set_xapic_id(apic, vcpu->vcpu_id); in kvm_lapic_set_base() [all …]
|
D | hyperv.c | 201 trace_kvm_hv_notify_acked_sint(vcpu->vcpu_id, sint); in kvm_hv_notify_acked_sint() 242 trace_kvm_hv_synic_set_msr(vcpu->vcpu_id, msr, data, host); in synic_set_msr() 344 trace_kvm_hv_syndbg_set_msr(vcpu->vcpu_id, in syndbg_set_msr() 406 trace_kvm_hv_syndbg_get_msr(vcpu->vcpu_id, kvm_hv_get_vpindex(vcpu), msr, *pdata); in syndbg_get_msr() 470 trace_kvm_hv_synic_set_irq(vcpu->vcpu_id, sint, irq.vector, ret); in synic_set_irq() 490 trace_kvm_hv_synic_send_eoi(vcpu->vcpu_id, vector); in kvm_hv_synic_send_eoi() 577 trace_kvm_hv_stimer_cleanup(hv_stimer_to_vcpu(stimer)->vcpu_id, in stimer_cleanup() 592 trace_kvm_hv_stimer_callback(hv_stimer_to_vcpu(stimer)->vcpu_id, in stimer_timer_callback() 626 hv_stimer_to_vcpu(stimer)->vcpu_id, in stimer_start() 648 trace_kvm_hv_stimer_start_one_shot(hv_stimer_to_vcpu(stimer)->vcpu_id, in stimer_start() [all …]
|
D | hyperv.h | 96 int kvm_hv_synic_set_irq(struct kvm *kvm, u32 vcpu_id, u32 sint);
|
/arch/powerpc/kvm/ |
D | trace_hv.h | 226 __field(int, vcpu_id) 233 __entry->vcpu_id = vcpu->vcpu_id; 240 __entry->vcpu_id, 250 __field(int, vcpu_id) 258 __entry->vcpu_id = vcpu->vcpu_id; 266 __entry->vcpu_id, 280 __field(int, vcpu_id) 291 __entry->vcpu_id = vcpu->vcpu_id; 302 __entry->vcpu_id, 314 __field(int, vcpu_id) [all …]
|
D | trace.h | 110 __entry->cpu_nr = vcpu->vcpu_id;
|
D | trace_booke.h | 190 __entry->cpu_nr = vcpu->vcpu_id;
|
D | e500mc.c | 48 tag = PPC_DBELL_LPID(get_lpid(vcpu)) | vcpu->vcpu_id; in kvmppc_set_pending_interrupt() 120 mtspr(SPRN_GPIR, vcpu->vcpu_id); in kvmppc_core_vcpu_load_e500mc()
|
D | book3s_xics.c | 614 XICS_DBG("h_xirr vcpu %d xirr %#x\n", vcpu->vcpu_id, xirr); in kvmppc_h_xirr() 630 vcpu->vcpu_id, server, mfrr); in kvmppc_h_ipi() 728 XICS_DBG("h_cppr vcpu %d cppr %#lx\n", vcpu->vcpu_id, cppr); in kvmppc_h_cppr() 823 XICS_DBG("h_eoi vcpu %d eoi %#lx\n", vcpu->vcpu_id, xirr); in kvmppc_h_eoi() 1091 XICS_DBG("created server for vcpu %d\n", vcpu->vcpu_id); in kvmppc_xics_create_icp()
|
D | emulate.c | 144 spr_val = vcpu->vcpu_id; in kvmppc_emulate_mfspr()
|
/arch/arm64/kvm/vgic/ |
D | trace.h | 11 TP_PROTO(unsigned long vcpu_id, __u32 irq, bool level), 12 TP_ARGS(vcpu_id, irq, level), 15 __field( unsigned long, vcpu_id ) 21 __entry->vcpu_id = vcpu_id; 27 __entry->vcpu_id, __entry->irq, __entry->level)
|
D | vgic-debug.c | 30 int vcpu_id; member 45 ++iter->vcpu_id < iter->nr_cpus) in iter_next() 78 iter->vcpu_id == iter->nr_cpus && in end_of_vgic() 169 id = vcpu->vcpu_id; in print_header() 215 (irq->target_vcpu) ? irq->target_vcpu->vcpu_id : -1, in print_irq_state() 227 (irq->vcpu) ? irq->vcpu->vcpu_id : -1); in print_irq_state() 246 if (iter->vcpu_id < iter->nr_cpus) in vgic_debug_show() 247 vcpu = kvm_get_vcpu(kvm, iter->vcpu_id); in vgic_debug_show()
|
D | vgic-mmio-v2.c | 125 targets &= ~(1U << source_vcpu->vcpu_id); /* but self */ in vgic_mmio_write_sgir() 128 targets = (1U << source_vcpu->vcpu_id); in vgic_mmio_write_sgir() 144 irq->source |= 1U << source_vcpu->vcpu_id; in vgic_mmio_write_sgir()
|
D | vgic-mmio-v3.c | 285 int target_vcpu_id = vcpu->vcpu_id; in vgic_mmio_read_v3r_typer() 1008 int vcpu_id = vcpu->vcpu_id; in vgic_v3_dispatch_sgi() local 1033 if (broadcast && c == vcpu_id) in vgic_v3_dispatch_sgi()
|
/arch/arm64/kvm/ |
D | trace_arm.h | 181 TP_PROTO(unsigned long vcpu_id, __u32 irq, int level), 182 TP_ARGS(vcpu_id, irq, level), 185 __field( unsigned long, vcpu_id ) 191 __entry->vcpu_id = vcpu_id; 197 __entry->vcpu_id, __entry->irq, __entry->level) 201 TP_PROTO(unsigned long vcpu_id, struct timer_map *map), 202 TP_ARGS(vcpu_id, map), 205 __field( unsigned long, vcpu_id ) 212 __entry->vcpu_id = vcpu_id; 221 __entry->vcpu_id,
|
D | sys_regs.h | 197 mpidr = (vcpu->vcpu_id & 0x0f) << MPIDR_LEVEL_SHIFT(0); in calculate_mpidr() 198 mpidr |= ((vcpu->vcpu_id >> 4) & 0xff) << MPIDR_LEVEL_SHIFT(1); in calculate_mpidr() 199 mpidr |= ((vcpu->vcpu_id >> 12) & 0xff) << MPIDR_LEVEL_SHIFT(2); in calculate_mpidr()
|
/arch/s390/kvm/ |
D | sigp.c | 39 VCPU_EVENT(vcpu, 4, "sensed status of cpu %x rc %x", dst_vcpu->vcpu_id, in __sigp_sense() 49 .u.emerg.code = vcpu->vcpu_id, in __inject_sigp_emergency() 56 dst_vcpu->vcpu_id); in __inject_sigp_emergency() 98 .u.extcall.code = vcpu->vcpu_id, in __sigp_external_call() 109 dst_vcpu->vcpu_id); in __sigp_external_call() 127 dst_vcpu->vcpu_id); in __sigp_stop() 146 dst_vcpu->vcpu_id); in __sigp_stop_and_store_status() 247 dst_vcpu->vcpu_id, rc); in __sigp_sense_running() 382 order_code, dst_vcpu->vcpu_id); in handle_sigp_dst()
|
D | interrupt.c | 54 sca->cpu[vcpu->vcpu_id].sigp_ctrl; in sca_ext_call_pending() 61 sca->cpu[vcpu->vcpu_id].sigp_ctrl; in sca_ext_call_pending() 83 &(sca->cpu[vcpu->vcpu_id].sigp_ctrl); in sca_inject_ext_call() 96 &(sca->cpu[vcpu->vcpu_id].sigp_ctrl); in sca_inject_ext_call() 128 &(sca->cpu[vcpu->vcpu_id].sigp_ctrl); in sca_clear_ext_call() 137 &(sca->cpu[vcpu->vcpu_id].sigp_ctrl); in sca_clear_ext_call() 500 trace_kvm_s390_deliver_interrupt(vcpu->vcpu_id, KVM_S390_INT_CPU_TIMER, in __deliver_cpu_timer() 524 trace_kvm_s390_deliver_interrupt(vcpu->vcpu_id, KVM_S390_INT_CLOCK_COMP, in __deliver_ckc() 556 trace_kvm_s390_deliver_interrupt(vcpu->vcpu_id, in __deliver_pfault_init() 724 trace_kvm_s390_deliver_interrupt(vcpu->vcpu_id, in __deliver_machine_check() [all …]
|
D | pv.c | 27 vcpu->vcpu_id, *rc, *rrc); in kvm_s390_pv_destroy_cpu() 86 vcpu->vcpu_id, uvcb.cpu_handle, uvcb.header.rc, in kvm_s390_pv_create_cpu() 306 vcpu->vcpu_id, state, uvcb.header.rc, uvcb.header.rrc); in kvm_s390_pv_set_cpu_state()
|
D | kvm-s390.h | 55 "%02d[%016lx-%016lx]: " d_string "\n", d_vcpu->vcpu_id, \ 104 VCPU_EVENT(vcpu, 3, "set prefix of cpu %03u to 0x%x", vcpu->vcpu_id, in kvm_s390_set_prefix()
|
D | kvm-s390.c | 2824 trace_kvm_s390_destroy_vcpu(vcpu->vcpu_id); in kvm_arch_vcpu_destroy() 2901 clear_bit_inv(vcpu->vcpu_id, (unsigned long *) sca->mcn); in sca_del_vcpu() 2902 sca->cpu[vcpu->vcpu_id].sda = 0; in sca_del_vcpu() 2906 clear_bit_inv(vcpu->vcpu_id, (unsigned long *) &sca->mcn); in sca_del_vcpu() 2907 sca->cpu[vcpu->vcpu_id].sda = 0; in sca_del_vcpu() 2926 sca->cpu[vcpu->vcpu_id].sda = (__u64) vcpu->arch.sie_block; in sca_add_vcpu() 2930 set_bit_inv(vcpu->vcpu_id, (unsigned long *) sca->mcn); in sca_add_vcpu() 2934 sca->cpu[vcpu->vcpu_id].sda = (__u64) vcpu->arch.sie_block; in sca_add_vcpu() 2937 set_bit_inv(vcpu->vcpu_id, (unsigned long *) &sca->mcn); in sca_add_vcpu() 3269 vcpu->arch.sie_block->gd & 0x3, vcpu->vcpu_id); in kvm_s390_vcpu_setup() [all …]
|
/arch/x86/kvm/svm/ |
D | avic.c | 93 u32 vcpu_id = AVIC_GATAG_TO_VCPUID(ga_tag); in avic_ga_log_notifier() local 95 pr_debug("SVM: %s: vm_id=%#x, vcpu_id=%#x\n", __func__, vm_id, vcpu_id); in avic_ga_log_notifier() 96 trace_kvm_avic_ga_log(vm_id, vcpu_id); in avic_ga_log_notifier() 102 vcpu = kvm_get_vcpu_by_id(&kvm_svm->kvm, vcpu_id); in avic_ga_log_notifier() 258 int id = vcpu->vcpu_id; in avic_init_backing_page() 318 trace_kvm_avic_incomplete_ipi(vcpu->vcpu_id, icrh, icrl, id, index); in avic_incomplete_ipi_interception() 443 if (vcpu->vcpu_id == id) in avic_handle_apic_id_update() 446 old = avic_get_physical_id_entry(vcpu, vcpu->vcpu_id); in avic_handle_apic_id_update() 546 trace_kvm_avic_unaccelerated_access(vcpu->vcpu_id, offset, in avic_unaccelerated_access_interception() 723 u32 vcpu_id = AVIC_GATAG_TO_VCPUID(pi->prev_ga_tag); in svm_ir_list_add() local [all …]
|
/arch/mips/kvm/ |
D | stats.c | 54 kvm_info("\nKVM VCPU[%d] COP0 Access Profile:\n", vcpu->vcpu_id); in kvm_mips_dump_stats()
|
/arch/x86/kvm/mmu/ |
D | mmutrace.h | 260 __field(int, vcpu_id) 270 __entry->vcpu_id = vcpu->vcpu_id; 280 " new %llx spurious %d fixed %d", __entry->vcpu_id,
|