kvm.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [kvm-unit-tests PATCH] x86: Delete split IRQ chip variants of apic and ioapic tests
@ 2025-06-04  0:08 Sean Christopherson
  2025-06-10 19:42 ` Sean Christopherson
  2025-06-11 15:33 ` Naveen N Rao
  0 siblings, 2 replies; 3+ messages in thread
From: Sean Christopherson @ 2025-06-04  0:08 UTC (permalink / raw)
  To: Paolo Bonzini; +Cc: kvm, Naveen N Rao, Sean Christopherson

Remove the dedicated {io,}apic-split testcases and instead rely on users
to run KVM-Unit-Tests with ACCEL="kvm,kernel_irqchip=split" to provide the
desired coverage.

While providing more coverage by "default" is nice, the flip side of doing
so is that makes it annoying for an end user to do more, and gives the
false impression that the configurations in unittests.cfg are the only
configurations worth testing.

E.g. with kernel_irqchip=split, svm_npt fails on x2AVIC hardware due to
test bugs, hyperv_connections fails due to what is effectively a QEMU bug
that also got hoisted into KVM], and vmx_apic_passthrough_tpr_threshold_test
fails (with some KVM versions) due to a KVM bug that happened to be masked
by another KVM bug with the in-kernel PIT emulation.

Link: https://lore.kernel.org/all/Z8ZBzEJ7--VWKdWd@google.com
Link: https://lore.kernel.org/all/202502271500.28201544-lkp@intel.com
Link: https://lore.kernel.org/all/20250304211223.124321-1-seanjc@google.com
Cc: Naveen N Rao <naveen@kernel.org>
Signed-off-by: Sean Christopherson <seanjc@google.com>
---
 x86/unittests.cfg | 13 -------------
 1 file changed, 13 deletions(-)

diff --git a/x86/unittests.cfg b/x86/unittests.cfg
index 6e69c50b..4f06a59f 100644
--- a/x86/unittests.cfg
+++ b/x86/unittests.cfg
@@ -7,19 +7,6 @@
 # arch = i386|x86_64
 ##############################################################################
 
-[apic-split]
-file = apic.flat
-smp = 2
-extra_params = -cpu qemu64,+x2apic,+tsc-deadline -machine kernel_irqchip=split
-arch = x86_64
-groups = apic
-
-[ioapic-split]
-file = ioapic.flat
-extra_params = -cpu qemu64 -machine kernel_irqchip=split
-arch = x86_64
-groups = apic
-
 [x2apic]
 file = apic.flat
 smp = 2

base-commit: 72d110d8286baf1b355301cc8c8bdb42be2663fb
-- 
2.49.0.1204.g71687c7c1d-goog


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [kvm-unit-tests PATCH] x86: Delete split IRQ chip variants of apic and ioapic tests
  2025-06-04  0:08 [kvm-unit-tests PATCH] x86: Delete split IRQ chip variants of apic and ioapic tests Sean Christopherson
@ 2025-06-10 19:42 ` Sean Christopherson
  2025-06-11 15:33 ` Naveen N Rao
  1 sibling, 0 replies; 3+ messages in thread
From: Sean Christopherson @ 2025-06-10 19:42 UTC (permalink / raw)
  To: Sean Christopherson, Paolo Bonzini; +Cc: kvm, Naveen N Rao

On Tue, 03 Jun 2025 17:08:12 -0700, Sean Christopherson wrote:
> Remove the dedicated {io,}apic-split testcases and instead rely on users
> to run KVM-Unit-Tests with ACCEL="kvm,kernel_irqchip=split" to provide the
> desired coverage.
> 
> While providing more coverage by "default" is nice, the flip side of doing
> so is that makes it annoying for an end user to do more, and gives the
> false impression that the configurations in unittests.cfg are the only
> configurations worth testing.
> 
> [...]

Applied to kvm-x86 next, thanks!

[1/1] x86: Delete split IRQ chip variants of apic and ioapic tests
      https://github.com/kvm-x86/kvm-unit-tests/commit/0293b912a7e7

--
https://github.com/kvm-x86/kvm-unit-tests/tree/next

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [kvm-unit-tests PATCH] x86: Delete split IRQ chip variants of apic and ioapic tests
  2025-06-04  0:08 [kvm-unit-tests PATCH] x86: Delete split IRQ chip variants of apic and ioapic tests Sean Christopherson
  2025-06-10 19:42 ` Sean Christopherson
@ 2025-06-11 15:33 ` Naveen N Rao
  1 sibling, 0 replies; 3+ messages in thread
From: Naveen N Rao @ 2025-06-11 15:33 UTC (permalink / raw)
  To: Sean Christopherson; +Cc: Paolo Bonzini, kvm

On Tue, Jun 03, 2025 at 05:08:12PM -0700, Sean Christopherson wrote:
> Remove the dedicated {io,}apic-split testcases and instead rely on users
> to run KVM-Unit-Tests with ACCEL="kvm,kernel_irqchip=split" to provide the
> desired coverage.
> 
> While providing more coverage by "default" is nice, the flip side of doing
> so is that makes it annoying for an end user to do more, and gives the
> false impression that the configurations in unittests.cfg are the only
> configurations worth testing.

Got it, thanks for the patch!

> 
> E.g. with kernel_irqchip=split, svm_npt fails on x2AVIC hardware due to
> test bugs, hyperv_connections fails due to what is effectively a QEMU bug
> that also got hoisted into KVM], and vmx_apic_passthrough_tpr_threshold_test
> fails (with some KVM versions) due to a KVM bug that happened to be masked
> by another KVM bug with the in-kernel PIT emulation.
> 
> Link: https://lore.kernel.org/all/Z8ZBzEJ7--VWKdWd@google.com
> Link: https://lore.kernel.org/all/202502271500.28201544-lkp@intel.com
> Link: https://lore.kernel.org/all/20250304211223.124321-1-seanjc@google.com
> Cc: Naveen N Rao <naveen@kernel.org>
> Signed-off-by: Sean Christopherson <seanjc@google.com>
> ---
>  x86/unittests.cfg | 13 -------------
>  1 file changed, 13 deletions(-)

I know you have pulled this already, but FWIW:
Acked-by: Naveen N Rao (AMD) <naveen@kernel.org>


- Naveen


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2025-06-11 15:34 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-06-04  0:08 [kvm-unit-tests PATCH] x86: Delete split IRQ chip variants of apic and ioapic tests Sean Christopherson
2025-06-10 19:42 ` Sean Christopherson
2025-06-11 15:33 ` Naveen N Rao

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).