Hello, kernel test robot noticed "kvm-unit-tests.vmx_apic_passthrough_tpr_threshold_test.fail" on: commit: 4cad9f87876a943d018ad73ec3919215fb756d2d ("KVM: x86: Wake vCPU for PIC interrupt injection iff a valid IRQ was found") https://git.kernel.org/cgit/linux/kernel/git/next/linux-next.git master in testcase: kvm-unit-tests version: kvm-unit-tests-x86_64-f77fb696-1_20250207 with following parameters: config: x86_64-rhel-9.4-func compiler: gcc-12 test machine: 4 threads 1 sockets Intel(R) Core(TM) i3-3220 CPU @ 3.30GHz (Ivy Bridge) with 8G memory (please refer to attached dmesg/kmsg for entire log/backtrace) If you fix the issue in a separate patch/commit (i.e. not just a new version of the same patch/commit), kindly add following tags | Reported-by: kernel test robot <oliver.sang@xxxxxxxxx> | Closes: https://lore.kernel.org/oe-lkp/202502271500.28201544-lkp@xxxxxxxxx The kernel config and materials to reproduce are available at: https://download.01.org/0day-ci/archive/20250227/202502271500.28201544-lkp@xxxxxxxxx [FAIL] vmx_apic_passthrough_tpr_threshold_test (6 tests, 1 unexpected failures) also attached a log -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki
timeout -k 1s --foreground 10 /usr/bin/qemu-system-x86_64 --no-reboot -nodefaults -device pc-testdev -device isa-debug-exit,iobase=0xf4,iosize=0x4 -vnc none -serial stdio -device pci-testdev -machine accel=kvm -kernel x86/vmx.flat -smp 1 -cpu max,+vmx -m 2048 -append vmx_apic_passthrough_tpr_threshold_test # -initrd /tmp/tmp.VfFmc6Myze enabling apic smp: waiting for 0 APs paging enabled cr0 = 80010011 cr3 = 107f000 cr4 = 20 filter = vmx_apic_passthrough_tpr_threshold_test, test = test_vmx_feature_control filter = vmx_apic_passthrough_tpr_threshold_test, test = test_vmxon filter = vmx_apic_passthrough_tpr_threshold_test, test = test_vmptrld filter = vmx_apic_passthrough_tpr_threshold_test, test = test_vmclear filter = vmx_apic_passthrough_tpr_threshold_test, test = test_vmptrst filter = vmx_apic_passthrough_tpr_threshold_test, test = test_vmwrite_vmread filter = vmx_apic_passthrough_tpr_threshold_test, test = test_vmcs_high filter = vmx_apic_passthrough_tpr_threshold_test, test = test_vmcs_lifecycle filter = vmx_apic_passthrough_tpr_threshold_test, test = test_vmx_caps filter = vmx_apic_passthrough_tpr_threshold_test, test = test_vmread_flags_touch filter = vmx_apic_passthrough_tpr_threshold_test, test = test_vmwrite_flags_touch filter = vmx_apic_passthrough_tpr_threshold_test, test = null filter = vmx_apic_passthrough_tpr_threshold_test, test = vmenter filter = vmx_apic_passthrough_tpr_threshold_test, test = preemption timer filter = vmx_apic_passthrough_tpr_threshold_test, test = control field PAT filter = vmx_apic_passthrough_tpr_threshold_test, test = control field EFER filter = vmx_apic_passthrough_tpr_threshold_test, test = CR shadowing filter = vmx_apic_passthrough_tpr_threshold_test, test = I/O bitmap filter = vmx_apic_passthrough_tpr_threshold_test, test = instruction intercept filter = vmx_apic_passthrough_tpr_threshold_test, test = EPT A/D disabled filter = vmx_apic_passthrough_tpr_threshold_test, test = EPT A/D enabled filter = vmx_apic_passthrough_tpr_threshold_test, test = PML filter = vmx_apic_passthrough_tpr_threshold_test, test = interrupt filter = vmx_apic_passthrough_tpr_threshold_test, test = nmi_hlt filter = vmx_apic_passthrough_tpr_threshold_test, test = debug controls filter = vmx_apic_passthrough_tpr_threshold_test, test = MSR switch filter = vmx_apic_passthrough_tpr_threshold_test, test = vmmcall filter = vmx_apic_passthrough_tpr_threshold_test, test = disable RDTSCP filter = vmx_apic_passthrough_tpr_threshold_test, test = exit_monitor_from_l2_test filter = vmx_apic_passthrough_tpr_threshold_test, test = invalid_msr filter = vmx_apic_passthrough_tpr_threshold_test, test = v2_null_test filter = vmx_apic_passthrough_tpr_threshold_test, test = v2_multiple_entries_test filter = vmx_apic_passthrough_tpr_threshold_test, test = fixture_test_case1 filter = vmx_apic_passthrough_tpr_threshold_test, test = fixture_test_case2 filter = vmx_apic_passthrough_tpr_threshold_test, test = invvpid_test filter = vmx_apic_passthrough_tpr_threshold_test, test = vmx_controls_test filter = vmx_apic_passthrough_tpr_threshold_test, test = vmx_host_state_area_test filter = vmx_apic_passthrough_tpr_threshold_test, test = vmx_guest_state_area_test filter = vmx_apic_passthrough_tpr_threshold_test, test = vmentry_movss_shadow_test filter = vmx_apic_passthrough_tpr_threshold_test, test = vmentry_unrestricted_guest_test filter = vmx_apic_passthrough_tpr_threshold_test, test = vmx_eoi_bitmap_ioapic_scan_test filter = vmx_apic_passthrough_tpr_threshold_test, test = vmx_hlt_with_rvi_test filter = vmx_apic_passthrough_tpr_threshold_test, test = apic_reg_virt_test filter = vmx_apic_passthrough_tpr_threshold_test, test = virt_x2apic_mode_test filter = vmx_apic_passthrough_tpr_threshold_test, test = vmx_basic_vid_test filter = vmx_apic_passthrough_tpr_threshold_test, test = vmx_eoi_virt_test filter = vmx_apic_passthrough_tpr_threshold_test, test = vmx_posted_interrupts_test filter = vmx_apic_passthrough_tpr_threshold_test, test = vmx_apic_passthrough_test filter = vmx_apic_passthrough_tpr_threshold_test, test = vmx_apic_passthrough_thread_test filter = vmx_apic_passthrough_tpr_threshold_test, test = vmx_apic_passthrough_tpr_threshold_test Test suite: vmx_apic_passthrough_tpr_threshold_test PASS: TPR was zero by guest FAIL: self-IPI fired PASS: vmx_apic_passthrough_tpr_threshold_test filter = vmx_apic_passthrough_tpr_threshold_test, test = vmx_init_signal_test filter = vmx_apic_passthrough_tpr_threshold_test, test = vmx_sipi_signal_test filter = vmx_apic_passthrough_tpr_threshold_test, test = vmx_vmcs_shadow_test filter = vmx_apic_passthrough_tpr_threshold_test, test = vmx_ldtr_test filter = vmx_apic_passthrough_tpr_threshold_test, test = vmx_cr_load_test filter = vmx_apic_passthrough_tpr_threshold_test, test = vmx_cr4_osxsave_test filter = vmx_apic_passthrough_tpr_threshold_test, test = vmx_no_nm_test filter = vmx_apic_passthrough_tpr_threshold_test, test = vmx_db_test filter = vmx_apic_passthrough_tpr_threshold_test, test = vmx_nmi_window_test filter = vmx_apic_passthrough_tpr_threshold_test, test = vmx_intr_window_test filter = vmx_apic_passthrough_tpr_threshold_test, test = vmx_pending_event_test filter = vmx_apic_passthrough_tpr_threshold_test, test = vmx_pending_event_hlt_test filter = vmx_apic_passthrough_tpr_threshold_test, test = vmx_store_tsc_test filter = vmx_apic_passthrough_tpr_threshold_test, test = vmx_preemption_timer_zero_test filter = vmx_apic_passthrough_tpr_threshold_test, test = vmx_preemption_timer_tf_test filter = vmx_apic_passthrough_tpr_threshold_test, test = vmx_preemption_timer_expiry_test filter = vmx_apic_passthrough_tpr_threshold_test, test = ept_access_test_not_present filter = vmx_apic_passthrough_tpr_threshold_test, test = ept_access_test_read_only filter = vmx_apic_passthrough_tpr_threshold_test, test = ept_access_test_write_only filter = vmx_apic_passthrough_tpr_threshold_test, test = ept_access_test_read_write filter = vmx_apic_passthrough_tpr_threshold_test, test = ept_access_test_execute_only filter = vmx_apic_passthrough_tpr_threshold_test, test = ept_access_test_read_execute filter = vmx_apic_passthrough_tpr_threshold_test, test = ept_access_test_write_execute filter = vmx_apic_passthrough_tpr_threshold_test, test = ept_access_test_read_write_execute filter = vmx_apic_passthrough_tpr_threshold_test, test = ept_access_test_reserved_bits filter = vmx_apic_passthrough_tpr_threshold_test, test = ept_access_test_ignored_bits filter = vmx_apic_passthrough_tpr_threshold_test, test = ept_access_test_paddr_not_present_ad_disabled filter = vmx_apic_passthrough_tpr_threshold_test, test = ept_access_test_paddr_not_present_ad_enabled filter = vmx_apic_passthrough_tpr_threshold_test, test = ept_access_test_paddr_read_only_ad_disabled filter = vmx_apic_passthrough_tpr_threshold_test, test = ept_access_test_paddr_read_only_ad_enabled filter = vmx_apic_passthrough_tpr_threshold_test, test = ept_access_test_paddr_read_write filter = vmx_apic_passthrough_tpr_threshold_test, test = ept_access_test_paddr_read_write_execute filter = vmx_apic_passthrough_tpr_threshold_test, test = ept_access_test_paddr_read_execute_ad_disabled filter = vmx_apic_passthrough_tpr_threshold_test, test = ept_access_test_paddr_read_execute_ad_enabled filter = vmx_apic_passthrough_tpr_threshold_test, test = ept_access_test_paddr_not_present_page_fault filter = vmx_apic_passthrough_tpr_threshold_test, test = ept_access_test_force_2m_page filter = vmx_apic_passthrough_tpr_threshold_test, test = atomic_switch_max_msrs_test filter = vmx_apic_passthrough_tpr_threshold_test, test = atomic_switch_overflow_msrs_test filter = vmx_apic_passthrough_tpr_threshold_test, test = rdtsc_vmexit_diff_test filter = vmx_apic_passthrough_tpr_threshold_test, test = vmx_mtf_test filter = vmx_apic_passthrough_tpr_threshold_test, test = vmx_mtf_pdpte_test filter = vmx_apic_passthrough_tpr_threshold_test, test = vmx_pf_exception_test filter = vmx_apic_passthrough_tpr_threshold_test, test = vmx_pf_exception_forced_emulation_test filter = vmx_apic_passthrough_tpr_threshold_test, test = vmx_pf_no_vpid_test filter = vmx_apic_passthrough_tpr_threshold_test, test = vmx_pf_invvpid_test filter = vmx_apic_passthrough_tpr_threshold_test, test = vmx_pf_vpid_test filter = vmx_apic_passthrough_tpr_threshold_test, test = vmx_exception_test SUMMARY: 6 tests, 1 unexpected failures