qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [kvm-unit-tests PATCH v5 00/11] My current MTTCG tests
@ 2015-07-31 15:53 Alex Bennée
  2015-07-31 15:53 ` [Qemu-devel] [kvm-unit-tests PATCH v5 01/11] arm/run: set indentation defaults for emacs Alex Bennée
                   ` (11 more replies)
  0 siblings, 12 replies; 28+ messages in thread
From: Alex Bennée @ 2015-07-31 15:53 UTC (permalink / raw)
  To: mttcg, mark.burton, fred.konrad
  Cc: peter.maydell, drjones, kvm, a.spyridakis, claudio.fontana,
	a.rigo, qemu-devel, Alex Bennée

Hi,

This is the current state of my MTTCG tests based on the KVM's unit
testing framework. The earlier patches in the series have already been
reviewed and will (with the exception of the emacs patch) be making
their way upstream.

There are a couple of addition to library functions:
  - printf %u suppport
  - flush_tlb_page for arm and arm64
  - a generic prng from CCAN

The two actual tests are:
  - tlbflush-test
  - barrier-test

The latter barrier test hangs the current -v6 MTTCG patch set in both
"excl" and "acqrel" modes and will make a good torture test for
Alvise's atomic patch set. I suspect the load/store ordering issues
will show up better once tested on a weak-ordered backend. I'm open to
suggestions for other tests worth adding to show up the issues.

The github tree can be found at:

https://github.com/stsquad/kvm-unit-tests/tree/current-mttcg-tests


Alex Bennée (11):
  arm/run: set indentation defaults for emacs
  README: add some CONTRIBUTING notes
  configure: emit HOST=$host to config.mak
  arm/run: introduce usingkvm var and use it
  lib/printf: support the %u unsigned fmt field
  lib/arm: add flush_tlb_page mmu function
  new arm/tlbflush-test: TLB torture test
  arm/unittests.cfg: add the tlbflush tests
  arm: query /dev/kvm for maximum vcpus
  new: add isaac prng library from CCAN
  new: arm/barrier-test for memory barriers

 README                       |  26 ++++++
 arm/barrier-test.c           | 206 +++++++++++++++++++++++++++++++++++++++++++
 arm/run                      |  19 +++-
 arm/tlbflush-test.c          | 194 ++++++++++++++++++++++++++++++++++++++++
 arm/unittests.cfg            |  26 +++++-
 arm/utils/kvm-query.c        |  41 +++++++++
 config/config-arm-common.mak |  18 +++-
 configure                    |   2 +
 lib/arm/asm/mmu.h            |  11 +++
 lib/arm64/asm/mmu.h          |   8 ++
 lib/printf.c                 |  13 +++
 lib/prng.c                   | 162 ++++++++++++++++++++++++++++++++++
 lib/prng.h                   |  82 +++++++++++++++++
 13 files changed, 801 insertions(+), 7 deletions(-)
 create mode 100644 arm/barrier-test.c
 create mode 100644 arm/tlbflush-test.c
 create mode 100644 arm/utils/kvm-query.c
 create mode 100644 lib/prng.c
 create mode 100644 lib/prng.h

-- 
2.5.0

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

end of thread, other threads:[~2015-08-04  7:30 UTC | newest]

Thread overview: 28+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-07-31 15:53 [Qemu-devel] [kvm-unit-tests PATCH v5 00/11] My current MTTCG tests Alex Bennée
2015-07-31 15:53 ` [Qemu-devel] [kvm-unit-tests PATCH v5 01/11] arm/run: set indentation defaults for emacs Alex Bennée
2015-07-31 15:53 ` [Qemu-devel] [kvm-unit-tests PATCH v5 02/11] README: add some CONTRIBUTING notes Alex Bennée
2015-07-31 15:53 ` [Qemu-devel] [kvm-unit-tests PATCH v5 03/11] configure: emit HOST=$host to config.mak Alex Bennée
2015-07-31 15:53 ` [Qemu-devel] [kvm-unit-tests PATCH v5 04/11] arm/run: introduce usingkvm var and use it Alex Bennée
2015-08-02 16:36   ` Andrew Jones
2015-07-31 15:53 ` [Qemu-devel] [kvm-unit-tests PATCH v5 05/11] lib/printf: support the %u unsigned fmt field Alex Bennée
2015-07-31 18:25   ` Andrew Jones
2015-07-31 15:53 ` [Qemu-devel] [kvm-unit-tests PATCH v5 06/11] lib/arm: add flush_tlb_page mmu function Alex Bennée
2015-07-31 18:35   ` Andrew Jones
2015-07-31 15:53 ` [Qemu-devel] [kvm-unit-tests PATCH v5 07/11] new arm/tlbflush-test: TLB torture test Alex Bennée
2015-07-31 18:51   ` Andrew Jones
2015-07-31 15:53 ` [Qemu-devel] [kvm-unit-tests PATCH v5 08/11] arm/unittests.cfg: add the tlbflush tests Alex Bennée
2015-07-31 18:53   ` Andrew Jones
2015-07-31 15:53 ` [Qemu-devel] [kvm-unit-tests PATCH v5 09/11] arm: query /dev/kvm for maximum vcpus Alex Bennée
2015-07-31 19:17   ` Andrew Jones
2015-08-02 16:40     ` Andrew Jones
2015-07-31 15:54 ` [Qemu-devel] [kvm-unit-tests PATCH v5 10/11] new: add isaac prng library from CCAN Alex Bennée
2015-07-31 19:22   ` Andrew Jones
2015-07-31 15:54 ` [Qemu-devel] [kvm-unit-tests PATCH v5 11/11] new: arm/barrier-test for memory barriers Alex Bennée
2015-07-31 19:30   ` Andrew Jones
2015-08-03 10:02   ` alvise rigo
2015-08-03 10:30     ` Alex Bennée
2015-08-03 10:34       ` alvise rigo
2015-08-03 16:06         ` Alex Bennée
2015-08-03 16:46           ` alvise rigo
2015-08-04  7:30             ` Alex Bennée
2015-08-02 16:44 ` [Qemu-devel] [kvm-unit-tests PATCH v5 00/11] My current MTTCG tests Andrew Jones

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).