Home
last modified time | relevance | path

Searched refs:evtchn_upcall_pending (Results 1 – 11 of 11) sorted by relevance

/openbmc/linux/drivers/xen/events/
H A Devents_2l.c133 vcpu_info->evtchn_upcall_pending = 1; in evtchn_2l_unmask()
285 pending, v->evtchn_upcall_pending, in xen_debug_interrupt()
H A Devents_base.c1707 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 Dxen_shinfo_test.c135 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 Dxen.c532 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 Dxen.h200 uint8_t evtchn_upcall_pending; member
/openbmc/linux/arch/x86/kernel/
H A Dasm-offsets.c66 OFFSET(XEN_vcpu_info_pending, vcpu_info, evtchn_upcall_pending); in common()
/openbmc/qemu/hw/i386/kvm/
H A Dxen_evtchn.c79 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/include/xen/interface/
H A Dxen.h531 uint8_t evtchn_upcall_pending; member
/openbmc/qemu/include/hw/xen/interface/
H A Dxen.h704 uint8_t evtchn_upcall_pending; member
/openbmc/qemu/target/i386/kvm/
H A Dxen-emu.c405 if (!vi->evtchn_upcall_pending) { in kvm_xen_maybe_deassert_callback()
412 if (!vi->evtchn_upcall_pending) { in kvm_xen_maybe_deassert_callback()
/openbmc/linux/Documentation/virt/kvm/
H A Dapi.rst8267 for event channel upcalls when the evtchn_upcall_pending field of a vcpu's