mbox series

[kvm-unit-tests,0/8] x86: non-KVM improvements

Message ID 20210609182945.36849-1-nadav.amit@gmail.com (mailing list archive)
Headers show
Series x86: non-KVM improvements | expand

Message

Nadav Amit June 9, 2021, 6:29 p.m. UTC
From: Nadav Amit <nadav.amit@gmail.com>

This set includes various fixes and improvements, mostly for non-KVM
environments.

The purpose of the patches are: easier to parse test results, skipping
tests that are unsupported and few fixes to tests.

Nadav Amit (8):
  lib/x86: report result through serial console when no test device
  x86/tsx-ctrl: report skipping tests correctly
  x86/smptest: handle non-consecutive APIC IDs
  x86/hypercall: enable the test on non-KVM environment
  x86/hyperv: skip hyperv-clock test if unsupported by host
  x86/syscall: skip TF-test if running neither on KVM nor AMD
  x86/pmu: Skip the tests on PMU version 1
  x86/vmx: skip error-code delivery tests for #CP

 lib/x86/io.c        |  3 +++
 lib/x86/processor.h |  9 +++++++++
 x86/hypercall.c     | 31 +++++++++++++++++++++++--------
 x86/hyperv_clock.c  |  5 +++++
 x86/pmu.c           |  6 ++++++
 x86/realmode.c      |  5 +++++
 x86/smptest.c       |  3 ++-
 x86/syscall.c       |  7 ++++++-
 x86/tsx-ctrl.c      |  6 +++---
 x86/vmx_tests.c     |  3 +++
 10 files changed, 65 insertions(+), 13 deletions(-)

Comments

Paolo Bonzini June 10, 2021, 12:30 p.m. UTC | #1
On Wed, 9 Jun 2021 18:29:37 +0000, Nadav Amit wrote:
> This set includes various fixes and improvements, mostly for non-KVM
> environments.
> 
> The purpose of the patches are: easier to parse test results, skipping
> tests that are unsupported and few fixes to tests.
> 
> Nadav Amit (8):
>   lib/x86: report result through serial console when no test device
>   x86/tsx-ctrl: report skipping tests correctly
>   x86/smptest: handle non-consecutive APIC IDs
>   x86/hypercall: enable the test on non-KVM environment
>   x86/hyperv: skip hyperv-clock test if unsupported by host
>   x86/syscall: skip TF-test if running neither on KVM nor AMD
>   x86/pmu: Skip the tests on PMU version 1
>   x86/vmx: skip error-code delivery tests for #CP
> 
> [...]

Applied, thanks!

[1/8] lib/x86: report result through serial console when no test device
      commit: 5747945371b47c51cb16187a26111d06f58f06b2
[2/8] x86/tsx-ctrl: report skipping tests correctly
      commit: c8312cbd25df6bf350a9654b6c0364b213ba406c
[3/8] x86/smptest: handle non-consecutive APIC IDs
      commit: 90ab30c22dbb18b6d9804421ef3f160cfef031b8
[4/8] x86/hypercall: enable the test on non-KVM environment
      commit: 22abdd3999b7c17ba976d31706852b92fb45cd5a
[5/8] x86/hyperv: skip hyperv-clock test if unsupported by host
      commit: 5067df40755d6f3a3363c99a1054b6de21a556e1
[6/8] x86/syscall: skip TF-test if running neither on KVM nor AMD
      commit: c1e64e2fe08cecc9dcac5b2f72488c74c5134d34
[7/8] x86/pmu: Skip the tests on PMU version 1
      commit: 70972e212ee4af14b603131fc27c67a0cf29d458
[8/8] x86/vmx: skip error-code delivery tests for #CP
      commit: c986dbe8670535e4f88871b1e8b8480bdc256ded

Best regards,