All of lore.kernel.org
 help / color / mirror / Atom feed
* [Qemu-devel] [RFC 00/11] Current MTTCG kvm-unit-test patches
@ 2016-02-26 13:15 Alex Bennée
  2016-02-26 13:15 ` [Qemu-devel] [RFC 01/11] config/config-arm-common: build-up tests-common target Alex Bennée
                   ` (11 more replies)
  0 siblings, 12 replies; 23+ messages in thread
From: Alex Bennée @ 2016-02-26 13:15 UTC (permalink / raw)
  To: mttcg, mark.burton, fred.konrad, a.rigo
  Cc: peter.maydell, drjones, a.spyridakis, claudio.fontana,
	qemu-devel, will.deacon, crosthwaitepeter, pbonzini,
	Alex Bennée, aurelien, rth

Hi,

Some of these patches have been posted before and previous patches
have already been accepted upstream so I'm tagging this as a new RFC
series.

This is a series of tests built around kvm-unit-tests but built with
the express purpose of stressing the TCG, in particular MTTCG builds.

Changes from previous appearances:

 * Separated locking and barrier tests
 * Included Drew's IPI patches (used in tcg-test)
 * New TCG chaining test

The new barrier tests really only fails when running on MTTCG builds on
a weak backend. Many thanks to Will Deacon for helping me get a
working test case at the last Connect.

I'm mainly posting these for reference for others testing MTTCG as
I've still got to check I've addressed any outstanding review
comments. However there has been enough code churn some of the
comments may no longer be relevant.

The TCG tests are also useful as benchmarks for comparing the cost of
having chained basic blocks versus exiting the loop every time. The
pathological case is the computed jumps test as all the addresses are
within a PAGE_SIZE boundary the tb_jump_cache has no effect meaning a
full look up each time.

Alex Bennée (8):
  config/config-arm-common: build-up tests-common target
  lib: add isaac prng library from CCAN
  arm/run: set indentation defaults for emacs
  arm/run: allow aarch64 to start arm binaries
  arm/tlbflush-test: Add TLB torture test
  arm/locking-tests: add comprehensive locking test
  arm/barrier-litmus-tests: add some litmus tests
  arm/tcg-test: some basic TCG exercising tests

Andrew Jones (3):
  arm/arm64: irq enable/disable
  arm/arm64: Add initial gic support
  arm/arm64: Add IPI test

 arm/barrier-litmus-test.c    | 258 ++++++++++++++++++++++++++++++++++++
 arm/ipi-test.c               |  58 +++++++++
 arm/locking-test.c           | 302 +++++++++++++++++++++++++++++++++++++++++++
 arm/run                      |  11 +-
 arm/tcg-test-asm.S           | 170 ++++++++++++++++++++++++
 arm/tcg-test.c               | 248 +++++++++++++++++++++++++++++++++++
 arm/tlbflush-test.c          | 194 +++++++++++++++++++++++++++
 arm/unittests.cfg            | 170 ++++++++++++++++++++++++
 config/config-arm-common.mak |  16 ++-
 lib/arm/asm/barrier.h        |  63 ++++++++-
 lib/arm/asm/gic.h            | 122 +++++++++++++++++
 lib/arm/asm/processor.h      |  10 ++
 lib/arm/io.c                 |  31 +++++
 lib/arm64/asm/barrier.h      |  50 +++++++
 lib/arm64/asm/gic.h          |   1 +
 lib/arm64/asm/processor.h    |  10 ++
 lib/prng.c                   | 162 +++++++++++++++++++++++
 lib/prng.h                   |  82 ++++++++++++
 18 files changed, 1953 insertions(+), 5 deletions(-)
 create mode 100644 arm/barrier-litmus-test.c
 create mode 100644 arm/ipi-test.c
 create mode 100644 arm/locking-test.c
 create mode 100644 arm/tcg-test-asm.S
 create mode 100644 arm/tcg-test.c
 create mode 100644 arm/tlbflush-test.c
 create mode 100644 lib/arm/asm/gic.h
 create mode 100644 lib/arm64/asm/gic.h
 create mode 100644 lib/prng.c
 create mode 100644 lib/prng.h

-- 
2.7.1

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

end of thread, other threads:[~2016-04-28 18:44 UTC | newest]

Thread overview: 23+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-02-26 13:15 [Qemu-devel] [RFC 00/11] Current MTTCG kvm-unit-test patches Alex Bennée
2016-02-26 13:15 ` [Qemu-devel] [RFC 01/11] config/config-arm-common: build-up tests-common target Alex Bennée
2016-02-26 14:04   ` Andrew Jones
2016-02-26 14:16     ` Alex Bennée
2016-02-26 13:15 ` [Qemu-devel] [RFC 02/11] arm/arm64: irq enable/disable Alex Bennée
2016-02-26 13:15 ` [Qemu-devel] [RFC 03/11] arm/arm64: Add initial gic support Alex Bennée
2016-02-26 13:15 ` [Qemu-devel] [RFC 04/11] arm/arm64: Add IPI test Alex Bennée
2016-02-26 13:15 ` [Qemu-devel] [RFC 05/11] lib: add isaac prng library from CCAN Alex Bennée
2016-02-26 13:15 ` [Qemu-devel] [RFC 06/11] arm/run: set indentation defaults for emacs Alex Bennée
2016-02-26 13:15 ` [Qemu-devel] [RFC 07/11] arm/run: allow aarch64 to start arm binaries Alex Bennée
2016-02-26 14:02   ` Andrew Jones
2016-02-26 14:19     ` Alex Bennée
2016-02-26 13:15 ` [Qemu-devel] [RFC 08/11] arm/tlbflush-test: Add TLB torture test Alex Bennée
2016-02-26 13:15 ` [Qemu-devel] [RFC 09/11] arm/locking-tests: add comprehensive locking test Alex Bennée
2016-02-26 13:15 ` [Qemu-devel] [RFC 10/11] arm/barrier-litmus-tests: add some litmus tests Alex Bennée
2016-02-26 13:15 ` [Qemu-devel] [RFC 11/11] arm/tcg-test: some basic TCG exercising tests Alex Bennée
2016-02-26 14:12 ` [Qemu-devel] [RFC 00/11] Current MTTCG kvm-unit-test patches Andrew Jones
2016-02-26 14:54   ` Alex Bennée
2016-02-26 15:22     ` Andrew Jones
2016-02-26 16:03       ` Alex Bennée
2016-04-27 15:09   ` Alex Bennée
2016-04-27 15:26     ` Andrew Jones
2016-04-28 18:44       ` Andrew Jones

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.