/kvm-unit-tests/lib/s390x/ |
H A D | interrupt.c | 3 * s390x interrupt handling 15 #include <interrupt.h> 22 * expect_pgm_int - Expect a program interrupt on the current CPU. 33 * expect_ext_int - Expect an external interrupt on the current CPU. 43 * clear_pgm_int - Clear program interrupt information 45 * Clear program interrupt information, including the expected program 46 * interrupt flag. 49 * Return: the program interrupt code before clearing 64 * check_pgm_int_code - Check the program interrupt code on the current CPU. 65 * @code: the expected program interrupt code on the current CPU [all …]
|
H A D | interrupt.h | 3 #include <asm/interrupt.h>
|
H A D | fault.h | 15 #include <asm/interrupt.h>
|
H A D | css_lib.c | 14 #include <interrupt.h> 359 report_prefix_push("Interrupt"); in css_irq_io() 361 /* Lowlevel set the SID as interrupt parameter. */ in css_irq_io() 375 report_fail("I/O interrupt, but tsch returns CC 1 for subchannel %08x.SCSW flags: %s", in css_irq_io() 436 report_fail("interrupt parameter: expected %08x got %08x", in wait_and_check_io_completion() 444 report_fail("No status pending after interrupt. Subch Ctrl: %08x", in wait_and_check_io_completion()
|
/kvm-unit-tests/s390x/ |
H A D | firq.c | 3 * Floating interrupt tests. 12 #include <asm/interrupt.h> 32 * waiting CPU not getting woken up for the interrupt. 52 * interrupt on CPU #1 while it is in the wait state. in test_wait_state_delivery() 56 /* Start CPU #1 and let it wait for the interrupt. */ in test_wait_state_delivery() 83 * Wait until the interrupt gets delivered on CPU #1, marking the in test_wait_state_delivery() 88 report(true, "sclp interrupt delivered"); in test_wait_state_delivery()
|
H A D | cstart64.S | 61 /* setup pgm interrupt handler */ 64 /* setup ext interrupt handler */ 67 /* setup mcck interrupt handler */ 70 /* setup io interrupt handler */ 73 /* setup svc interrupt handler */
|
H A D | panic-loop-extint.c | 3 * External interrupt loop test 11 #include <asm/interrupt.h> 25 * interrupt will fire every time we enable external interrupts, in ext_int_cleanup()
|
H A D | panic-loop-pgm.c | 3 * Program interrupt loop test 12 #include <asm/interrupt.h>
|
H A D | smp.c | 12 #include <asm/interrupt.h> 393 /* Let the secondary CPU setup the external mask and the external interrupt cleanup function */ in test_calls_in_wait() 407 * up the restart new PSW mask in wait, send the restart interrupt and then in test_calls_in_wait() 423 * to catch an interrupt that is presented twice since we would in test_calls_in_wait() 424 * disable the external call on the first interrupt. in test_calls_in_wait()
|
H A D | iep.c | 14 #include <asm/interrupt.h>
|
/kvm-unit-tests/powerpc/ |
H A D | interrupts.c | 146 report(got_interrupt, "interrupt on NULL dereference"); in test_dseg_nommu() 239 report(got_interrupt, "interrupt on decrementer underflow"); in test_dec() 266 report(got_interrupt, "interrupt on hdecrementer underflow"); in test_dec() 296 * HEAI interrupt with the HEIR SPR set to the instruction image. pseries 297 * (guest) should take a program interrupt. CPUs which support prefix 311 report(got_interrupt, "interrupt on invalid instruction"); in test_illegal() 319 report(got_interrupt, "interrupt on invalid prefix instruction"); in test_illegal() 351 report(got_interrupt, "interrupt on privileged instruction"); in test_privileged() 373 report(got_interrupt, "interrupt on sc 0 instruction"); in test_sc() 380 report(got_interrupt, "interrupt on sc 1 instruction"); in test_sc() [all …]
|
H A D | timebase.c | 128 "no interrupt on decrementer positive"); in test_dec() 138 report(got_interrupt, "interrupt on decrementer underflow"); in test_dec() 145 report(got_interrupt, "interrupt on decrementer still underflown"); in test_dec() 163 report(got_interrupt, "interrupt on decrementer write MSB"); in test_dec() 172 report(got_interrupt, "interrupt on decrementer write MSB with irqs on"); in test_dec() 181 "no interrupt after wrap to positive"); in test_dec() 219 report(!got_interrupt, "no interrupt on decrementer positive"); in test_hdec() 231 report(got_interrupt, "interrupt on hdecrementer underflow"); in test_hdec() 238 report(!got_interrupt, "no interrupt on hdecrementer still underflown"); in test_hdec() 246 report(got_interrupt, "no interrupt on hdecrementer underflown write MSB"); in test_hdec() [all …]
|
/kvm-unit-tests/x86/ |
H A D | eventinj.c | 269 /* generate HW interrupt that will fault on IDT */ in main() 280 /* generate soft interrupt that will fault on IDT and stack */ in main() 289 /* Inject two HW interrupt than open interrupt windows. Both interrupt in main() 302 /* Inject HW interrupt, do sti and than (while in irq shadow) inject in main() 303 soft interrupt. Fault during soft interrupt. Soft interrupt should in main() 304 be handled before HW interrupt */ in main() 352 Interrupt windows is used instead, so let pending NMI in main() 364 Interrupt windows is used instead, so let pending NMI in main() 410 /* use shadowed stack during interrupt delivery */ in main()
|
H A D | hyperv.h | 21 /* Define synthetic interrupt controller model specific registers. */ 85 /* Define synthetic interrupt controller message constants. */ 118 /* Define synthetic interrupt controller message flags. */ 142 /* Define synthetic interrupt controller message header. */ 162 /* Define synthetic interrupt controller message format. */ 170 /* Define the synthetic interrupt message page layout. */
|
H A D | ioapic.c | 193 printf("%d iterations before interrupt received\n", i); in test_ioapic_edge_tmr_smp() 218 printf("%d iterations before interrupt received\n", i); in test_ioapic_level_tmr_smp() 317 report(g_isr_81 == 0, "masked level interrupt"); in test_ioapic_edge_mask() 323 report(g_isr_81 == 1, "unmasked level interrupt"); in test_ioapic_edge_mask() 344 report(g_isr_82 == 0, "masked level interrupt"); in test_ioapic_level_mask() 349 report(g_isr_82 == 1, "unmasked level interrupt"); in test_ioapic_level_mask()
|
H A D | svm_tests.c | 1006 report_fail("VMEXIT not due to pending interrupt. Exit reason 0x%x", in pending_event_finished() 1022 report_fail("Pending interrupt not dispatched after IRQ enabled\n"); in pending_event_finished() 1029 report_fail("Guest did not resume when no interrupt\n"); in pending_event_finished() 1077 * Now VINTR_MASKING=1, but no interrupt is pending so in pending_event_cli_test() 1106 report_fail("Interrupt triggered by guest"); in pending_event_cli_finished() 1113 report_fail("Interrupt not triggered by host"); in pending_event_cli_finished() 1163 "direct interrupt while running guest"); in interrupt_test() 1175 "intercepted interrupt while running guest"); in interrupt_test() 1186 report_svm_guest(timer_fired, test, "direct interrupt + hlt"); in interrupt_test() 1198 report_svm_guest(timer_fired, test, "intercepted interrupt + hlt"); in interrupt_test() [all …]
|
H A D | vmx_tests.c | 1597 report(timer_fired, "direct interrupt while running guest"); in interrupt_main() 1606 report(timer_fired, "intercepted interrupt while running guest"); in interrupt_main() 1619 "direct interrupt + hlt"); in interrupt_main() 1631 "intercepted interrupt + hlt"); in interrupt_main() 1644 "direct interrupt + activity state hlt"); in interrupt_main() 1657 "intercepted interrupt + activity state hlt"); in interrupt_main() 1668 "running a guest with interrupt acknowledgement set"); in interrupt_main() 3810 * - virtual-interrupt delivery 3851 …dow %s, virtualize x2APIC mode %s, APIC-register virtualization %s, virtual-interrupt delivery %s", in test_apic_virtual_ctls() 3906 * If the "virtual-interrupt delivery" VM-execution control is 1, the [all …]
|
/kvm-unit-tests/arm/ |
H A D | timer.c | 160 report_info("Unexpected interrupt: %d\n", irqnr); in irq_handler() 182 /* Wait for up to 1s for the GIC to sample the interrupt. */ in gic_timer_check_state() 253 "interrupt signal pending"); in test_timer_pending() 258 report(!info->irq_received, "no interrupt when timer is disabled"); in test_timer_pending() 260 "interrupt signal no longer pending"); in test_timer_pending() 265 "interrupt signal not pending"); in test_timer_pending() 273 report(info->irq_received, "interrupt received"); in test_timer_cval() 283 report_info("waiting for interrupt..."); in timer_do_wfi() 305 /* Wait one second for the GIC to update the interrupt state. */ in test_timer_tval() 316 report(info->irq_received, "interrupt received after TVAL/WFI"); in test_timer_tval()
|
H A D | pl031.c | 26 uint8_t imsc; /* Interrupt Mask Set or Clear register */ 30 uint8_t ris; /* Raw Interrupt Status */ 34 uint8_t mis; /* Masked Interrupt Status */ 38 uint8_t icr; /* Interrupt Clear Register */ 145 report_info("Unexpected interrupt: %"PRIu32"\n", irqnr); in irq_handler()
|
/kvm-unit-tests/lib/powerpc/ |
H A D | processor.c | 128 * of the hcall, returning with EE enabled. The dec interrupt in sleep_tb() 131 * If H_CEDE returned for any other interrupt than dec in sleep_tb() 132 * expiring, that is considered an unhandled interrupt and in sleep_tb() 185 /* Interrupt return handler will keep in_user clear */ in usermode_sc_handler()
|
/kvm-unit-tests/lib/x86/ |
H A D | intel-iommu.h | 46 #define DMAR_FEDATA_REG 0x3c /* Fault event interrupt data */ 47 #define DMAR_FEADDR_REG 0x40 /* Fault event interrupt addr */ 65 #define DMAR_IRTA_REG 0xb8 /* Interrupt remapping table addr */
|
/kvm-unit-tests/lib/riscv/asm/ |
H A D | csr.h | 22 /* Exception cause high bit - is an interrupt if set */ 45 /* Interrupt causes */
|
/kvm-unit-tests/lib/s390x/asm/ |
H A D | cmm.h | 7 #include <asm/interrupt.h>
|
/kvm-unit-tests/lib/ |
H A D | acpi.h | 80 u8 model; /* System Interrupt Model */ 82 u16 sci_int; /* System vector of SCI interrupt */ 164 /* 11: Generic interrupt - GICC (ACPI 5.0 + ACPI 6.0 + ACPI 6.3 changes) */ 261 u32 interrupt; member
|
/kvm-unit-tests/lib/ppc64/ |
H A D | stack.c | 38 /* Represent interrupt frame with vector number */ in arch_backtrace_frame()
|