qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [RFC 00/11] Current MTTCG kvm-unit-test patches


From: Andrew Jones
Subject: Re: [Qemu-devel] [RFC 00/11] Current MTTCG kvm-unit-test patches
Date: Thu, 28 Apr 2016 20:44:22 +0200
User-agent: Mutt/1.5.23.1 (2014-03-12)

On Wed, Apr 27, 2016 at 05:26:16PM +0200, Andrew Jones wrote:
> On Wed, Apr 27, 2016 at 04:09:00PM +0100, Alex Bennée wrote:
> > 
> > Andrew Jones <address@hidden> writes:
> > 
> > > On Fri, Feb 26, 2016 at 01:15:22PM +0000, Alex Bennée wrote:
> > >> 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
> > >
> > > I've actually updated these patches a bit, and started extending the
> > > series to also work with a v3 gic. I'll pick that back up and get it
> > > posted for you (hopefully next week). Or I'll at least update my
> > > arm/ipi-test branch with the changes I've made for gicv2...
> > 
> > I'm getting ready to post the current iteration and I realised I hadn't
> > seen your updates. Have they gone public anywhere?
> 
> Sorry. I didn't finish polishing the gicv3 stuff so didn't end up
> sending anything. I'll send something tomorrow (same story as last time,
> if not gicv3 stuff, at least updated gicv2 :-)

I didn't find enough time to play with gicv3 today, but I considered
it in the framework (added some stub functions). New branch is here[*].
I hope to add the gicv3 functionality and post soon.

[*] https://github.com/rhdrjones/kvm-unit-tests/commits/arm/ipi-test-new

Thanks,
drew



reply via email to

[Prev in Thread] Current Thread [Next in Thread]