Searched refs:evtchn_upcall_pending (Results 1 – 11 of 11) sorted by relevance
/openbmc/linux/drivers/xen/events/ |
H A D | events_2l.c | 133 vcpu_info->evtchn_upcall_pending = 1; in evtchn_2l_unmask() 285 pending, v->evtchn_upcall_pending, in xen_debug_interrupt()
|
H A D | events_base.c | 1707 int ret = vcpu_info->evtchn_upcall_pending ? IRQ_HANDLED : IRQ_NONE; in xen_evtchn_do_upcall() 1721 vcpu_info->evtchn_upcall_pending = 0; in xen_evtchn_do_upcall() 1729 } while (vcpu_info->evtchn_upcall_pending); in xen_evtchn_do_upcall()
|
/openbmc/linux/tools/testing/selftests/kvm/x86_64/ |
H A D | xen_shinfo_test.c | 135 uint8_t evtchn_upcall_pending; member 173 vi->evtchn_upcall_pending = 0; in evtchn_handler() 398 printf("evtchn_upcall_pending 0x%x\n", vinfo->evtchn_upcall_pending); in handle_alrm() 613 vinfo->evtchn_upcall_pending = 0; in main() 644 vinfo->evtchn_upcall_pending = 1; in main()
|
/openbmc/linux/arch/x86/kvm/ |
H A D | xen.c | 532 WRITE_ONCE(vi->evtchn_upcall_pending, 1); in kvm_xen_inject_pending_events() 544 WRITE_ONCE(vi->evtchn_upcall_pending, 1); in kvm_xen_inject_pending_events() 567 BUILD_BUG_ON(offsetof(struct vcpu_info, evtchn_upcall_pending) != in __kvm_xen_has_interrupt() 568 offsetof(struct compat_vcpu_info, evtchn_upcall_pending)); in __kvm_xen_has_interrupt() 570 sizeof_field(struct vcpu_info, evtchn_upcall_pending)); in __kvm_xen_has_interrupt() 572 sizeof_field(struct compat_vcpu_info, evtchn_upcall_pending)); in __kvm_xen_has_interrupt() 599 rc = ((struct vcpu_info *)gpc->khva)->evtchn_upcall_pending; in __kvm_xen_has_interrupt() 1630 WRITE_ONCE(vcpu_info->evtchn_upcall_pending, 1); in kvm_xen_set_evtchn_fast() 1637 WRITE_ONCE(vcpu_info->evtchn_upcall_pending, 1); in kvm_xen_set_evtchn_fast()
|
H A D | xen.h | 200 uint8_t evtchn_upcall_pending; member
|
/openbmc/qemu/hw/i386/kvm/ |
H A D | xen_evtchn.c | 79 uint8_t evtchn_upcall_pending; member 301 xen_evtchn_set_callback_level(!!vi->evtchn_upcall_pending); in gsi_assert_bh() 514 if (gsi && vi && vi->evtchn_upcall_pending) { in xen_evtchn_set_callback_param() 729 if (qatomic_fetch_or(&vcpu_info->evtchn_upcall_pending, 1)) { in do_unmask_port_lm() 787 if (qatomic_fetch_or(&vcpu_info->evtchn_upcall_pending, 1)) { in do_unmask_port_compat() 855 if (qatomic_fetch_or(&vcpu_info->evtchn_upcall_pending, 1)) { in do_set_port_lm() 898 if (qatomic_fetch_or(&vcpu_info->evtchn_upcall_pending, 1)) { in do_set_port_compat()
|
/openbmc/linux/arch/x86/kernel/ |
H A D | asm-offsets.c | 66 OFFSET(XEN_vcpu_info_pending, vcpu_info, evtchn_upcall_pending); in common()
|
/openbmc/linux/include/xen/interface/ |
H A D | xen.h | 531 uint8_t evtchn_upcall_pending; member
|
/openbmc/qemu/include/hw/xen/interface/ |
H A D | xen.h | 704 uint8_t evtchn_upcall_pending; member
|
/openbmc/qemu/target/i386/kvm/ |
H A D | xen-emu.c | 400 if (!vi->evtchn_upcall_pending) { in kvm_xen_maybe_deassert_callback() 407 if (!vi->evtchn_upcall_pending) { in kvm_xen_maybe_deassert_callback()
|
/openbmc/linux/Documentation/virt/kvm/ |
H A D | api.rst | 8267 for event channel upcalls when the evtchn_upcall_pending field of a vcpu's
|