From mboxrd@z Thu Jan 1 00:00:00 1970 From: Christoffer Dall Subject: Re: arm: kvm-selftest Date: Wed, 31 Jul 2013 15:36:42 -0700 Message-ID: <20130731223642.GI6722@cbox> References: <1121209520.10701906.1375308283364.JavaMail.root@redhat.com> <676094686.10703711.1375309297142.JavaMail.root@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: kvm@vger.kernel.org, kvmarm@lists.cs.columbia.edu To: Andrew Jones Return-path: Received: from mail-pa0-f49.google.com ([209.85.220.49]:46080 "EHLO mail-pa0-f49.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753740Ab3GaWg5 (ORCPT ); Wed, 31 Jul 2013 18:36:57 -0400 Received: by mail-pa0-f49.google.com with SMTP id bi5so1398375pad.22 for ; Wed, 31 Jul 2013 15:36:56 -0700 (PDT) Content-Disposition: inline In-Reply-To: <676094686.10703711.1375309297142.JavaMail.root@redhat.com> Sender: kvm-owner@vger.kernel.org List-ID: On Wed, Jul 31, 2013 at 06:21:37PM -0400, Andrew Jones wrote: > Hi Christoffer, > > I'm just confirming that I found the right repo/branch for the > most recent kvmarm unit tests. I'm looking at > > github.com/virtualopensystems/linux-kvm-arm kvm-selftest > > with last commit > > commit b5aec35ee58c6b2d726a3e2fb56ec0e6e89976e0 > Author: Christoffer Dall > Date: Fri Feb 15 18:37:24 2013 -0500 > > WIP: These settings are useful for some more profiling > > This really needs to be cleaned up and stuff, but the whole > testing here has bit-rotted and should be picked up by someone. > > I know.... > > Signed-off-by: Christoffer Dall > > If this is the most recent branch, then I guess I'll volunteer > myself to be the someone to pick it up and see about integrating > it into kvm-unit-tests. > Hi Drew, Yes, this is the right repo and the latest commit. You may in fact benefit from looking at a slightly earlier state of the repo which may be a bit more clean. There may also be some newer commits in some *-selftest*-named branches in https://github.com/columbia/linux-kvm-arm. At least, at some point I added a test that measures IPI cost similarly to what was done on x86. Note that the simple VMEXIT count probably doesn't work out-of-the-box, because reading the cycle counter on ARM requires access to the PMU registers, which are current trapped and RAZ. I haven't looked closely at the provisions in the ARM ARM and the TRMs to see if there's some way we can allow the guest access to these. Otherwise a PV interface may be necessary. Will Deacon can probably help us answer these questions. -Christoffer