Skip to content

x86: hyperv_stimer: test direct mode

Vitaly Kuznetsov kvm 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v2 Latest4 patches 1 replyIn review

Changes in v2 from the cover letter

- Minor cosmetic changes. v1 was sent in October, 2019 and I completely forgot about it. Time to dust it off!

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4x86: hyperv_stimer: keep SINT number parameter in 'struct stimer'x86/hyperv_stimer.c+19 -90 replies
2/4x86: hyperv_stimer: define union hv_stimer_configx86/hyperv.h x86/hyperv_stimer.c+25 -180 replies
3/4x86: hyperv_stimer: don't require hyperv-testdevx86/unittests.cfg+1 -10 replies
4/4x86: hyperv_stimer: add direct mode testsx86/hyperv.h x86/hyperv_stimer.c x86/unittests.cfg+115 -140 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH kvm-unit-tests v2 0/4] x86: hyperv_stimer: test direct mode

Changes since v1:
- Minor cosmetic changes. v1 was sent in October, 2019 and I completely forgot about it. Time to dust it off!

Original description:

Testing 'direct' mode requires us to add 'hv_stimer_direct' CPU flag to QEMU, create a new entry in unittests.cfg to not lose the ability to test stimers in 'VMbus message' mode.

Vitaly Kuznetsov (4):
x86: hyperv_stimer: keep SINT number parameter in 'struct stimer'
x86: hyperv_stimer: define union hv_stimer_config
x86: hyperv_stimer: don't require hyperv-testdev
x86: hyperv_stimer: add direct mode tests

 x86/hyperv.h        |  29 ++++++--
 x86/hyperv_stimer.c | 159 +++++++++++++++++++++++++++++++++++---------
 x86/unittests.cfg   |   8 ++-
 3 files changed, 157 insertions(+), 39 deletions(-)
Signature · 1 line
2.29.2